Adding Hard Drive To Grub Menu


Results 1 to 3 of 3

Thread: Adding Hard Drive To Grub Menu

  1. #1
    Join Date
    Jul 2009
    Posts
    2

    Adding Hard Drive To Grub Menu

    How do I add another Windows XP SATA Hard Drive to this Grub menu, 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

    Fdisk Partition Table:

  2. #2
    Join Date
    Dec 2001
    Location
    Greenville, SC
    Posts
    68

    Here are the rough details

    sda = (hd0)
    sdb = (hd1)
    sdc = (hd3)
    sdd = (hd4)

    Notice the "zero offset" numbering convention used by GRUB. The partition numbers are the same, e.g., sda1 is (hd0,0), sda5 is (hd0,4) sdd1 is (hd3,0) and so forth.

    Is that enough to help you out?
    http://www.dedoimedo.com/computers/grub.html is one tutorial that may help you further; it would be useful to do some reading to ensure that you understand what you are doing. http://www.linuxselfhelp.com/gnu/gru.../grub_toc.html is another resource that may be helpful. http://www.pvv.ntnu.no/~steinarh/grub/tutorial.html is yet another resource, and finally, http://www.gnu.org/software/grub/ is the official GNU GRUB reference site, which, in turn, refers to additional information.

    Somewhere among this information, coupled with what I have already told you, that should be enough to get you going, assuming that you are willing to do a bit of digging and learning - I hope that you will do just that.
    Brian W. Masinick
    Masinick at Yahoo Dot Com

  3. #3
    Join Date
    Jul 2009
    Posts
    2
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •