Find the answer to your Linux question:
Results 1 to 10 of 10
dear all, i already installed linux. is it possible to install Windows XP as the 2nd OS? i know people usually install Windows XP first, and linux 2nd. Is the ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    46

    Windows XP installation when Linux already installed

    dear all,

    i already installed linux. is it possible to install Windows XP as the 2nd OS?

    i know people usually install Windows XP first, and linux 2nd. Is the reverse possible?

  2. #2
    Linux User infoshirish's Avatar
    Join Date
    May 2007
    Location
    Pune, India
    Posts
    397
    Hey,
    Yes you can install WinXP but you have to install grub after installing it.
    So that your linux boot image gets activated. But for a safer side make a boot disk for linux. And take your grub.conf file backup. You can install your grub by
    going in rescue mode and firing below commands:-
    #chroot /mnt/sysimage
    #root (hd0,1) /* Depends on your slash partition */
    # grub-install "file name"
    #exit

    After rebooting you will see linux boot image in which it will give you another option to boot which is your windows XP.

    Feel free to ask if any probs..!!!
    Regards,

    who |grep -i blonde |
    date; cd~; unzip; touch;
    strip; finger; mount; gasp;
    yes; uptime; umount;
    sleep

    Newbie clicks
    http://www.linuxforums.org/forum/lin...ead-first.html

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by littlewenwen
    i already installed linux. is it possible to install Windows XP as the 2nd OS?
    i know people usually install Windows XP first, and linux 2nd. Is the reverse possible?
    Reverse is possible but its a bit tricky. in most cases, GRUB doesn't work or boot up Windows and one has configure Windows Boot Loader to setup dual boot.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Linux User Oxygen's Avatar
    Join Date
    Jul 2004
    Location
    Hartlepool, England
    Posts
    392
    It's perfectly possible, there isn't a first/second setup, either there is Windows with Linux, or there isn't.

    Get yourself a LiveCD, anything will do, doesn't matter what distro so long as it's live CD. Install Windows. Then put in your LiveCD and (as root) run grub

    In grub, run find /boot/grub/stage2 and it'll tell you what HD the setup is on, it'll look something like this: (hd0,1)

    Now type: root (hd0,1) depending on what output you got from the last command. Finally type setup (hd0) to put grub back on your MBR.

    That should work, however if I remember correctly, Windows will be an arse if it's not on your primary drive. Unsure about that though.
    Graham - You'd better Use Linux!

    I'm registerd Linux user #397030. What about you?

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by Oxygen View Post
    It's perfectly possible, there isn't a first/second setup, either there is Windows with Linux, or there isn't.
    i disagree.
    if you install Windows after Linux, you have to take care of a lot of things. Window must be installed in Primary Partition, BIOS version should be latest and should support 1024+ cylinder limit. in most cases, as i mentioned earlier, GRUB refuses to work. its a known BUG. success rate is 10% only.

    solution: use Windows Boot Loader.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Just Joined!
    Join Date
    Nov 2006
    Posts
    46
    thanks for all your help.

    Maybe the most reliable way is to format my HD and install Windows, and then install linux.

    Can some one suggest some good software to format my HD ( it is in linux format right now)?

  7. #7
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    The Gparted LiveCD is a great tool for formatting and partitioning drives:

    GParted -- LiveCD

    It's a small download and burn, and it's easy to use. Good documentation for using it can be found on their website.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  8. #8
    Just Joined!
    Join Date
    Nov 2006
    Posts
    46
    thank you

    The format of my HD currently is for linux. I want to format the whole HD so that I can install Windows XP on it. For this purpose, will Gparted LiveCD work?

  9. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    yes. its a partition manager and thats its whole purpose.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #10
    Just Joined!
    Join Date
    Nov 2006
    Posts
    46
    Thank you, thank you all so much.

Posting Permissions

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