[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changing from BIOS to GPT



Arno Schuring a écrit :
> 
> It does, but what it breaks is the installed bootloader, not the grub
> installation. So "it needs to be reinstalled" is correct, but "aptitude
> reinstall grub-pc" is the wrong solution. You should be running
> update-grub and grub-install

I'd run them in the reverse order, although I'm not sure it matters.

> On top of that, grub installs its stage2 bootloader in the unclaimed
> space between the MBR and the first partition. That space is not unused
> in the GPT disk format, so when you simply convert your existing
> partitions, grub will have no place to install its stage2 and
> grub-install will error out. To have grub-pc boot from a GPT disk, you
> need to have a Bios Boot Partition (gdisk partition type ef02) of at
> least 128kB.

If there is no BIOS boot partition, you can use the -f option to force
grub-install to install the bootloader's core image as a regular file in
/boot/grub instead. It's not the preferred solution though.


Reply to: