Find the answer to your Linux question:
Results 1 to 5 of 5
Okay... I am trying to multiboot Windows XP Pro, and Ubuntu 6.10. Ubuntu came first, and is on my first drive. (hda) It has mostly default partitions I have finished ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4

    Question Multibooting... Linux (ubuntu 6.10) and Windows XP (Pro)


    Okay... I am trying to multiboot Windows XP Pro, and Ubuntu 6.10.
    Ubuntu came first, and is on my first drive. (hda)
    It has mostly default partitions

    I have finished installing windows (hdb) (hmm... if theres any problems here, I can reinstall if needed) and I'm busy setting up GRUB... however, I have a small problem, I think I almost solved it, but I think I just need a little help...

    Here is my "menu.lst" file (without "#" comments to save space):
    Code:
    ## ## End Default Options ##
    title		Ubuntu, kernel 2.6.17-10-generic
    root		(hd0,0)
    kernel		/boot/vmlinuz-2.6.17-10-generic root=/dev/hda1 ro quiet splash
    initrd		/boot/initrd.img-2.6.17-10-generic
    quiet
    savedefault
    boot
    
    title		Ubuntu, kernel 2.6.17-10-generic (recovery mode)
    root		(hd0,0)
    kernel		/boot/vmlinuz-2.6.17-10-generic root=/dev/hda1 ro single
    initrd		/boot/initrd.img-2.6.17-10-generic
    boot
    
    title		Ubuntu, memtest86+
    root		(hd0,0)
    kernel		/boot/memtest86+.bin
    quiet
    boot
    
    title		Microsoft Windows XP 
    rootnoverify	(hd1,0)
    chainloader	+1
    makeactive
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    Now, when I choose windows from the GRUB menu at startup, it stays stuck at
    Starting up ...
    _
    and stays there. It doesn't move.

    I'm fairly new to this whole bootloader/multiboot thing. So I would appreciate it if you would help me.
    I'm relatively a newbie
    Thanks in advance for helping me.

  2. #2
    Linux User tech_man's Avatar
    Join Date
    Jan 2007
    Location
    USA
    Posts
    385
    IIRC Windows XP overwrites the MBR when you install it, so you might have to install grub back onto the MBR. Always install windows as the first operating system so that it doesn't erase your boot loader.
    'Tis better to be silent and be thought a fool, than to speak and remove all doubt.'
    --Abraham Lincoln

  3. #3
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Take a look at the GRUB Manual:

    http://www.gnu.org/software/grub/manual/grub.html

    and go to section 4.2.6 and look at the second paragraph relating to installing Windows on a non-first hard disk and the map command.
    oz

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    edit menu.lst file and add mapping code.

    Code:
    title Microsoft Windows XP 
    rootnoverify (hd1,0)
    map (hd0) (hd1)
    map (hd1) (hd0)
    chainloader +1
    makeactive
    save file and reboot.....






    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Jan 2007
    Posts
    4

    Talking Thanks

    It worked, thanks everyone

Posting Permissions

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