Linux WinXP on Linux PC

Discussion in 'Software' started by FaIIen, 15 Apr 2007.

  1. FaIIen

    FaIIen origami killer

    Joined:
    31 Dec 2001
    Posts:
    507
    Likes Received:
    0
    For this Sunday morning I'm planning to install WinXP to my Linux PC. Mainly for games, nothing more. Ubuntu is on the first SATA drive. I was thinking I could resize the partition of linux (boot cd -> gparted) and make a FAT32/NTFS partition on that same SATA drive and then install windows in there? Do you think there will be any complications ? Off course Windows will erase my current MBR but I can restore it later using my Ubuntu boot cd or smth. Any tips are welcome. :geek:
     
  2. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
    I'd say, grab a cheap 2nd drive, install windows to that, then tell grub to boot it.
     
  3. FaIIen

    FaIIen origami killer

    Joined:
    31 Dec 2001
    Posts:
    507
    Likes Received:
    0
    i did what you suggested. I've unplugged all my disks exept the 40gb IDE where I installed winXP. Now I go back to linux in order to edit my grub menu.lst so i can boot Windows. This is the order of my drives

    hd0 (sata) Ubuntu
    hd1 (sata) stuff
    hd2 (IDE) WinXP
    hd3 (IDE) stuff

    the entry for my grub is

    title WinXP
    map (hd0) (hd2)
    map (hd2) (hd0)
    chainloader (hd2,0)+1

    When i try to boot windows I get "NTLDR is missing" :confused:

    If I change the boot order with IDE being first, windows will boot normally, overiding grub off course.
     
    Last edited: 15 Apr 2007
  4. Shagbag

    Shagbag All glory to the Hypnotoad!

    Joined:
    9 Nov 2006
    Posts:
    320
    Likes Received:
    4
    Does this GRUB entry work:

    title WinXP
    map (hd0) (hd2)
    map (hd2) (hd0)
    chainloader +1

    ?

    If not, does this work:

    title WinXP
    map (hd0) (hd2)
    map (hd2) (hd0)
    rootnoverify (hd0,0)
    chainloader +1

    ?
     
  5. FaIIen

    FaIIen origami killer

    Joined:
    31 Dec 2001
    Posts:
    507
    Likes Received:
    0
    i fixed it by positioning my IDE 2nd on boot order.
     
Tags:

Share This Page