justmgd
04-06-2009, 05:51 PM
I followed instructions in the thread: "How to install and boot 145 operating systems". I successfully completed installing grub, but I am really confused about the following:
1) I used the Gparted Live CD to build my partitions. All partitions were shown as part of sda, sd0, sd1, sd2, etc. in the GUI.
2) I then launched the Ubuntu Live CD. The gparted application also showed the partitions as sd0, sd1, etc.
3) So, I created the menu.lst file as follows:
color purple/black red/light-gray
title This is one XP and many Linux booting menu
boot
#sda1 is WinXP
title Windows XP
root (sd0,0)
makeactive
chainloader +1
title Open BSD @ sda2
root (sd0,1)
chainloader +1
#sda3 is the data-only partition hosting Grub to boot all other systems
title Return to Master menu
root (sd0,2)
configfile /boot/grub/menu.lst
#sda4 is the extended partition
#sda5 is the common swap partition for all Linux
#sda6 is Fat16 data partition
title WeakNet @ sda7
root (sd0,6)
chainloader +1
title Fedora @ sda8
root (sd0,7)
chainloader +1
title BackTrack @ sda9
root (sd0,8)
chainloader +1
4) Upon reboot, the grub menu came up. When I selected XP, I got an error saying invalid parameter. So, I changed all the sd0 to hd0 and rebooted and it worked.
5) I should have known since when I copied grub to the MBR, I had to use the commands: root (hd0,2) and setup (hd0). I installed grub on partition 3.
But why does gparted show the partitions as sd and grub uses hd?
1) I used the Gparted Live CD to build my partitions. All partitions were shown as part of sda, sd0, sd1, sd2, etc. in the GUI.
2) I then launched the Ubuntu Live CD. The gparted application also showed the partitions as sd0, sd1, etc.
3) So, I created the menu.lst file as follows:
color purple/black red/light-gray
title This is one XP and many Linux booting menu
boot
#sda1 is WinXP
title Windows XP
root (sd0,0)
makeactive
chainloader +1
title Open BSD @ sda2
root (sd0,1)
chainloader +1
#sda3 is the data-only partition hosting Grub to boot all other systems
title Return to Master menu
root (sd0,2)
configfile /boot/grub/menu.lst
#sda4 is the extended partition
#sda5 is the common swap partition for all Linux
#sda6 is Fat16 data partition
title WeakNet @ sda7
root (sd0,6)
chainloader +1
title Fedora @ sda8
root (sd0,7)
chainloader +1
title BackTrack @ sda9
root (sd0,8)
chainloader +1
4) Upon reboot, the grub menu came up. When I selected XP, I got an error saying invalid parameter. So, I changed all the sd0 to hd0 and rebooted and it worked.
5) I should have known since when I copied grub to the MBR, I had to use the commands: root (hd0,2) and setup (hd0). I installed grub on partition 3.
But why does gparted show the partitions as sd and grub uses hd?