LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-23-2009, 05:29 PM   #1
jbocean
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Rep: Reputation: 0
complete uninstall of ubuntu studio, leave Win XP


I have an old Compaq 6000 w/ Win XP, and I tried to experiement w/ Ubuntu Studio 8.04. Now I am looking to completely uninstall Ubuntu. How do I do uninstall the Ubuntu, w/out messing up Win XP?
 
Old 01-23-2009, 07:38 PM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
First, install Windows boot loader if you are currently using grub, instructions are in post #4.

In Windows XP, go to control panel/performance & maintenance/administrative tools/computer management/disk management. Highlight the Ubuntu partition(s) one at a time and right click it, select "delete partition".
Then, to reallocate the free space back to Windows, download and use Bootitng you'll make a bootable CD or floppy to boot into dos mode with to resize the Windows partition, select "Cancel" to the first window that appears so you don't install it and can do maintenace, click on "Partition work" icon and highlight the Windows partition, hit "resize" and wait for error check, then put the maximum amount of megs. it says you have in the new size field.
You can also use Gparted to do the same, but it can't guarantee "Non-destructive resizing for NTFS", no matter how many "Linux users" have used it successfully to resize NTFS. And Bootitng is a much smaller download and free to use/try for 30 days.

Last edited by Junior Hacker; 01-23-2009 at 08:53 PM. Reason: Added syg00's advice
 
Old 01-23-2009, 07:39 PM   #3
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,633

Rep: Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725Reputation: 725
That's not much useful information to help you.

Do you have any other OS on besides Ubuntu and xp?
How many partitions do you have for Ubuntu?
How many partitions do you have for xp?
What bootloader do you use to boot?
Can you boot into Ubuntu?
If you can, you could run the command: sudo fdisk -l, from a terminal and post the output here.

Since you are the only one who knows where xp is, it would be hard for anyone here to tell you what to do to not damage your xp partition (s), right?
 
Old 01-23-2009, 07:42 PM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
If grub is your boot loader, you can remove it and restore the Windows boot loader following instructions below.
Code:
To restore Windows XP MBR

1: Boot with Windows XP CD in the drive
2: Hit any key to boot from the CD
3: Wait for installer to load drivers in memory
4: When asked to press enter to install, type: r
5: When asked which Windows installation would you like to log onto, 
if there is only one, type: 1  (and hit enter)
6: When asked to type the Administrator password, I hit enter without 
typing anything which will be the administrator password for most OEM 
Windows installations, (No password). If you installed Windows XP 
yourself and added an administrator password, type this password.
7: At the prompt type: fixmbr   (and hit enter)
-**CAUTION** and a warning appear
8: When asked "Are you sure you want to write a new MBR?:" type: y
-The new master boot record has been successfully written.
9: When the prompt returns, type: exit
-The computer re-boots and Windows kernel is loaded.
 
Old 01-23-2009, 07:48 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,203

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
And personally, I would do that bit first. Then however you delete the Linux partitions won't matter.
 
Old 01-23-2009, 10:54 PM   #6
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Question So can I install windows ?

So How can I install windows after linux then, it will probably delete my linux partition right..? How to do without disturbing Linux ..?
 
Old 01-23-2009, 11:05 PM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,627

Rep: Reputation: Disabled
No it wont delete linux partitions if you know what you are doing and where you are installing windows. You should always use free space to install new os unless otherwise needed. After installing windows you will need to reinstall grub.
For that you will need to enter the rescue mode and do it. You can search for it here and find and answer though.
 
Old 01-24-2009, 09:23 AM   #8
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Thumbs down

While installing windows after linux , there is problem for MBR , windows occupy first part of it, normally its happening to me, is there any thing to make it more clear of my prblm..
 
Old 01-24-2009, 09:27 AM   #9
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
Tacking on a query to someone elses topic isn't really the way to ask things, however the answer was already given to you, "reinstall GRUB" is effectively the answer, vibinlakshman. Grub will then take back the MBR and you can then configure your windows installation within grub to be able to boot windows.

Last edited by r3sistance; 01-24-2009 at 09:28 AM.
 
Old 01-26-2009, 12:16 AM   #10
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Cool OK ..

Sorry bro my mistake, i just cant stop my curiosity, that what happened
 
  


Reply

Tags
ubuntu, uninstall


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
Setting up a home studio - Ubuntu Studio vs. JAD yezu Linux - Distributions 3 07-30-2008 12:40 AM
How to Both Launch & Uninstall PDF Studio taurusx5 Linux - Software 1 04-03-2008 02:38 PM
Tried to leave win and got suddenly problems with Suse 10.0 at the first bootstrap Makor Linux - Newbie 1 11-05-2006 02:53 PM
Install Fed but leave Win partition Pedroski Fedora - Installation 5 07-02-2006 01:09 PM
How to reinstall Win XP on dual boot systemand leave SUSE 10.0 intact riba43 Suse/Novell 11 02-15-2006 08:04 AM


All times are GMT -5. The time now is 01:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration