Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18
first i have installed winxp on 'c' drive i have grub as boot loder on my system and i installed redhat on last 12gb partition as for now both are ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Location
    Karnataka,INDIA
    Posts
    21

    Exclamation how can i Install WinXP over Linux While Retaining Linux


    first i have installed winxp on 'c' drive

    i have grub as boot loder on my system

    and i installed redhat on last 12gb partition

    as for now both are workin fine
    but "i want" to format my c drive and instal winxp on it again

    by doing this i will loose my redhat,is there any way to retain redhat even after installing winxp

    plzzzz letme know ,its quite urgent
    thxxxxxx

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Welcome to the forums!

    Yes, it is possible to install Windows after Linux, but unless you know what you are doing, it's usually easier to wipe the drive, install Windows, then reinstall Linux (at least in my opinion).

    The easiest way to wipe a drive of all content, is go to a terminal, su to root, and issue the following command:

    Code:
    dd if=/dev/zero of=/dev/sda bs=512 count=1
    You'll need to replace /dev/sda with your actual device name such as /dev/hda.

    Using the dd command above will write zeros to the entire drive giving you a totally fresh start.

    If needed, you can use the fdisk -l command to determine your device name:

    Code:
    fdisk -l
    That is a lower-case letter "L" in the command, and not a number 1.

    Let us know how it goes.
    oz

  3. #3
    Just Joined!
    Join Date
    Sep 2008
    Location
    Karnataka,INDIA
    Posts
    21
    hey ozar thx for reply
    but i couldn't get ur answer(steps) which u have shown,could u plzz
    be simple in ur answer

    cozz myself a newbeee to linux n linuxforums

  4. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Quote Originally Posted by kirn View Post
    hey ozar thx for reply
    but i couldn't get ur answer(steps) which u have shown,could u plzz
    be simple in ur answer

    cozz myself a newbeee to linux n linuxforums
    Look for the Terminal application in your applications menu, or there might be an icon for it already in your panel in Red Hat.

    Once there, issue the su command, and enter the root user password when it's requested.

    If you don't know your root password, you can download a liveCD, such as PartedMagic, burn it to CD, and boot with it to run the same wipe command, except that you don't have to use a root password.

    Once in a terminal, enter the dd command I posted above. You should get a short message about records in and records out.

    At that point, the drive is ready for you to install Windows by inserting your Windows installation CD and rebooting your machine.
    oz

  5. #5
    Just Joined!
    Join Date
    Sep 2008
    Location
    Karnataka,INDIA
    Posts
    21
    first i have installed winxp on 'c' drive,have D & E drives under xp

    i have grub as boot loder on my system

    and i installed redhat on last 12gb partition

    things i would do,correct me wherever i am wrong

    1.i will login to redhat as root.

    2.open a terminal.

    3.type this code
    Code:
    dd if=/dev/zero of=/dev/sda bs=512 count=1
    & enter.
    wats bs=512 and wats count=1,do i need to change the above code

    4.place an xp cd in my cd drive and reboot

    doubts

    * in step 3 do i need to change the code or punch in code as it is.

    * after step 4 ,i will be asked"press any key to boot from cd",i would press some key,and rest goes the same way?(i know to install win xp)

    * can i install xp in C drive

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Do you want to wipe whole harddisk and re-install both Windows OS and Redhat again?
    Or
    Do you want to re-install Windows OS only and keep RedHat as it is?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Sep 2008
    Location
    Karnataka,INDIA
    Posts
    21
    Quote Originally Posted by devils casper View Post
    Do you want to wipe whole harddisk and re-install both Windows OS and Redhat again?
    Or
    Do you want to re-install Windows OS only and keep RedHat as it is?
    i just want to format c drive(win xp) n install xp onit again

    and i want to retain my installed redhat linux

    for further info read my first post

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Boot up from SuperGRUB CD ( download it from here ), select 'Fix Windows Boot Loader' option. It will remove Linux Boot Loader and Windows Installation CD will work after that.
    After Windows Installation, boot up from SuperGRUB CD again. Select 'Fix Linux Boot Loader' option. It will re-install Linux Boot Loader and setup dual boot again.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    Sep 2008
    Location
    Karnataka,INDIA
    Posts
    21
    Quote Originally Posted by devils casper View Post
    Boot up from SuperGRUB CD ( download it from here ), select 'Fix Windows Boot Loader' option. It will remove Linux Boot Loader and Windows Installation CD will work after that.
    After Windows Installation, boot up from SuperGRUB CD again. Select 'Fix Linux Boot Loader' option. It will re-install Linux Boot Loader and setup dual boot again.

    how do i set up dual boot again

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    After Windows Installation, boot up from SuperGRUB CD again. Select 'Fix Linux Boot Loader' option. It will re-install Linux Boot Loader and setup dual boot again.

    As I mentioned earlier, SuperGRUB CD will setup dual boot itself. You have to select 'Fix Linux Boot Loader' option only.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

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