LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to uninstall Linux? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-uninstall-linux-516168/)

cherish 01-04-2007 03:59 AM

How to uninstall Linux?
 
Hi,

I've installed Sabayon Linux in my system together with Windows in the same harddisk.
And every time when i start up my pc, it will load GRUB and asked me to choose which OS to load.
I'm kinda irritated as im not using linux anymore and i wish to uninstall/delete it.
So, i reformatted the partition and i got stuck whenever it loads

So, can anyone please tell me what to do with my MBR and how to uninstall/delete the Linux OS?

thanks.

reddazz 01-04-2007 04:07 AM

You need to boot from a Windows floppy and do "fdisk /mbr" or boot from a Windows installation cd, go into recovery mode and do "fixmbr"

bobdevis 01-04-2007 04:10 AM

Boot from your windows cd, chose the recovery mode kind if boot so you have a commandline.
Type 'fixmbr'
Reboot from harddisk. Now Grub will be gone and only windows will boot.

b0uncer 01-04-2007 04:26 AM

Quote:

You need to boot from a Windows floppy and do "fdisk /mbr" or boot from a Windows installation cd, go into recovery mode and do "fixmbr"
The latter method, fixmbr from Recovery Console, applies if you have Windows XP. On older Windows (like 98, ME, ..) there is no Recovery Console, so you'll just open a MS-DOS prompt and run the command fdisk /mbr (though it could be \ instead of /, I'm not 100% sure in Windows world).

On Windows XP the Recover Console can be accessed from the Windows cd rom (installation or whatever it's called), or in some cases when it is already installed on harddisk, you can press F8 before Windows boots to open the Windows boot menu and select Recovery Console from there. If it's not in the list, it's not installed on your HD and you will need to use the cd.

EDIT: if you run fixmbr on XP, it will warn you that it might cause trouble and should only be run if your system is broken or something, but as it is your only choice (unless you want to install a 3rd party bootloader which you already have install disc for), don't care about the message, just continue. It takes a small moment after which your system is back to the stage where it was before Linux.

Usually removing Linux is done the other way around: first replace bootloader, then remove partitions. This way you don't have a non-bootable machine, like you do at the moment.

cherish 01-04-2007 09:17 AM

Thanks for all the replies.

But it seems like my laptop doesnt load my xp disc.
It keeps on loading after the 'press any key to load the CD' command.
However, when i try my disc on my desktop it functions well.
I wonder what could be happening.

nevertheless, is there any way i can fix my mbr without the disc? Cause my laptop cant load the disc, so i have no choice.

EDIT: Is there any bootloader program that can overwriter my mbr?

Duck2006 01-04-2007 12:46 PM

Have you changed to boot from your CD in the systems BOIS?

cherish 01-04-2007 01:23 PM

Quote:

Originally Posted by Duck2006
Have you changed to boot from your CD in the systems BOIS?

yes, it booted from cd right till the stage where it shows 'press any key to load from cd'
then it was loading for a long time that i think it stuck there.

if this problem still persist im afraid i have to wipe the whole harddisk clean and reinstall xp again. But i wonder if the mbr still be there?

Robert Diggs 01-04-2007 01:39 PM

Hey,

This one may sound dumb, but a friend of mine had this problem. Try actually hitting a key when it says "Press any key to load from CD." When he was trying to do it, he didn't hit anything.

Regards,

Brandon

edit: This WILL take a few minutes to load on older computers. Just be patient.

dv502 01-04-2007 02:01 PM

Have you tried using another windows XP cd? Ask a friend or family member if you can borrow the cd. All you want to do is get to the console and type fixmbr. Do not reinstall from that cd. The activation code is different
from your cd. If the same thing happens with the other cd and skips booting from it, then recheck the bios or maybe the cdrom is having some issues.

bottled leaf 01-04-2007 02:51 PM

all you got to do is go into add/remove programs and click "uninstall linux." It will be there. ;)

Duck2006 01-04-2007 03:22 PM

Quote:

