Results 1 to 7 of 7

Thread: Grub issue - dual boot XP

  1. #1
    Join Date
    Sep 2007
    Location
    Ontario
    Beans
    62
    Distro
    Ubuntu

    Grub issue - dual boot XP

    Hey,

    I'm trying to Dual-boot my system with Ubuntu and XP. I've done it lots in the past with little-to-no problems... but this time it's just not working. I think part of the issue may be in the partitions on my main HDD...

    Not sure the best way to explain it, but here's what Palimpsest says:

    94 GB Filesystem
    94GB/88GiB
    NTFS FIle System
    Partition 1 (HPFS/NTFS(0x01))
    /dev/sdb1

    66 GB Extended
    66GB/61GiB
    Unrecognized
    Partition 2 (Extended(0x05))
    /dev/sdb2

    2.7 GB Swap Space
    2.7GB/2.5GiB
    Swap Space
    Partition 5 (Linux Swap(0x82))
    /dev/sdb5

    63 GB Filesystem
    63GB/59GiB
    Linux Ext4 (Version 1.0) File System
    Partition 6 (Linux (0x83))
    /dev/sdb6/ mounted as /

    And here's the windows XP bit from my grub.cfg:
    Code:
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows NT/2000/XP (loader) (on /dev/sdb1)" {
    	insmod ntfs
    	set root=(hd1,1)
    	search --no-floppy --fs-uuid --set f6d4ad56d4ad1a3f
    	drivemap -s (hd0) ${root}
    	chainloader +1
    }
    ### END /etc/grub.d/30_os-prober ###
    I think maybe I just need to change the (hd1,1) or the (hd0) bit to something, and I've tried a few different combinations (all of which have failed) so I'm starting to run out of ideas. When I boot that XP option, it flashes an error on the screen, but it goes by so fast I have no idea what it says, then it goes back to loading GRUB again.

    Any help or ideas would be great... I'd really like to get some new songs on my iPod touch... lol.

    --Richard

  2. #2
    Join Date
    Mar 2010
    Location
    England
    Beans
    122
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Grub issue - dual boot XP

    I read this after opening it and realising i'm late! But google "fixboot" and see if that might be a solution.

    I had a similar situation!
    I'll be back in... a while to check any progress!
    -----BEGIN GEEK CODE BLOCK-----
    GO d+ s+:+ a-- C++ L++ P+ L++ E-- W++ N o-- K- w O M-- V- PS+ PE- Y+ PGP+ t 5 X- R tv b- DI+ D+ G++ e h--- r+++ y+++
    ------END GEEK CODE BLOCK------

  3. #3
    Join Date
    Jul 2007
    Location
    Melbourne, Australia
    Beans
    3,475
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Grub issue - dual boot XP

    I think windows should be (hd0,1) under the new grub 2 labelling system. However what you are describing has been a common issue after a 10.04 installation/upgrade - look here and see if this may help you - it has been a common fix for problems such as yours. I would try this before playing around with /boot/grub.cfg, but carefully read the instructions first. Hope it helps.
    Windows is the best virus detector on the market!
    Ubuntu attracts Human Beings - Windows attracts viruses and worms

  4. #4
    Join Date
    Sep 2007
    Location
    Ontario
    Beans
    62
    Distro
    Ubuntu

    Re: Grub issue - dual boot XP

    Thanks for the help guys, I'll look into this.

    Quote Originally Posted by Zintha View Post
    I read this after opening it and realising i'm late! But google "fixboot" and see if that might be a solution.

    I had a similar situation!
    I'll be back in... a while to check any progress!
    Sorry Zinthia, I posted it then went to bed, I hope you didn't spend too much time checking this post for progress. Thanks for your help, though. I'll post my results when the time comes.

  5. #5
    Join Date
    Jul 2007
    Location
    Melbourne, Australia
    Beans
    3,475
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Grub issue - dual boot XP

    You can do fixboot and fixmbr from an xp installation cd, but that will over-write grub and then you would have to reinstall grub from a live ubuntu cd - take a look at the other page first and see if it may suit/sort out your problem.
    Windows is the best virus detector on the market!
    Ubuntu attracts Human Beings - Windows attracts viruses and worms

  6. #6
    Join Date
    Sep 2007
    Location
    Ontario
    Beans
    62
    Distro
    Ubuntu

    Re: Grub issue - dual boot XP

    Okay, so I just ran Testdisk and so far did all but the last step of the wiki... and as it stands, It looks like ntldr is loading instead of grub, and I can get into XP, but now my ubu partition isn't booting properly. lol. I'm using the liveCD right now, and I'm going to try running that last step on the testdisk wiki and hopefully all will be well.

  7. #7
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    25,867
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Grub issue - dual boot XP

    If you also ran fixMBR from the windows repair and not just the testdisk, then you may have to reinstall grub. But you showed windows in sdb1, so you have sda? Is windows boot in sdb and grub in sda and you change boot order in BIOS to get grub to boot?

    To see entire configuration.

    Boot Info Script courtesy of forum member meierfra
    Page with instructions and download:
    http://bootinfoscript.sourceforge.net/
    Be sure to highlight and use code tags (# in edit panel) to make it easier to read when you post the results.txt.
    Oldfred on vacation with no real computer access. (when you are retired is it still a vacation?)
    May 23 thru June 5. For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295




Bookmarks

Posting Permissions

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