LinuxQuestions.org
Visit Jeremy's Blog.
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 04-12-2009, 05:46 AM   #1
Mridulj
Member
 
Registered: Jan 2008
Posts: 48

Rep: Reputation: 15
Removing Linux From a system


How do we remove Linux from a dual booting machine ( XP2 and Fedora 7) ?
 
Old 04-12-2009, 05:56 AM   #2
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
You'll need to boot from the XP installation disc and go into rescue mode. You will get a DOS shell where you need to run the command 'fixmbr' - this will wipe out GRUB and your computer will boot back into XP as it did before Linux.

Then, you'll need to wipe out the Linux partitions using the tools you have on XP. To do this, right-click on "My Computer" and choose "Manage". Go into "Disk Manager" and identify the ext3 and swap partition. Delete those partition (be careful not to delete an XP partition) and create XP partitions in their place. Format the new partitions and give them a drive letter (like D: or E: ...).
 
Old 04-12-2009, 12:05 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
Ummmmm.....after this question, we have your questions on how to print, etc.

So do you want to remove Linux, or learn to use it??????? (Either way, we can help.)
 
Old 04-12-2009, 01:49 PM   #4
Mridulj
Member
 
Registered: Jan 2008
Posts: 48

Original Poster
Rep: Reputation: 15
in reference to udi(reply),

I tried this earlier but as long as grub remains in the machine
it does allow the Xp cd to proceed any further .When the cd is inserted only the 1st screen comes showing the message "Setup is inspecting your hardware configuration" and afterthat it remains blank ( black screen appears ).
 
Old 04-12-2009, 02:13 PM   #5
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
GRUB is not the cause of this problem. I don't know what is the cause, but it has nothing to do with GRUB. If your computer successfully booted from the Windows installation CD, and then got stuck, you should ask about it in a Windows forum. There could also be something wrong with the computer, or maybe you have special hardware that requires special drivers during installation.

Sorry that I can't help more.
 
Old 04-12-2009, 02:20 PM   #6
Mridulj
Member
 
Registered: Jan 2008
Posts: 48

Original Poster
Rep: Reputation: 15
As you are mentioning that Grub may not be the problem .
But there is nothing wrong with the computer and the machine
didn't get stuck the machine still runs but the screen remains black .
 
Old 04-12-2009, 02:33 PM   #7
Mojojo
Member
 
Registered: May 2003
Location: Philadelphia/PA
Distribution: Mint/Debian
Posts: 447

Rep: Reputation: 32
You have to enter your bios and set it to boot from the cd device first.Also you cannot delete a swap or ext3 partition in windows because windows does not recognize the filesystem. So unless you want to invest in software like Partition Magic? I would use the linux disc to format the linux partitions into FAT so windows will recognize them and then boot from the windows disc and restore the MBR.
 
Old 04-12-2009, 02:44 PM   #8
Mridulj
Member
 
Registered: Jan 2008
Posts: 48

Original Poster
Rep: Reputation: 15
main problem is that though I can boot from the Xp cd .
It does not proceed further after a certain point saying
"Setup is inspecting your hardware configuration " and then
the screen goes blank .
 
Old 04-12-2009, 03:18 PM   #9
Mojojo
Member
 
Registered: May 2003
Location: Philadelphia/PA
Distribution: Mint/Debian
Posts: 447

Rep: Reputation: 32
Boot from the windows XP CD, press the "R" key in the setup in order to start the restoration console. Select your windows XP installation from the list, and enter the administrator password.
Enter the command: "FIXMBR" (without the quotes) at the input prompt and confirm the next question with a "Y" (without the quotes). Use exit to restore the computer.
Also Have you tried using the fedora disc to remove grub? I have not used fedora in a few years but all distros usually have a repair option somewhere. If the XP disc won't boot then I would say that the media is bad and may wanna see if you can get another copy or like I stated above you need to set up your bios to boot from CD first? Otherwise use the fedora disc and remove grub with fdisk. You will also have to format the linux partitions to FAT so they can be used or reformatted in windows.
There are alot of tools out there such as Live linux distros and Bart's bootable CD-Roms use google this problem is all over the internet.I would suggest removing Windows that would be easier to do but that's just me.Either way back up anything you don't want to lose before doing anything!
 
Old 04-12-2009, 03:58 PM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
The Windows installer will often not recognize a drive which has "Non-Windows Stuff" in the MBR--or possibly anywhere in the first 63 sectors. I seem to remember that just erasing the MBR will fix it, but you might have to erase all 63....

From any live CD (including most linux install CDs):
dd if=/dev/zero of=/dev/sda bs=512 count=63

The above assumes you want to act on the first hard disk.

Quote:
Originally Posted by Udi
If your computer successfully booted from the Windows installation CD, and then got stuck, you should ask about it in a Windows forum.
We help on Windows!!!! Or you could always try http://windowsquestions.org

Quote:
There could also be something wrong with the computer, or maybe you have special hardware that requires special drivers during installation.
Probably not.....
 
Old 04-12-2009, 04:47 PM   #11
Mojojo
Member
 
Registered: May 2003
Location: Philadelphia/PA
Distribution: Mint/Debian
Posts: 447

Rep: Reputation: 32
Quote:
Originally Posted by pixellany View Post
The Windows installer will often not recognize a drive which has "Non-Windows Stuff"
Try won't ever! They proved again in Vista that they have no plans to play nice with any Linux distro.They know people dual boot so it would be nice to have access to those partitions no matter which OS you boot into.I never had a problem accessing a windows drive from linux.But windows to linux has never worked without some third party app.I used EXT2 IFS in vista and thought I had traveled back in time too 1995.I was met with a blue screen almost daily until I uninstalled it.

Anyway I also forgot to add I had used a program in Vista which may also work in XP just don't quote me on it. If you can boot into windows try installing EasyBCD here is the link! http://www.softpedia.com/get/System/.../EasyBCD.shtml
From what I remember it had the capability of restoring the windows bootloader? I no longer have a windows machine in my household or I would test it for you but could save you alot of headaches?

Last edited by Mojojo; 04-12-2009 at 04:48 PM.
 
  


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
Removing an old kernel from my system GGlinux Linux - Newbie 4 03-10-2009 01:32 AM
removing the X11 system entirely? hatchetwkd Linux - Newbie 1 06-22-2008 02:37 AM
LXer: Removing A User From A Linux System LXer Syndicated Linux News 0 04-05-2006 01:21 PM
system faliure after removing linux emadasfour Linux - Hardware 5 10-21-2003 12:06 PM
removing linux redhat 9.0 from a system to install windows xp mop_like_dog Linux - Software 3 10-09-2003 07:31 AM


All times are GMT -5. The time now is 04:52 PM.

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