Originally Posted by Cherish

if this problem still persist im afraid i have to wipe the whole harddisk clean and reinstall xp again. But i wonder if the mbr still be there?
Yes if it boots from the cd then it may be easyer to reinstall the hale thing.

As for the mbr thats no problem as DV502 has posted from the Recovery console all you have to do is type "fixmbr"

poweredbydodge 01-04-2007 04:47 PM

On a side note... it's funny how Windows screws up the MBR itself. It doesn't use a standard boot loader and instead gives the MBR an equivelant of a 'soft link' to the primary partition, telling it to load whatever OS is present (provided its Windows).

IndyGunFreak 01-04-2007 07:56 PM

Quote:

Originally Posted by Duck2006
Yes if it boots from the cd then it may be easyer to reinstall the hale thing.

As for the mbr thats no problem as DV502 has posted from the Recovery console all you have to do is type "fixmbr"

OK, the fixmbr and fixboot commands all make sense to me, but how does he regain the space that is his Linux install, and allow it to be used under Windows? I've only installed Linux/Windows, on dual drives, never on the same drive, and I could never see my Linux Disk under Windows, and vice versa(never tried to be truthful).

Clean install may be easiest, as for me though, I'm Linux 4 Life! :)

IGF

Wim Sturkenboom 01-04-2007 10:03 PM

Either format the free space or resize/format the partitions. Windows has a disk manager tool somewhere.

Backups are advisable :)

cherish 01-05-2007 12:56 AM

Hi all,

thanks for the advice.

Quote:

Originally Posted by Wim Sturkenboom
Either format the free space or resize/format the partitions. Windows has a disk manager tool somewhere.

Backups are advisable :)

I cant delete the partition because after i delete it, i would not be able to start Grub and not even load. Then my machine would be a junk. :rolleyes:

Quote:

Hey,

This one may sound dumb, but a friend of mine had this problem. Try actually hitting a key when it says "Press any key to load from CD." When he was trying to do it, he didn't hit anything.

Regards,

Brandon

edit: This WILL take a few minutes to load on older computers. Just be patient.
Hmm, i did wait for like 30mins until i realise that it couldnt be that long. Then i tried it on my desktop and within a minute, it's done. Anyway, i did hit a button. Dont worry. ;)


Quote:

OK, the fixmbr and fixboot commands all make sense to me, but how does he regain the space that is his Linux install, and allow it to be used under Windows? I've only installed Linux/Windows, on dual drives, never on the same drive, and I could never see my Linux Disk under Windows, and vice versa(never tried to be truthful).

Clean install may be easiest, as for me though, I'm Linux 4 Life!

IGF
I think all i need is to fix the mbr and then format the partition i used for linux. Now i learned my lesson not to install 2 OS on a physical disk. Troublesome. :mad:

Quote:

all you got to do is go into add/remove programs and click "uninstall linux." It will be there.
yea, i hope it's there.

Quote:

Have you tried using another windows XP cd? Ask a friend or family member if you can borrow the cd. All you want to do is get to the console and type fixmbr. Do not reinstall from that cd. The activation code is different
from your cd. If the same thing happens with the other cd and skips booting from it, then recheck the bios or maybe the cdrom is having some issues.
Ok, I'm trying to get whole of another xp disc. But right now, i have come up with another recovery cd/ bootable cd/ boot up disc. It worked but the same old thing happened. The screen seems to be stuck and nothing goes on after i follow the 'press any key to load from cd' command.


Right now, Im thinking of wiping my disc for sure but how do i reformat and reinstall xp if i cant load from the xp disc? So i thought i might take a risk by reformatting all my partition using norton's partitionmagic and hopefully, it will wipe off my linux plus mbr.

Then i would pray hard the my xp disc can load peacefully and reinstall the whole os. Is this advisable? Any comment in this?

If not i would need to unscrew my harddisk and do a fully reformat and as external drive, which i really hate to do so.

Any advise on both of the solutions?


All times are GMT -5. The time now is 05:17 PM.