LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Uninstalling UBuntu (https://www.linuxquestions.org/questions/linux-newbie-8/uninstalling-ubuntu-572527/)

ram20plus 07-26-2007 03:56 PM

Uninstalling UBuntu
 
Hello folks,

I have a dual boot of UBuntu and Windows XP. I am not familiar with Linux system and thought of learning it. But at this point I don't have the enthusiasm and time to do that. So now I want to uninstall UBuntu and stick to XP for the time being. I tried reading a few topics of this sort but I couldn't not understand completely how I should go about this issue. So guys help out this linux-illiterate.

Thanks,
Ram

pixellany 07-26-2007 04:21 PM

best solution: leave it there until you muster the enthusiasm.

next-best: Use the built-in Windows partition manager to delete the partition. Then use the Windows CD (in rescue mode) to restore the MBR (command = "fixmbr"))

Possible option: If the Windows installation has been there for more than 1-2 years, consider simply re-installing Windows. The folklore is that Windows setups can go bad with age. With Win 2k, I can attest to that.

quincy_the_penquin 07-29-2007 02:45 PM

Well...
 
There's not really any way to uninstall ubuntu, or any OS for that matter, unless you just format the partition it's on. You can remove GRUB from the MBR by running what pixellany said, but ubuntu will still be on the hard drive. Probably the best thing to do is just ignore it until you gather the strength to do something with it.

oskar 07-29-2007 04:14 PM

Of course you can then delete the partition. The fastest way is to start with the win recovery/install cd go into the recovery console and type fixmbr. (This will annihilate the grub boot manager from the MBR (master boot record) and reinstate the Microsoft one. (which will ignore any os besides windows)

After that you go into the partition manager in windows. The fastest way is to type: WIN-R,
write 'diskmgmt.msc' in the window that pops up.

There it should see the ubuntu partition as "unknown partition type" simply reformat it. If you're not sure what you're doing there, ask again. Making a mistake there can do a lot of damage.

Of course you could also just make win start after a few seconds instead of Ubuntu.
Type F2 in ubuntu, or go into the gnome-terminal. Type
Code:

sudo gedit /boot/grub/menu.lst
You can read through it, it will shed some light, but you can ignore the whole ## (explanations) part, and scroll down to where it sais:

Code:

title... [b]Ubuntu[b]...
root...
kernel...               
initrd...
quiet...
savedefault...

And just cut and paste the paragraph that sais

Code:

title... windows...
...
...
...

Above the "ubuntu" one.
This will make win start first. Don't be confused if there are multiple ubuntu entries, those are the entries for the older kernels, just ignore them. Somewhere on top of the file you can reduce the interval, so win starts after eg 3 instead of 10 seconds. (it's self explanatory, you'll find it) :)

This way you can still boot into ubuntu whenever you feel like it.


All times are GMT -5. The time now is 08:53 PM.