Discussion Locked

Removing Linux From My Hard Drive

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I installed Linux RedHat 7 and was unable to install some drivers do to my lack of knowledge with Linux. I want to remove it for the time being until I can learn a little more. I don't know much about Linux so any help with command line interfacesand where and how to use them would be helpful. I believe I am running KDE when Linux boots up.

9 replies

by gregory pleau

To -completely- remove Linux, I am going to assume you want DOS/Windows back. This process will *DESTROY* the Linux files so make sure you've got anything you want to keep backed up off the system

Get a DOS formatted disk (Windows one is OK) and copy the program FDISK to it (from C:\WINDOWS\COMMAND).

Boot to the floppy and issue the command FDISK /MBR

Next launch FDISK and delete the Linux partition.

Use your OS setup disk (Microsoft Windows 98 DSP Boot Disk for example) to put your new OS on the Hard Disk

by mkrain

With this method I was able to get rid of the Linux Primary partition but not the secondary Linux partition. I now have 10 GB of used up space that I cannot get back.

Thanks for the suggestion.

by mehuls77

Hi

As per ur question as u running KDE, Login there and go to shell prompt and first erase Linux Loader by cmd lilo -u, then restart the machine and see if it boot by default to windows/dos and then with dos bootable delete the partition where uhave loaded the swap and linux native..

try this....

mehul

by nskharade

boot from the linux cd and using fdisk or diskdruid just delete the secondary partion. remember to save the changes!!! and quit the installation.

by wongcm

Hope this one help. Use you Win 98 boot disk and boot from the floppy drive. Than type this command FDISK /MBR to overwrite the master boot record. Than fdisk and create again you partition. It work for me. If you want to know more about Linux just go to RedHat.com .Here you can find many HOWTO documentation. All the best

This discussion is closed to new replies.