Ubuntu 9.10 Grub 2 Caveat

Unlike Grub 1.x, in Grub 2 a partition number is the SAME as the number of the corresponding partition number inside of the /dev/ directory instead of that number minus one. For example, if the partition is /dev/sda1, then in Grub 2 it will be (hd0,1) while in the old Grub 1 it is (hd0,0) instead. Today when I install Ubuntu I wasn’t aware of that and I installed grub to (hd0,1), thinking that it is /dev/sda2 (Ubuntu’s partition) while it is actually /dev/sda1 (Windows’s partition) instead! I didn’t realized that until after I reboot and I couldn’t get into Windows. I then have to restore Windows’s boot sectors with Windows’s CD and try to install grub again! When you install Ubuntu 9.10 you have to be aware of this if you are planning to install Grub to a partition instead of the MBR.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: