On Wednesday 20 May 2015 13:55:27 Neil Bothwick wrote:
> On Wed, 20 May 2015 08:21:34 -0400, [email protected] wrote:
> > > If you want to be able to use UEFI, you need to use GPT. UEFI needs a
> > > FAT partition at the start of the drive, type FE00, but booting a GPT
> > > disk with MBR requires a small BIOS boot partition, type EF02, at the
> > > start of the drive (mine is 1MB).
> > > 
> > > For ease of switching to UEFI later, I'd do
> > > 
> > > sda1 1MB BIOS boot, type EF00
> > > sda2 /boot, type 8300
> > > everything else.
> > > 
> > > You can make sda2 ext2, then, when it is time to switch, simply backup
> > > the contents of /boot, replace sda1 and sda2 with a single EF00
> > > partition, formatted with FAT, and copy the contents of /boot back.
> > 
> > Thanks, does the 1mb partition have to have anything in it?
> 
> No. If doesn't even need a filesystem, just create the partition with the
> correct type and GRUB will work.

From what I recall gdisk just starts at sector 2048, doesn't this leave space 
for MBR code?  Note the message "MBR: protective" below:

# gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.10

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): p
Disk /dev/sda: 468862128 sectors, 223.6 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): E682BFC8-0C85-459B-BA14-87F4E68CD711
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 468862094
Partitions will be aligned on 2048-sector boundaries
Total free space is 27368557 sectors (13.1 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         1093631   533.0 MiB   EF00  ESP
   2         1093632        43036671   20.0 GiB    8300  root
   3        43036672       441495551   190.0 GiB   8300  home

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to