LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Adding Hard Drive To Grub Menu (https://www.linuxquestions.org/questions/linux-newbie-8/adding-hard-drive-to-grub-menu-740169/)

dynamata 07-15-2009 01:41 AM

Adding Hard Drive To Grub Menu
 
How do I add another Windows XP SATA Hard Drive to this Grub menu? (Puppy Linux on a USB Stick):

timeout 30
default 0
#
WinXP on HDD
title Windows XP on hard disk
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
makeactive
chainloader +1
#
title Puppy on bootable USB
root (hd0,0)
kernel /vmlinuz root=/dev/ram0 PMEDIA=usbflash
initrd /initrd.gz

tokico 07-15-2009 10:03 AM

Please post your fdisk -l.

dynamata 07-15-2009 10:33 PM

I tried pasting text but the tables got pushed together & the BBCode is displaying the embedded image as a link:

http://www.dynamata.com/images/fdisk.jpg

dynamata 07-18-2009 10:18 PM

I got this solution from
http://www.experts-exchange.com/

Add the following:
#
WinXP on HDD 2
title Windows XP on hard disk 2
map (hd0) (hd2)
map (hd2) (hd0)
rootnoverify (hd2,0)
makeactive
chainloader +2


All times are GMT -5. The time now is 04:49 PM.