Remove Linux From Your Pc Safely

Status
Not open for further replies.

sara2002

Broken In
Remove Linux From Your Pc Safely, ...and restoring your MBR

First of all you need to know where your Linux OS is installed to. that is what drive it is currently living on. Bear in mind that Linux formats the drive as HFS rather than Fat/Fat32 or NTFS. ( These are the file systems used by various Operating Systems).

So HFS Partitions are not seen by swodniW, so its hidden.

To remove the partitions of Linux in WindowsXP go to your 'Control panel' > Admistrative Tools > Computer Managment

Open 'Disk Management' and you will see your Linux drives recognised as 'Unknown Partition' plus the status of the drive. Bearing in mind you know what partition and disk you installed to it will be easier to recognise as the drive/partition where you had installed it to.

Once you have identifed the drives, 'right-Click' on the drive/partiton and select 'Delete Logical Drive'

Once you have followed this through, you will now have free space.

This next part is very important. Once you have formatted the drive, re format it as your required file system type. either Fat32 or NTFS. Now the important part is coming up !

Fixing your Master Boot Record to make swodniW Bootable again.

Have a swodniW Boot disk with all the basic DOS Commands loaded on to the disk. A standard swodniW 98/Me Boot Disk will work too.

Type in the DOS command :

e.g, from your C:\

fdisk /mbr

Or use your swodniW XP run the recovery console, pick which xp install you would like to boot in to (usually you will pick #1)

then type: fixmbr. Answer Y to the dialoge.

Your master boot record will now be restored and swodniW XP will be bootable once again. Your System will be restored with your original boot loader that you got with swodniW XP.

The credit goes to zabref

Edited - [deXter]: Please always mention the source of the article while posting it. Further posts like this without giving proper credit to its author(s) will be considered as spam, and may result in the suspension of your account.
 

oldmonk

Broken In
Linux formats the drive as HFS rather than Fat/Fat32 or NTFS
hfs is used by mac,

linux uses ext2 ext3 rieserfsfs xfx etc etc etc etc...........

Can you please tell me how to safely remove windows???
 

sailendra

Journeyman
Here is how to do the opposite: remove windows from Linux :twisted:

At the linux shell prompt, run fdisk /dev/hda (for the first harddisk). Type 'p' without the quotes. you will get a list of partitions. Check the right column for the filesystem type of each partition. if it says fat32 or hpfs (for ntfs partitions) make a mental note of the partition number. now press d to delete a partition. you are prompted to enter the partition number. enter the number of the partition you want to delete - in our case the windows partition. thats it the partiton is deleted. you may want to recheck it with the p command again. the windows partition should no longer be displayed. now press 'w' to save changes and quit. If you are using Lilo or Grub as the boot loader, then all you need to do is change the config file under the etc directory and remove the entry for windows. Then run lilo to update the mbr. For grub - nothing else is required.
Now you can add another partition to installl a different flavor of Linux with a shared swap partition (from the first one)... :p
 

snehal_prabhu

Broken In
gr8 finally i got rid of my windows
thanks to u sailendra.



i was just kidding though. i got rid of Xp but 98 still there, u see i am not a linux geek, the day i am perfect in linux tata bye WIndows for me
 

oldmonk

Broken In
Here is how to do the opposite: remove windows from Linux

Oh im sorry i asked that,

The best way is, to use windows for some time without any firewall or antivirus ... and it'll remove itself!!!! :)))
 

prankzter

Journeyman
thanks for the info sara2002..i was about to post a problem bout removing linux and u made my job much easier!!!
thanks!!
 

vignesh

Wise Old Owl
I have removed linux and regained the partition but still the boot option is shown.how do i remove that.
 

Ashis

In the zone
Thanks for the Info!

But I will Use it for testing & Emergency......Remember 'Linux is Here to Stay' !
 

vandit

In the zone
oldmonk wrote: The best way is, to use windows for some time without any firewall or antivirus ... and it'll remove itself!!!! Smile))
:lol: :lol: :lol: :lol: :lol: :lol: :lol:
dont forget not to install any security patches and updates... :lol: :lol: :lol: :lol: :lol:
 
Status
Not open for further replies.
Top Bottom