how to delete Linux?

Nov 10, 2001
82
0
0
Hi all...
I need some advise here. My friend used partition magic to create a new partition to install Linux, After Linux have been installed. Some of his Windows XP messed up, He can't use Partition Magic and Windows Movie maker anymore.The Linux itself can't be accesed because he forgot his Localhost Login and its' password.
Now he want to delete the Linux partition. Since the partition magic can't be used, I tried Fdisk. When the Fdisk is executed, it restart the computer.
Is there any way to delete the Linux partition? Thnx ...
 

phlashphire

Golden Member
Jun 6, 2000
1,055
0
0
I just used a DOS bootdisk, and formated the drive that had linux and after that you'll probably need to fdisk /mbr to fix the dual boot selection since linux is no longer there.
 
Nov 10, 2001
82
0
0
I've tried using dos Bootdisk. but the problem is I can't used Fdisk because it restart the com after asking if i want to enable large disk drive.
btw what is the /mbr for?
 

Priit

Golden Member
Nov 2, 2000
1,337
1
0
Try to boot linux into single mode (putting "single" as kernel parameter, like "linux single"). If that works, you get root shell without asking password. Then you can change root's password or erase partitions using linux fdisk (fdisk that comes with Windows as always been very stupid and clumsy BTW).