uninstalling window xp on dual boot
Hi,
I have dual boot window xp and fedora 6 on my pc. I want to uninstall window xp and keep fedora 6. How can I do this? many thanks. |
You can get rid of it by formatting the XP partitions and editing your bootloader configuration so that it doesn't show XP as an option any more. You can then mount the partitions for use under Linux. If you'd like more detailed instructions on how to do these steps, try searching and ask if you get stuck.
It's probably also possible to delete the XP partitions, and expand some Linux partitions to take up the extra space without the need for extra mount points, but it's not something I've ever tried to do. |
hi,Gethyn
thank you for your info. as I am very new to linux,what steps do I need to do to format window xp parition? regards. |
Before I start, are you sure that you want to remove Windows? Even if you're determined to make the switch away from Windows, it's often useful to keep a Windows install available as a backup in case of problems while you learn your way around Linux, this helped me out a lot while I was learning. Once you have more experience then it's safer to delete the partition.
Be very careful when doing this, you don't want to wipe out important data or your Linux install while it's running! If you're sure you want to do it now, the first thing to do is figure out which partitions Windows is using. The best way to do this is probably by looking at the partition table. Bring up a command line, and issue the command 'fdisk -l' as root. This will list all the hard drives you have connected up, and how they are partitioned. Here's some sample output from my computer. Code:
user@localhost:~$ sudo fdisk -l Next, you want to make sure that the Windows partitions aren't mounted (formatting a partition that's mounted is probably not a good idea!). To check this, use the command 'mount'. Here's another example on my system: Code:
user@localhost:~$ mount Code:
/dev/hda1 on /media/windows type ntfs (ro,noexec,dmask=0222,nosuid) Code:
user@localhost:~$ sudo umount /media/windows Now that the partition is unmounted, it's safe to format it (making sure that you have already copied all the data you wanted off it first!). The command to do this varies depending on which filesystem you want to use. I recommend ext3 because it's straightforward, and I'll give you an example for that; if you want to try something more exotic you can read around. Here's a command to format the former Windows partition from the fake example as ext3: Code:
user@localhost:~$ sudo mke2fs -j /dev/hda1 The format will probably take a minute or two and tell you some rather incomprehensible stuff about what it's doing. Once it's finished, you can check the partition using the command 'fdisk -l' as root again. This time, the line that previously said "NTFS" should now say "Linux". All that remains now is to mount the partition under Linux and remove Windows from your boot manager. I'm a little tired of typing right now, so I'll leave it to you to have a search on how to do this and ask again if you get stuck. Here's a hint: if you want the partition to be automatically accessible every time you boot up the computer, you need to edit the file /etc/fstab. Your bootloader is probably grub, and the grub configuration is usually stored in /boot/grub/menu.lst. Be careful when editing these files, but there is plenty of information on what to do available if you search. If you have problems, please try and be specific about what the trouble is! |
Hi,
The reason why I wanted to unintall window xp is because it is behaving very funny, I think my pc might have been hacked or having virus. After I uninstall windows, I will do a fresh install, don't know how to do that yet. I think I should learn how to unintall windows while keeping fedora 6. then, install a fresh copy of window xp. I will try what you have told me. p.s. thanks for the detail info. Thanks. |
If you re-install win xp, it will overwrite the bootloader (grub) in the MBR, so you will need to re-install and configure grub too. Did you try to "repair" windows?
|
Quote:
http://www.spybot.com/en/index.html Be careful of a spy-bot spoof site that calls their product SpyWare-bot. It's exactly that, spyware. Uninstalling and re-installing should be considered as a last resort because it is such a PITA. |
HI, All,
I think if everything else failed, I should just do a back up for Window and fedora 6, then format the window partition and Linux partition and do a fresh insall for both. It is less of a PITA for a newbie like myself. Thanks for all the help from linux community. Mark001 |
All times are GMT -5. The time now is 11:59 AM. |