LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-11-2006, 06:46 PM   #1
scartissue
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Rep: Reputation: 0
Uninstalling Linux?


Hey all,
I installed Suse 8.1 on my dell PC that already had windows XP on it. I have been unable to boot windows or DOS since the installation.

I searched around a bit and found i can remove linux using the command fdsik /mbr, but this has to be done from the DOS screen.

How do I uninstall at this point?

Thanks for the help.

(sorry for the noob question)
 
Old 01-11-2006, 06:52 PM   #2
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
fdisk /mbr DOES NOT uninstall linux. That command fixes the master boot record so the computer will boot into windows. To uninstall linux what you'll have to do is remove the partitions that were created when you installed linux. Once the partitions are removed linux is "uninstalled." Hope this helps
 
Old 01-11-2006, 06:55 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Use the Windows install CD in rescue mode to restore the Windows mbr.

When you next install Linux, tell the installer to put the boot loader on a floppy---This way, Windows is undisturbed.
 
Old 01-11-2006, 07:03 PM   #4
scartissue
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Centinul
fdisk /mbr DOES NOT uninstall linux. That command fixes the master boot record so the computer will boot into windows.
Ultimately, I just want to be able to access windows, so this sounds like a good option. The problem is, I cant execute the command due to the fact I cant bring up DOS.

Quote:
Originally Posted by Centinul
To uninstall linux what you'll have to do is remove the partitions that were created when you installed linux. Once the partitions are removed linux is "uninstalled." Hope this helps
What steps do I need to take in order to delete the partitions?
 
Old 01-11-2006, 07:03 PM   #5
zhy2111314
Member
 
Registered: Aug 2005
Location: China
Distribution: redhat(Fedora Core)->Debian Sid->Slackware
Posts: 91

Rep: Reputation: 15
Quote:
Use the Windows install CD in rescue mode to restore the Windows mbr.
That's right. And you should type the following command to fix the mbr for windows:
Code:
fixmbr
then
Code:
fixboot c
if your windows is installed in C: partition.
 
Old 01-11-2006, 07:03 PM   #6
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Or better yet, which bootloader are you using (usually grub or lilo) and maybe someone can help you figure out how to boot your Windows partition from the boot menu.
 
Old 01-12-2006, 12:29 AM   #7
scartissue
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pljvaldez
Or better yet, which bootloader are you using (usually grub or lilo) and maybe someone can help you figure out how to boot your Windows partition from the boot menu.
I believe the bootloader is lilo.

I'll try using the windows CD in the meantime. Thanks for the help!
 
Old 01-12-2006, 10:12 AM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,144
Blog Entries: 4

Rep: Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715Reputation: 2715
(If it's not already too late...) "Not so fast, pal!"

Right now, if you installed Linux, the master-boot-record is pointing to Linux's boot-loader, which you said is LILO. The Windows-XP installation, with its boot-loader, is presumably still there but the MBR doesn't point to it.

Instead of succumbing to the "knee-jerk reaction" approach to getting back on familiar territory, why not spend a little more time where you are? The lilo or grub boot loaders can also be configured .. quite easily in fact .. to start Windows. But it's much harder to configure the Windows boot-loader to start Linux.
 
Old 01-12-2006, 11:05 AM   #9
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Here's an example of how to set up both lilo and grub for dual booting with windows. Just be sure to run /sbin/lilo -v before you reboot or the changes won't take effect.

http://www-128.ibm.com/developerwork...w01LILOandGRUB
 
Old 01-12-2006, 10:17 PM   #10
scartissue
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by zhy2111314
That's right. And you should type the following command to fix the mbr for windows:
Code:
fixmbr
then
Code:
fixboot c
if your windows is installed in C: partition.

OK, so I used the Windows install CD in rescue mode and executed the commands above.
After I rebooted windows did not boot, instead I got "strike f1 to boot again or f2 for setup"

I take it this means that windows partition was overwritten when I installed linux?
 
  


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
Uninstalling Linux nunnsy182 Linux - Software 4 12-21-2005 06:24 PM
Uninstalling Linux? Pathian Linux - Software 7 11-29-2003 10:59 PM
regarding uninstalling Linux yui Linux - General 10 09-20-2003 12:36 PM
Uninstalling Linux OxyBoy Linux - General 3 02-19-2002 08:31 AM
Uninstalling Linux!!!!!! pixelhype Linux - Software 4 01-06-2002 11:07 PM


All times are GMT -5. The time now is 02:23 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