LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2007, 03:59 AM   #1
cherish
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Rep: Reputation: 0
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.
 
Old 01-04-2007, 04:07 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
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"
 
Old 01-04-2007, 04:10 AM   #3
bobdevis
Member
 
Registered: Nov 2006
Distribution: Ubuntu 64bit
Posts: 49

Rep: Reputation: 15
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.
 
Old 01-04-2007, 04:26 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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.

Last edited by b0uncer; 01-04-2007 at 04:28 AM.
 
Old 01-04-2007, 09:17 AM   #5
cherish
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
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?

Last edited by cherish; 01-04-2007 at 09:19 AM.
 
Old 01-04-2007, 12:46 PM   #6
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Have you changed to boot from your CD in the systems BOIS?
 
Old 01-04-2007, 01:23 PM   #7
cherish
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
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?
 
Old 01-04-2007, 01:39 PM   #8
Robert Diggs
Member
 
Registered: Dec 2006
Location: Florida
Distribution: The ones that come in magazines and books.
Posts: 136

Rep: Reputation: 15
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.
 
Old 01-04-2007, 02:01 PM   #9
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
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.
 
Old 01-04-2007, 02:51 PM   #10
bottled leaf
Member
 
Registered: Feb 2004
Distribution: opensuse 11.3 x64
Posts: 98

Rep: Reputation: 15
all you got to do is go into add/remove programs and click "uninstall linux." It will be there.
 
Old 01-04-2007, 03:22 PM   #11
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
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"
 
Old 01-04-2007, 04:47 PM   #12
poweredbydodge
Member
 
Registered: Oct 2006
Location: Buffalo, NY
Distribution: Servers: Scientific Linux 5.x // Desktops: Fedora Core (latest)
Posts: 110

Rep: Reputation: 15
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).
 
Old 01-04-2007, 07:56 PM   #13
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
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
 
Old 01-04-2007, 10:03 PM   #14
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

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

Backups are advisable
 
Old 01-05-2007, 12:56 AM   #15
cherish
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
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.

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.

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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstall Linux alnav89 Linux - Software 7 11-22-2005 03:32 PM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 11:03 AM
How do I uninstall Linux? mickdanger Linux - Newbie 6 12-26-2003 10:10 PM
How to uninstall in Linux? felecha Linux - Software 22 06-01-2001 04:17 AM


All times are GMT -5. The time now is 05:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration