Find the answer to your Linux question:
Results 1 to 3 of 3
Hi guys, I have searched these forums extensively trying to look for a solution to this problem, nothing has worked. hope someone can help Basically i have 2 hard drives. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    3

    problem dual booting sles 10 and winxp


    Hi guys,

    I have searched these forums extensively trying to look for a solution to this problem, nothing has worked. hope someone can help

    Basically i have 2 hard drives. The 1st drive is an ide drive that has sles 10 installed, the 2nd drive is a sata with windows xp. /boot/grub/device.map looks like this:

    Code:
    (hd0)  /dev/hdc
    (hd1)  /dev/sda
    with /boot/grub/menu.lst looking like this for the windows part of this file:

    Code:
    title Windows XP
    map  (hd0) (hd1)
    map  (hd1) (hd0)
    rootnoverify  (hd0,1)
    makeactive
    chainloader +1
    The boot menu comes up and if i select sles that boots fine, but if i select windows all it does is display:

    Code:
    map  (hd0) (hd1)
    map  (hd1) (hd0)
    rootnoverify  (hd0,1)
    makeactive
    chainloader +1
    
    GRUB loading stage2..
    ...and hangs there (even after a good 5 mins)

    if i comment out rootnoverify (hd0,1) in menu.lst, which apparently undoes what the mapping is supposed to do, i get:

    Code:
    map  (hd0) (hd1)
    map  (hd1) (hd0)
    makeactive
    
    error 12: invalid device detected
    
    press any key to continue...
    when i do so it brings back a boot menu which only allows me to boot sles10.

    why is this happening? any ideas on how to get windows to boot happily with sles installed???

    thanks a lot in advance

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Windows is installed in SATA drive and rootverify should point to that only.
    edit menu.lst file.
    Code:
    title Windows XP
    map  (hd0) (hd1)
    map  (hd1) (hd0)
    rootnoverify  (hd1,0)
    makeactive
    chainloader +1
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Feb 2007
    Posts
    3
    Hey cool, thanks devils casper, that worked . I knew it would be something small like that.

  4. $spacer_open
    $spacer_close

Posting Permissions

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