Find the answer to your Linux question:
Results 1 to 5 of 5
Hey all. My box at home has got a couple ide hd's. HDA1 = XP, HDB = Gentoo. I used fdisk to create the following partitions on hdb: hdb1 = ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2004
    Posts
    21

    GRUB config - Dual Boot, multiple hdds[solved]


    Hey all. My box at home has got a couple ide hd's. HDA1 = XP, HDB = Gentoo. I used fdisk to create the following partitions on hdb:

    hdb1 = boot
    hdb2 = swap
    hdb3 = root

    I went through the rest of the install guide etc, but when I boot my system the grub bootloader doesnt load. When I installed grub I did:
    grub> root (hd1,0)
    grub> setup (hd1)
    It installed fine. (if I boot from the livecd, mount, then chroot in I see that its installed)

    My grub.conf looks like:
    default 0

    timeout 30
    splashimage=(hd1,0)/boot/grub/splash.xpm
    title=G2
    root(hd1,0)
    kernel(hd1,0)/boot/kernelversion root=/dev/hdb3
    initrd(hd1,0)/boot/initrd-kernelversion

    title=XP
    root (hd0,5)
    chainloader (hd0,5) +1

    But like I said when i boot the box it boots directly to xp. Am I missing something totally obvious here? (I've never had a need to dual boot, so this is my 1st stab at it, bear with me)

    Wondering if anyone with a similiar setup can post their grub.conf so I can compare / modify mine.

    Thanks!

  2. #2
    Just Joined!
    Join Date
    Aug 2004
    Location
    Sosnowiec.Poland.Europe.World
    Posts
    8
    I think you've installed grub on hdb and booting from hda.

    Code:
    grub> setup (hd1)
    It installs grub on hdb's MBR

    Code:
    title=XP
    root (hd0,5)
    So you are booting from hda.

  3. #3
    Just Joined!
    Join Date
    Aug 2004
    Posts
    21
    Got it working, thx.

  4. $spacer_open
    $spacer_close
  5. #4
    Banned
    Join Date
    Sep 2007
    Location
    Wilmer Texas. It's near Dallas. Visit Deep Ellum some time.
    Posts
    17

    dual boot......

    Quote Originally Posted by brodzky View Post
    I think you've installed grub on hdb and booting from hda.

    Code:
    grub> setup (hd1)
    It installs grub on hdb's MBR

    Code:
    title=XP
    root (hd0,5)
    So you are booting from hda.
    Ok.

    So what will happen if BOTH hard drives have a boot partition ???

    I'm using DreamLinux 2.2 and Windows Vista 6.0 on anew Dell E 521....

    Feed back would be great, I know very little about computers.

    Thank You...

  6. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hi, steveoffthehook

    Please start a new thread describing your computer problem. This thread is already over 3 years old and too old to be bringing back to the top.

    Sorry for any inconvenience...

    oz
    oz

Posting Permissions

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