Results 1 to 3 of 3

Thread: GRUB dual boot problem

  1. #1
    HEXUS webmaster Steve's Avatar
    Join Date
    Nov 2003
    Posts
    14,283
    Thanks
    293
    Thanked
    841 times in 476 posts

    Question GRUB dual boot problem

    I won't go too deep into my system complexities, but here is the score.

    GRUB is sat in the MBR of /dev/hde (which is on IDE0)
    /boot is on /dev/hde5 ((hd2,4) according to GRUB auto-setup)
    NTLDR is on /dev/hde1 (so that'd be (hd2,0) right?)

    Anyway, hde5 is the active partition, and the following in menu.lst doens't let me boot windows from GRUB:

    Title Windows XP SP2
    rootnoverify (hd2,0)
    chainloader + 1

    It just sits and does nothing. Now, if I make hde1 active, XP boots with no grub. So, I get the feeling GRUB is actually NOT in the MBR, but in hde5 (thinking as I type now.)

    So, what do I need to do to setup dual booting properly? I have an MBR backup from when before linux was on - so if it all goes wrong windows will be recoverable.

    I'm running Debian sarge at the moment. Should I run "grub-install /dev/hde"? or something else?

    Cheers,
    Kez.

    PS - When I had Fedora on this comp with the exact same drive setup it autodetected windows fine and set GRUB up. However, debian didn't see windows (probably thanks to NTLDR being on a different directory the the main windows volume.)
    PHP Code:
    $s = new signature();
    $s->sarcasm()->intellect()->font('Courier New')->display(); 

  2. #2
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,026 times in 677 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    done a little googling

    in your bios, try to force LBA, instead of Auto. apparently has helped people with GRUB/Windows issues (as GRUB misreads Auto as CHS)

  3. #3
    HEXUS webmaster Steve's Avatar
    Join Date
    Nov 2003
    Posts
    14,283
    Thanks
    293
    Thanked
    841 times in 476 posts
    Well it appeared that in spite of my instructions, GRB installed to /dev/hde5 rather then the MBR of /dev/hde

    A quick bit of dd'ing and modifying boot.ini meant the XP bootloader presented a "Linux" entry, and could chainload GRUB.

    Smashing!
    PHP Code:
    $s = new signature();
    $s->sarcasm()->intellect()->font('Courier New')->display(); 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to change boot order sata -> ide on a asus a7n8x?
    By dgr in forum PC Hardware and Components
    Replies: 8
    Last Post: 13-07-2010, 08:18 PM
  2. DVI problem, pc won't start! help needed.
    By snowwolf in forum Graphics Cards
    Replies: 1
    Last Post: 09-04-2010, 04:11 PM
  3. dual boot linux + xp?
    By cm_uk in forum Software
    Replies: 8
    Last Post: 26-05-2004, 12:50 AM
  4. Wierd Ati driver problem
    By Skii in forum PC Hardware and Components
    Replies: 5
    Last Post: 20-01-2004, 06:59 PM
  5. epox 8rda+ and AthlonXP 2500+ boot problem
    By spazman in forum PC Hardware and Components
    Replies: 6
    Last Post: 14-10-2003, 12:11 PM

Posting Permissions

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