LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   uninstalling Ubuntu using Gparted (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/uninstalling-ubuntu-using-gparted-785756/)

kizzy 01-30-2010 12:33 AM

uninstalling Ubuntu using Gparted
 
I have Ubuntu 9.04 and XP Pro side by side on my laptop.
I want to uninstall Ubuntu and reinstall it inside Windows.

Can anyone tell me, step by step, how to use Gparted to do this? I have downloaded it, and burned it to disk. I don't understand the lingo of the choices given on the Gparted. I know I have to delete partitions, but I do not want to delete the wrong ones. (yes, I am a newb)
Thanks.

paulsm4 01-30-2010 01:08 AM

Hi -

You don't "uninstall" Ubuntu with GParted.

And you don't "reinstall" Ubuntu inside of Windows.

So what exactly *is* it you want to do?

What are you trying to accomplish?

evo2 01-30-2010 07:14 AM

I guess you want to install Ubuntu using wubi inside windows. In that case I think you can boot to a live cd, run gparted to delete the Ubuntu partition and then expand the XP partition to use the free space. Then boot into XP and run wubi.

Cheers,

Evo2.

kizzy 01-30-2010 10:30 AM

this is what I am trying to accomplish:

Quote:

Originally Posted by kizzy (Post 3845702)
I want to uninstall Ubuntu and reinstall it inside Windows.


pixellany 01-30-2010 10:37 AM

Quote:

Originally Posted by kizzy (Post 3846181)
this is what I am trying to accomplish:

kizzy;
If you want good help here you need to respond to everyone's suggestions and questions. Just repeating your original question is not very helpful.

So--for example--are you planning on using the WUBI installer? Or perhaps to install a Virtual Machine and then install Ubuntu?

kizzy 01-30-2010 11:55 AM

Im trying to post a reply here and for some reason, it's not going through.

I'll try this one more time...

I do not know what a WUBI is. I just want to get rid of the Ubuntu/partition on my hard drive to free up the space it is taking and install it inside of Windows.

brianL 01-30-2010 11:57 AM

Quote:

Originally Posted by kizzy (Post 3846258)
I do not know what a WUBI is. I just want to get rid of the Ubuntu/partition on my hard drive to free up the space it is taking and install it inside of Windows.

http://wubi-installer.org/

kizzy 01-30-2010 12:01 PM

Thanks Brian, but I have the Ubuntu CD. I know how to install it in Windows. I need to know how to get rid of the Ubuntu partition.

repo 01-30-2010 12:10 PM

In ubuntu, run
fdisk -l
Look which partition belongs to ubuntu
start gparted using the cd, and delete the partition,
(you can see if the partition is for linux if the format is ext)
then expand the widows partition if you want,
using the free space, or format the free space to fat or ntfs
Then boot from the windows cd to remove the bootloader grub from the MBR using fixmbr in the
recovery console

brianL 01-30-2010 12:11 PM

Boot up from your XP install CD (if you've got one), when it asks whether you want to install or repair, press R. When you're in the Recovery Console, type in fixmbr, that will get rid of Ubuntu's GRUB boot loader. Exit. In XP's control panel, open Admin. Tools => Disk Management, then delete the Ubuntu partition.

Beaten to it by repo.
fixmbr first is better, I think.

kizzy 01-30-2010 12:14 PM

TY Repo.
I will try this.

kizzy 01-30-2010 12:15 PM

Thanks also to you Brian.

paulsm4 01-30-2010 01:49 PM

Hi -

Poorly worded question:
Quote:

I have Ubuntu 9.04 and XP Pro side by side on my laptop.
I want to uninstall Ubuntu and reinstall it inside Windows.
Bad solution:
Quote:

Can anyone tell me, step by step, how to use Gparted to do this?
Better-phrased question:
Quote:

I have Ubuntu 9.04 and XP Pro side by side on my laptop.
I want to uninstall Ubuntu and free all available disk space for Windows. Can anyone tell me, step by step, how to do this?
Yes. My suggestion might have been:
1. Uninstall Ubuntu
2. Boot to Windows.
If you have any problems, use the Windows install CD and run "fixmbr" to de-install the Linux boot loader and insure that only Windows boots.
3. <Right-click> My Computer,
Manage,
Disk Management
Delete the non-Windows partition.
Re-create it as a Windows partition and format with NTFS.
4. Voila - done!

In any case, glad you got it figured out!
'Hope that helps .. PSM

paulsm4 01-30-2010 01:53 PM

Hi -

Poorly worded question:
Quote:

I have Ubuntu 9.04 and XP Pro side by side on my laptop.
I want to uninstall Ubuntu and reinstall it inside Windows.
Bad solution:
Quote:

Can anyone tell me, step by step, how to use Gparted to do this?
Better-phrased question:
Quote:

I have Ubuntu 9.04 and XP Pro side by side on my laptop.
I want to uninstall Ubuntu and free all available disk space for Windows. Can anyone tell me, step by step, how to do this?
Yes. My suggestion might have been:
1. Boot to Windows.
If you have any problems, use the Windows install CD and run "fixmbr" to de-install the Linux boot loader and insure that only Windows boots.
2. <Right-click> My Computer,
Manage,
Disk Management
Delete the non-Windows partition.
This will automatically delete Ubuntu (everything but the boot partition, which is neither "Windows" nor "Linux")
Re-create it as a Windows partition and format with NTFS.
3. Voila - done!
If you haven't already done so, run "fixmbr" from the Windows install CD.

Glad you got it working!

'Hope that helps .. PSM

kizzy 01-30-2010 02:07 PM

ok, I tried BrianL's method and got this message;
"This computer appears to have a non-standard or invalid master boot record. FIXMBR may damage your partition tables if you proceed. This could cause all partitions on the current hard disk to become inaccessible. If you are not having problems accessing your drive, do not continue."
So I did not continue.


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