Writing Grub to the Root Partition

From Freespire

Jump to: navigation, search

Home-->Documentation-->Hints & Tips-->Writing Grub to the Root Partition

Writing Grub to the Root Partition

THIS METHOD CAN BE USED IF YOU INTEND TO USE AN ALTERNATIVE BOOTLOADER TO GRUB

If you want to install Grub to the root partition rather than the MBR follow these steps during installation:

  • Choose the Advanced option when installing
  • Select the partition you want to install Freespire on
  • Right click the partition and select the file system you wish to use - ext3 or reiserfs
  • Uncheck the Write MBR box
  • Complete the installation and reboot with the install cd still in the tray

Once the Grub Memu appears hit the "c" key to enter the grub command line. You now need to install grub to your root partition. Grub uses its own notation for identifying partitions – hda1 is called (hd0,0), hda2 is called (hd0,1), hda3 is called (hd0,2), and so on. Use this notation when following the next steps. You can use root <Tab-key> to see your partitions if you're not sure what they're called

  • Install Grub to the root partition (this assumes your root partition is /dev/hda2 (hd0,1 in grub notation)
grub
find /boot/grub/stage1
root (hd0,1)
setup (hd0)
quit
reboot

That's all there is to it.

Note: (hd0) is the first drive your Bios is set to boot from, be it a "SATA" or "IDE" drive.

Personal tools