Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Mark the partition for EFI purposes:
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Zelt
n00b
n00b


Joined: 07 Jul 2014
Posts: 72

PostPosted: Tue Sep 16, 2014 1:54 pm    Post subject: [SOLVED] Mark the partition for EFI purposes: Reply with quote

I am at position Creating the BIOS Boot Partition in the handbook - https://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=4

I have set my BIOS to Legacy mode and am planning to install this way with MBR.

The guide states

Quote:

Code Listing 4.6: Creating the BIOS boot partition
n
p
Partition number (1-4): 1
First sector (64-10486533532, default 64): 2048
Last sector, +sectors +size{M,K,G} (4096-10486533532, default 10486533532): +2M

Mark the partition for EFI purposes:

Code Listing 4.7: Marking the partition for EFI purposes

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): ef
Changed system type of partition 1 to ef (EFI (FAT-12/16/32))


As I am in Legacy mode, do I need to mark the partition for EFI purposes? I assume EFI has something to do with UEFI which I am not using.

Regards
_________________
k.


Last edited by Zelt on Sat Sep 20, 2014 3:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Tue Sep 16, 2014 2:17 pm    Post subject: Reply with quote

If you are using a standard MBR style disk layout, you just need to flag your boot partition as bootable using fdisk. This of course assumes you are using the legacy tools and not the g* versions.
Back to top
View user's profile Send private message
Zelt
n00b
n00b


Joined: 07 Jul 2014
Posts: 72

PostPosted: Tue Sep 16, 2014 6:55 pm    Post subject: Reply with quote

RazielFMX wrote:
If you are using a standard MBR style disk layout, you just need to flag your boot partition as bootable using fdisk. This of course assumes you are using the legacy tools and not the g* versions.


Running

fdisk -l
Quote:

...
Disklabel type: dos
Disk identifier: 0x7cb3824c

Device Boot Start End Blocks Id System
/dev/sda1 2048 6143 2048 83 Linux
/dev/sda2 * 6144 268287 131072 83 Linux
/dev/sda4 268288 3907029167 1953380440 83 Linux




In the gentoo handbook it states

We need to make this partition bootable. Type a to toggle the bootable flag on a partition and select 2. If you press p again, you will notice that an * is placed in the "Boot" column.

Which is what I done which now shows * in the fdisk, is this what you refer to? I ask as I do not know what legacy tools and the g* versions are.

Regards
_________________
k.
Back to top
View user's profile Send private message
hololeap
n00b
n00b


Joined: 05 Oct 2013
Posts: 29

PostPosted: Fri Sep 19, 2014 8:09 am    Post subject: Reply with quote

You should be done with that step. The output looks good. RazielFMX just meant that you need to use fdisk, which is legacy, instead of gdisk which supports GPT partitions.
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Fri Sep 19, 2014 12:49 pm    Post subject: Reply with quote

Thanks hololeap! I thought I had responded but apparently never hit submit.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum