Second Hard Drive?

fvsfvs
edited May 2006 in Science & Tech
I removed Win XP and installed Ubunto on the 20gig (slave) while I had the (master) disconnected.Put the (master) back and tried to boot, I stiil can't get the (slave) to boot. I'm just trying to boot from either hard drive, Which I have installed, Seagate 80 gig (master) which has Fedora 5 and WD 20 gig (slave) which has Ubunto only no win XP at all. All I want is to be able to switch drives from the boot. I really don't care about Win XP.I hope this helps clears up my delema.
Thanks for helping me with straighten out my projects. fvs

Comments

  • edited May 2006
    what are you using to boot with on that linux drive? grub?
  • fvsfvs
    edited May 2006
    lightnin wrote:
    what are you using to boot with on that linux drive? grub?
    I'm using grub. I have fedora (Master) on first drive, Ubunto (Slave) on second drive
    both have grub. No other Operating systems.
  • edited May 2006
    easy, two linux installs, grub can present you with a menu on bootup, you choose which flavor you want to boot.

    grub> kernel /vmlinuz root=/dev/hda1

    grub> kernel /vmlinuz root=/dev/hdb1

    just change the name of kernels and devices and you're done. this is why bootloaders such as grub or lilo or any other bootloader exists.

    check out the documentation here
    http://www.gnu.org/software/grub/manual/grub.html

    and linux specifically here:
    http://www.gnu.org/software/grub/manual/grub.html#GNU_002fLinux
  • fvsfvs
    edited May 2006
    Hi lighnin, I've tried all the sugestions and when I boot to the second drive I get a kernel panic and have to shut down and go back to Master, what am I doing wrong?
    timeout=5
    splashimage=(hd0,1)/grub/splash.xpm.gz
    hiddenmenu
    title Fedora Core (2.6.16-1.2122_FC5)
    root (hd0,1)
    kernel /vmlinuz-2.6.16-1.2122_FC5 ro root=/dev/VolGroup01/LogVol00 rhgb quiet
    initrd /initrd-2.6.16-1.2122_FC5.img
    title Fedora Core (2.6.15-1.2054_FC5)
    root (hd0,1)
    kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup01/LogVol00 rhgb quiet
    initrd /initrd-2.6.15-1.2054_FC5.img
    title Other
    rootnoverify (hd0,0)
    chainloader +1
    title second
    root (hd1,0)
    kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup01/LogVol00
    initrd /initrd-2.6.15-1.2054_FC5.img
    [root@localhost ~]#
  • drasnordrasnor Starship Operator Hawthorne, CA Icrontian
    edited May 2006
    I would advise only using one bootloader. On your master drive, add the boot entries from the bootloader on your slave drive. For example:

    Master:
    timeout=5
    splashimage=(hd0,1)/grub/splash.xpm.gz
    hiddenmenu
    title Fedora Core (2.6.16-1.2122_FC5)
    root (hd0,1)
    kernel /vmlinuz-2.6.16-1.2122_FC5 ro root=/dev/VolGroup01/LogVol00 rhgb quiet
    initrd /initrd-2.6.16-1.2122_FC5.img
    title Fedora Core (2.6.15-1.2054_FC5)
    root (hd0,1)
    kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup01/LogVol00 rhgb quiet
    initrd /initrd-2.6.15-1.2054_FC5.img
    title Other
    rootnoverify (hd0,0)
    chainloader +1
    title second
    root (hd1,0)
    kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup01/LogVol00
    initrd /initrd-2.6.15-1.2054_FC5.img

    Slave:
    timeout 30
    title Ubuntu Linux ver. Greasy Grouse
    root(hd0,0)
    kernel /vmlinuz-2.8.12 root=/dev/hda3 video=vesafb:mtrr:1024x768-32@60

    Becomes:
    timeout=5
    splashimage=(hd0,1)/grub/splash.xpm.gz
    hiddenmenu
    title Fedora Core (2.6.16-1.2122_FC5)
    root (hd0,1)
    kernel /vmlinuz-2.6.16-1.2122_FC5 ro root=/dev/VolGroup01/LogVol00 rhgb quiet
    initrd /initrd-2.6.16-1.2122_FC5.img
    title Fedora Core (2.6.15-1.2054_FC5)
    root (hd0,1)
    kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup01/LogVol00 rhgb quiet
    initrd /initrd-2.6.15-1.2054_FC5.img
    title Other
    rootnoverify (hd0,0)
    chainloader +1
    title second
    root (hd1,0)
    kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup01/LogVol00
    initrd /initrd-2.6.15-1.2054_FC5.img
    title Ubuntu Linux ver. Greasy Grouse
    root(hd1,0)
    kernel /vmlinuz-2.8.12 root=/dev/hdb3 video=vesafb:mtrr:1024x768-32@60

    Note that since the slave drive is second in the chain it becomes hd1 and hdb.

    -drasnor :fold:
Sign In or Register to comment.