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.

brianL 01-30-2010 02:12 PM

It always says that. I've used fixmbr in the past with no problems.

kizzy 01-30-2010 02:13 PM

I don't have it working, paulsm4.

kizzy 01-30-2010 02:15 PM

ok, will try again.
I'll let you know what happens...

kizzy 01-30-2010 02:34 PM

brianL, I LOVE YOU!
It worked!
thank you all very much for your advice.
;-)

brianL 01-30-2010 02:37 PM

Quote:

Originally Posted by kizzy (Post 3846426)
brianL, I LOVE YOU!
It worked!
thank you all very much for your advice.
;-)

Mmm, I'm hoping you're female...
:D
Glad it's OK.

kizzy 01-30-2010 03:03 PM

lol, yes female. Thanks again.

brianL 01-30-2010 03:07 PM

That's a relief. :)

vigi 01-30-2010 05:47 PM

Just to state the obvious: Be sure to back up your Windows partition and defragment it before using Gparted on it, especially if it is NTFS format.

paulsm4 01-31-2010 01:20 AM

Hi again, Kizzy -

1. It sounds like you're *actually* squared away this time: cool!

2. When you get a chance, please do this:
Quote:

a) Start Windows

b) Right-click on "My Computer". Select "Manage".

c) Double-click on "Disk Management". You'll see all your disk drives, and all of their partitions.

d) Before you ran "GParted", you would have seen some partitions labeled Healthy (Unknown)". These would have been your Linux partitions.

e) For whatever it's worth, you could have freed this space directly from Windows.
Just FYI. That's the suggestion I was trying to make above, in my earlier post.

Congratulations again on getting it working!

Sincerely .. PSM

kstan 01-31-2010 05:01 AM

if u not fix mbr you cannot remove your linux bootlooder from hdd. try to delete the linux partition from xp will cause your entire pc cant boot. try backup your data first then use fixmbr.

brianL 01-31-2010 05:02 AM

It's OK. She's got it sorted out now.

brianL 01-31-2010 05:10 AM

Kizzy
If you ever log into LQ again, please mark this thread as solved.
Or can a Moderator do it?

kizzy 02-01-2010 11:19 AM

thread
 
Will do! I see someone has already done so.


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