[clue-tech] GRUB, finally.

David L. Anselmi anselmi at anselmi.us
Fri Oct 23 22:17:03 MDT 2009


So my hard drive has 32kB of space in front of the first partition.
Only 512B are used, the MBR.  I think the partition has to start on a
cylinder boundary so it can't take up space in cylinder 0.

Here's a 1GB thumb drive with 125kB.  Odd since it has smaller
cylinders.  Maybe fdisk reports sizes for virtual cylinders.

Oh, you want to know who cares?  Well, grub2 puts boot loader code in
that space so I wanted to make sure there's really some there to hold it.

grub2 supports /boot on LVM finally, yay!  grub did not so you'd be 
stuck with LILO, which has some annoying quirks and some bugs that can't 
be worked around.  So it's nice to be able to use a 21st century boot 
loader with LVM.

Debian is switching to use grub2 by default.  Installing it was easy. 
It found the right partitions and made a grub.cfg, then asked which 
device should get the boot loader installed--no sweat using a thumb 
drive to test with.

(But now I have to see how to re-run it outside aptitude to put it on my 
hard drive.  I think grub-install will do it, but there may be a more 
"Debian" way to do it.  And I haven't seen how it handles kernel 
upgrades yet.)

Dave


More information about the clue-tech mailing list