On Wed, 20 May 2015 14:29:27 +0100, Mick wrote: > > > 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:
So does fdisk with an MBR partition table. It defaults to 2048 to avoid alignment problems with disks using 4k blocks. > # 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. You still need the BIOS boot partition. This is about BIOS vs UEFI booting. % sudo gdisk -l /dev/sda GPT fdisk (gdisk) version 1.0.0 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/sda: 5860533168 sectors, 2.7 TiB Logical sector size: 512 bytes Disk identifier (GUID): 04EFD165-FDDF-4C24-BA81-868B97BF9949 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 5860533134 Partitions will be aligned on 2048-sector boundaries Total free space is 2014 sectors (1007.0 KiB) Number Start (sector) End (sector) Size Code Name 1 2048 4095 1024.0 KiB EF02 BIOS boot partition 2 4096 2101247 1024.0 MiB 8300 boot0 3 2101248 35655679 16.0 GiB 8200 swap0 4 35655680 5860533134 2.7 TiB 8300 silastic0 -- Neil Bothwick Top Oxymorons Number 2: Exact estimate
pgps9jU13Bf5s.pgp
Description: OpenPGP digital signature

