Wednesday, May 2, 2007

How to remove Ubuntu from a Vista dual-boot config

On my new PC I wanted (still want) to have to a go with Linux. I chose to experiment with Ubuntu. I downloaded the desktop CD, burned it, freed up some disk space (inside Vista) and loaded up Ubuntu from the CD. After some experimenting I figured out how to install Ubuntu in the empty disk space and it all worked fine (GRUB took over my booting (recognized Vista automatically!) and Ubuntu loaded up fine).

Then I tried to install my GPU drivers and everything went wrong.. For some reason Ubuntu wouldn't boot anymore (failed to load X-Server or something). I was completely lost and wanted to remove Ubuntu.

This is where things start to get really messy!

If you simply remove the Ubuntu partition, GRUB (Linux boot loader) will still be on your PC (in control). It will trip out, as the Ubuntu partition will be removed.. Bad thing!

So you need to restore your Master Boot Record (MBR) for Vista (so that Vista will handle the booting, not GRUB).

Google only pointed me to sites that explained how to REMOVE VISTA, which isn't what I wanted. Many sites talked about the 'fixmbr' command, but this is really only available in Windows XP.

So how do you restore your MBR for Windows Vista?

1. Put the Windows Vista installation disc in the disc drive, and then start the computer.
2. Press a key when you are prompted.
3. Select a language, a time, a currency, a keyboard or an input method, and then click Next.
4. Click Repair your computer.
5. Click the operating system that you want to repair, and then click Next.
6. In the System Recovery Options dialog box, click Command Prompt.
7. Type Bootrec.exe /FixMbr, and then press ENTER.

That's it. Now when you reboot your PC, Vista will load automatically... You can now safely boot using your Ubuntu desktop CD, to use the built in Gnome Partition Manager to remove your Ubuntu partition!

116 comments:

Anonymous said...

Will this work with XP also?

Snehith said...

can't i use the default windows partition manager to format the partition that contains ubuntu?...

Ashton said...

Snehith-

not if your grub boot folder is on the same partition of ubuntu. otherwise the MBR crashes.

Ashton said...

Or if it was after you fixed the MBR then I think you could. whoops!

TGLB said...

thank you for this incredibly useful advice, it worked like a charm

for me, once I installed ubuntu on my vista machine, I kept getting the grub error 17...now at least I can get back into vista

thanks again!

Nineless said...

So you searched to find the answer to the harder to find solution to removing Grub then to searching for the solution to your graphics card driver problem? It's Linux. Know what you're getting into, don't run away the moment you meet a difficulty, learn.

Anyways, assuming you use NVidia you probably only had to install the nvidia-glx-new package instead of the nvidia-glx one (that is, if you have a newer NVidia Graphics card, 6 series + iirc). I had that same problem, I knew I would run into problems from the start with Linux. Managed to solve it without Google, just by RTFM and experimenting a lot.

Either way, it's a useful tip for people who wish to abandon Linux at the first problem they come across.

Anonymous said...

I love you.


Honestly, I have been trying to figure this out and nothing has worked until bootrec /FixMbr. Thanks.

Aaron said...

I need help in removing my bootloader but I have lost my vista disk and I cant find help on how to remove Linux and use Vista.
Could you please help me?

Rj said...

Thank you sooooooooo much. You dont realise how much this has helped me. I had important files for college that i couldnt access because grub wouldnt let me access vista. Thanks thanks thank you.

Did i forget to say thanks?

mark said...

for those of you without the ease of having a Vista DVD, use this, it works great...

http://supergrub.forjamari.linex.org/?section=download

JDS said...

I'll have to agree with nineless here: I'm sure there is a way to get Linux running again instead of ditching it for the harder-to-find-and-fix MBR problem.

Why would you want to use Vista anyway? :)

JDS said...

Oh, and the very easy solution to get the X server running again is to change the driver in /etc/X11/xorg.conf from 'nvidia' to 'nv' or 'vesa'.

It wasn't the OS that didn't boot, it was just the windowing system.

Anonymous said...

YES thank you! amazing, this helped 1000%.

Anonymous said...

Thank you my Friend, it was the only solution for repairing my problem with the missing dvd drive after having installed ubuntu in dual boot over windows vista. Thanks Thanks and Thanks again.

Anonymous said...

I was used to the old "fixmbr"-way with Windows XP so I had some problems at first.

Thanx to your tip ("bootrec") I'm saved again.

Worked like a charm!!

Anonymous said...

thank you so much!

Anonymous said...

Vista Recovery options can be started from the bootable vista dvd OR, if computer manifacturer has provided recovery solution, can be launched directoly by pressing F8 during boot and then selceting System
Restore.

Jake said...

Nineless and JDS: get real. Linux, Ubuntu, etc. are not for everyone. Some people actually have real work to do instead of dicking around with an OS for days and weeks.

Installing downloaded files and drivers (especiall video card) can be a TOTAL NIGHTMARE.

Double-clicking to install a file, heard of it? Apparently Ubuntu has not. Ugh.

Geez, just getting Windows to boot-up after you uninstall Ubuntu is a real pain with that stinkin' Grub it loads up on everything in sight. Thank goodness for Bootrec /FixMbr. But even finding that fix can be a chore.

Happily going back to Windows, who woulda thunk it?!

Anonymous said...

Thank You!
I love Ubuntu but never use it because as a web designer i use Photoshop Daily and my Vista partition was low on space so i was looking for a guide to getting rid of Ubuntu.
Worked perfectly.

Anonymous said...

Thanks. You saved me a great deal of trouble!

Anonymous said...

how do u use the gnome partition manager?

Leo said...

I have to agree with Jake.
I too have had numerous problems with Ubuntu on my laptop. From an intermittent wireless connection to all sorts of video problems.

The concept of a free, open source operating system looks great on paper, but spending several hours, maybe days, just to get it to work normally is unacceptable.

Anonymous said...

Is there anyway of doing this if you don't have the vista install disc, because my computer did not come with one.

timtalks said...

OMG TY TY TY TY! i was in the same boat... and VERY scared... but TY it worked 100%

Anonymous said...

all i can say is man, i freakin love u, u saved my ass on this one, too bad there werent more ppl like u on the web

Sanjeev said...

Thanks for this.
I was however on the road and needed the extra HDD space on my laptop and since I wasn't using the dual boot Ubuntu anyway I decided to get rid of it. Now comes the hard part - No Vista install media!!!
I found a way to do it extremely simply because I needed to change the Vista bootloader also (I was triple booting XP/Vista/Ubuntu...)So here are the steps -

Download and install EasyBCD (google for it you'll find it easy and it's free...)
Fire up EasyBCD (you may have to choose Allow if you have UAC on) and choose 'Manage Bootloader' in the toolbox on the left
In the first option choose the radio button which says 'Reinstall Vista Bootloader' and hit the Write MBR button
Reboot and you have your Vista bootloader back!! Delete the Ubuntu Partition using Storage Manager and you are now good to go...


I found this to be the easiest way to remove Ubuntu and it doesn't require any install media...

Anonymous said...

thanks a lot!

Colafos said...

My situation with Ubuntu and Vista dual boot is much worse. Vista will not boot after installing Ubuntu. Ubuntu however still works fine. If I choose Vista in the Grub bootloader it proceeds for a bit and then gets stuck. I put in the Vista CD to make repairs and it finds no Vista install anywhere. If I try to reinstall Vista on the same hard disk and partition, the disk is deemed as unsuitable.

Anonymous said...

Thank you soooo much....

Mark said...

Thank you so much sanjeev. I don't have Vista boot media, and this was invaluable.

Anonymous said...

YOU SAVED MY F-KING LIFE. i got in way over my head playing with ubuntu on my BRAND NEW notebook, literally less than a week old. i had the same problem and i was straight up about to cry because i couldnt fix it. you have no idea how much i appreciate this help. YOURE THE MAN.

Anonymous said...

awesome dude, linux = cbf

Anonymous said...

This was quite helpful. Thanks a bunch!

Anonymous said...

Thank you very much for this guide. You have saved me one hell of a headache! Once again, thanks!

arifanda said...

Dear Sanjeev...
thx for the solutions !! :)
coz i don't have a vista installation DVD.

Anonymous said...

I Love You. Thanks!

Anonymous said...

THANKYOUTHANKYOUTHANKYOU. That was quick,simple, and easy. Like many other people, you saved me from one hell of a headache.

Sprawl said...

this is probably you 60-million^th thanking yet but thanks a lot for the quick and easy to follow guide.

Last minute question though, but is there anyway to take the now unallocated space I have left and add it to my existing vista partition, or is that impossible without formatting the entire computer?

bob said...

Sprawl, you can do it via the storage manager right click vista partition and then hit the resize partition i think its called.

Sprawl said...

Cool I'll try it out though I actually just opted to use it to install fedora (which has been running without a hitch ^_^)

Anonymous said...

Sanjeev, the EasyBCD process worked great. At the end you said to "delete the Ubuntu Partition using Storage Manager". Where and what is Storage Manager?
Is that in Vista? Or, is it a seperate app?

thanks

Sanjeev said...

To Anonymous -

By Storage Manger I mean the Vista Disk Manager. You can find it by right clicking Computer, choose Manage, and then double clicking Disk Manager in the Storage tab.

Hope that helps

Anonymous said...

wow thank you so much, i had accidentally messed up my ubuntu partition and my pc wouldnt boot, found this post and followed every step exatly and it worked like a charm. very easy :)

Nexus said...

Me and my friend had downloaded Ubuntu onto my Toshiba laptop that runs on Vista originally. We followed the steps, yet it says there is no Vista operating system on it. However, when we were looking at things with the recovery disk (without actually doing any recovery, just looking at the menus), parts of Vista would show up. Now we are very confused as to what is going on. Anyone know what is going on?

shiva said...
This comment has been removed by the author.
shiva said...

If you are stuck in a dual boot with Ubuntu/Vista or triple boot with Ubuntu/Vista/XP and want to remove Linux without affecting XP and /or Vista , there are many options..
If u have a Vista DVD, just boot off it and use the recovery console. Type bootrec /fixmbr
That's it you are done. If you don't have Vista DVD, then there are a few options.
If you have deleted your Ubuntu partition from Windows you might that your system refuses to boot. Download Super Grub Disk and burn it to a cdrom, you can restore Windows after booting from that.

ps: VistaBootPro does not work in this situation, but you can use it to do lots of other cool stuff.
If you can boot into Vista then, there is a easy way. Just follow the steps below:
1. Download MBRFIX.EXE from http://www.sysint.no/en/Download.aspx
2. Put it in your C or D drive. It does not matter where. Now right click on it and select security tab. Make it "Run as Administrator"
3. Type cmd in vista search box in start menu and right click it and select run Run as Administrator.
4. In the command prompt go the directory where u have MBRFIX and now type MbrFix /drive 0 fixmbr /vista /yes . This wont work without administrator permissions. Replace 0 with the number of ur drive. Just leave it if u have only one hard disk
That's it reboot and Vista boot manager will be back in place of Grub. Now you can go into Disk manager and format Linux partitions and reclaim the space

shiva said...
This comment has been removed by the author.
shiva said...

If you are stuck in a dual boot with Ubuntu/Vista or triple boot with Ubuntu/Vista/XP and want to remove Linux without affecting XP and /or Vista , there are many options..
If u have a Vista DVD, just boot off it and use the recovery console. Type bootrec /fixmbr
That's it you are done. If you don't have Vista DVD, then there are a few options.
If you have deleted your Ubuntu partition from Windows you might that your system refuses to boot. Download Super Grub Disk and burn it to a cdrom, you can restore Windows after booting from that.

ps: VistaBootPro does not work in this situation, but you can use it to do lots of other cool stuff.
If you can boot into Vista then, there is a easy way. Just follow the steps below:
1. Download MBRFIX.EXE from http://www.sysint.no/en/Download.aspx
2. Put it in your C or D drive. It does not matter where. Now right click on it and select security tab. Make it "Run as Administrator"
3. Type cmd in vista search box in start menu and right click it and select run Run as Administrator.
4. In the command prompt go the directory where u have MBRFIX and now type MbrFix /drive 0 fixmbr /vista /yes . This wont work without administrator permissions. Replace 0 with the number of ur drive. Just leave it if u have only one hard disk
That's it reboot and Vista boot manager will be back in place of Grub. Now you can go into Disk manager and format Linux partitions and reclaim the space

Anonymous said...

I just used EasyBCD to rewrite the Vista MBR (which was VERY easy and worked great), and then I deleted the Ubuntu partition. However, now I am left with 50GB of free space on drive C: and no ability to extend the Vista primary partition. I've tried some free partition editing software and none are able to do it.

Anyone know what I can do?

Thanks in advance!

Sanjeev said...

You could try the GParted live CD (available here ). Just boot from the CD manage your partitions and you are good to go...

Anonymous said...

how do you boot from the CD to manage the partitions?

dasfast said...

Thank you so much for this info. I just saved my Vista x64 Ultimate installation on my new laptop. Thanks!!!

Mark said...

To one of the anonymouses whose computer didn't come with an XP cd, you probably have a Dell, right? Dell has a special partition built in to reinstall/repair. Just hold CTRL-F11 while booting to access it.

Anonymous said...

THANK YOU! This would have saved me a lot of trouble with other computer if I had known this. Instead of the Gnome Partitioner, can I just delete the partitions with Vista Disk Management after I do the bootrec.exe thingy?

ateban_sk8_4_life said...

Where do i get a Vista Disk Managment????

Roy said...

vista disk management can be accessed my right-clicking computer then going to manage. then under storage double-click disk management.

what i have trouble on is that after i delete the ubuntu partition, im left with a "free space" partition. how can i merge that back to my (C:) drive?

Sanjeev said...

Roy,

In storage manager, just right click the parition you want to extend (I expect C in your case...) and click on extend partition. Use the sliders to extend it to include all the free space...

Cheers

Sanjeev

Anonymous said...

To access Vista disk management

right click on computer

select manage from the drop down menu

select disk management

now you can delete you partitions and resize them


you guys need to spend some time with ubuntu and at least tryand learn something

Roberto said...

I have Vista and Ubuntu installed - the Ubuntu installs first and is misbehaving. I have surfed over many websites and become more and more confused (there are also downright misleading and wrong instructions everywhere)but this chaps guidance is right on the button - all I have to do now is uninstall the ubuntu partition but it my computer is now booting up in Windows first and that is a major achievement - Many thanks

Grayson said...

Will this work without a vista disk only a vista recovery drive? and will this delete all my files or will i still have my games,saves, docs etc.? thanks....

could you reply to my email? grayson124@hotmail.com T


Thanks!

GSF1200S said...

All you had to type at the command line was:

sudo dpkg-reconfigure xserver-xorg

and either reboot as you would in the windows world, or type the following:

sudo /etc/init.d/gdm restart

It amazes me- people expect everything to work perfect- try installing XP or Vista on a new computer without the driver disc. Ubuntu manages to work out of the box on 98% of computers with little modification, utilizing a fraction of the developer base or funds of windows. If only people would stop giving up and would just stick with it, wed be even further along in helping you to have a better computer experience...

johngachui said...

I tried removing the dual boot GRUB menu using fixmbr and fixboot and could not do so.

This is whay eventually worked.

1. Delete the Ubuntu partition using the Vista's Admin/Data Storage options in the control panel

2. I then downloaded EasyBCD (free)and it removed the GRUB menu first time.

I then used Vista's Admin/Data Storage options in the control panel and resized the main partition to take up the empty ubuntu partition.

Good luck

Anonymous said...

very useful post
thanks

Charlie Meyers said...

This will leave the vista files intact, right?

Bryan said...

Thanks to the original author for getting this discussion started and thanks to Sanjeev for two of the most helpful comments I have seen to a post...ever.

One note to those who are having trouble extending the partition to take advantage of the newly available free space in the disk management dialog: If your free space is still labeled "Free Space" you'll need to right click on it and "Delete volume". It will then become "Unallocated" and you can extend your NTFS partition.

Sanjeev said...

Thank You Bryan, I am honored.


Also, to all you people reading this who want to try Ubuntu witout messing around with your primary hdd, I am curently dual booting Ubuntu 8.10 (Intrepid Ibex) which I have loaded on an external drive. So when I plug in the drive - I boot Ubuntu, else Vista...

With this release of Ubuntu, I believe there is a real alternative to all the Windows variants and it is much faster than any that I have used before. Having said that, there are still times when I have to use Windows based progs whilst I am in Ubuntu, so I use VMware and use a virtual machine inside of Ubuntu.


Anyone who requires any further information on creating an external Ubuntu boot disk can give me a shout, and I would be glad to help...

Cheers All

Edward said...

Ya well, I've used Linux off and on since 1998 and every once in a while I come back to it so see how things have progressed as far as being able to use it as a Windows replacement. Sadly, not much progress has been made. Ubuntu, praised as the Windows killer is nothing but junk, horrid hardware support, buggy drives, who writes the reviews for this stuff?

I don't think I'll bother anymore, I have Nasty ol' Vista running on my DV2700 fine and Leopard on my MBP. I just thought it would be nice to dump Vista for certain things.

I read an article on why Linux will never make it. Put simply, way way too many egos and people who think they know now to configure an OS. Too true..

pphammer said...

When I installed ubuntu, it seems to have taken over all of my hard drive. I thought I had made a dual boot system (at least that is what I though I had asked for on the ubuntu CD). When I put in my vista recovery disk, it seems to be going along well saying installing files, then suddenly it comes up with an error code saying 'system mismatch'.

I really do want to put vista back on mainly because I want microsoft office.

I am also not very experienced with computers, but can follow simple, clear instructions. Any ideas? :(

pphammer said...

Update - says 'type mismatch' not system mismatch

Anonymous said...

Can anyone help me with 2 grub menus? I initially installed Ubuntu in Vista NTFS partition. As I could not do some disc burning due to its smaller partition size, I deleted that partition and reinstalled Ubuntu in a new bigger ext3 partition. Now I end up with 2 grub menus, i.e., 1st grub for the newly installed Ubuntu and second list (if I choose vista option) from the deleted Ubuntu. I do not want to destroy the first grub menu. Thanks in advance.

Anonymous said...

Sanjeev, many thanks (again) for your contribution. I had installed Ubuntu because my new computer, with Vista Home Basic, did not have Remote Desktop (inbound), which I need. I thought I would try Ubuntu, then found z2Remote2PC at www.z2software.com, which works great, but in Vista, not Ubuntu. So I wanted to get back to Vista and EasyBCD did the job perfectly. Question: How do I know which partition is Ubuntu, in order to delete it? Disk 0 lists 5 partitions: 1=14.65GB "Healthy (EISA Configuration)"; 2=C:41.34GB NTFS "Healthy, Active System, Primary Partition" (presumably Vista); 3=11.82GB "Healthy, Primary Partition); 4=580MB "Healthy, Primary Partition"; 5=D:80.65GB NTFS "Healthy, Primary Partition". So I guess its 1, 3 or 4, but how do I tell which is Ubuntu?

Sanjeev said...

Hi Anon,

Do you have a Dell PC? If so, partition 1 is most likely the Dell recovery/diagnostic tools partition. Partition 3 seems to be the main Ubuntu partition and Partition 3 would probably be the Ubuntu SWAP partition.

So, you could delete partitions 3 and 4 to reclaim space - be sure to extend partition 2 to include the newly created free space...


In case you have a recovery DVD from Dell, you could get rid of Partition 1 also and use the space if you need it...


Regards,

Sanjeev

Sanjeev said...

Hi Anon,

Sorry, but te comment above should read Partition 4 as your Ubuntu SWAP partition...

Regards,

Sanjeev

Anonymous said...

Hello, I had done these exact steps and now my Vista won't load at all, just freezes on boot. Has anyone experienced that? If so, please let me know. fuzzyred3@hotmail.com

Anonymous said...

Hi There,
Thanks you to the Author and sanjeev for your help with this, thankfully i wasnt in as bad a situation as some of the people on here but all you comments helped loads!! Thanks you!

Anonymous said...

Awesome! Awesome. I did the EXACT same thing you did (Loaded Ubuntu, Loaded Vista, tweaked Ubuntu's video settings (nVidia) and broke Ubuntu, reallocated the Ubuntu hard drive space so that Vista could use it (via Vista's handy hard drive tools), rebooted, and got hung up on Grub's Error 17).

Your solution worked perfectly. Thank you for sharing this with the world.

dadala said...

wow, EasyBCD really works well Sanjeev. Manage to recover my notebook with out Vista installation disc
thanks so much Sanjeev. thanks lot again

Anonymous said...

I did the exact steps but when I rebooted, it still asked me whether I wanted to boot Vista or Linux.

There was no error and it said it completed the task when I used the recovery cd, but isn't vista supposed to boot automatically afterwards?

Anonymous said...

for WIN XP type FIXMBR

Thomas Christian said...

DUDE, YOU RULE, thank you so much!

waitn2drive said...

How can I do this without a windows vista os disk? please help me!

Anonymous said...

i have a vista machine, installed xp second and ubuntu third.i need to uninstall then reinstall ubuntu. if i use easybcd to restore vista bootloader will that keep xp from loading?

Prateek said...

Thank you very much,...
You've saved my 1 hr of Formatting time...

marloes said...

hallo

If i go back to the fabricinstallation is the ubuntupartition gone then? I have a dualboot Vista/ubuntu.

I am from Holland and i do hope you understand my question.

Marloes

Kayla said...

The article written by your very good, I like it very much. I will keep your new article. This is my web site http://www.crazypurchase.com, we do China Wholesale, wholesale from china, buy products wholesale , China Wholesalers, who are interested, you are welcome to look at.

Anonymous said...

I dont have a dvd but my vista have a recovery program so i will just run the recovery and enter the commandpromt and enter the code you said:D

marloes said...

Will this work with the recoverycd also?
I want to remove all of Ubuntu also Grub

Marloes

Anonymous said...

done on vista ultimate 64 bit - FLAWLESS VICTORY!

Anonymous said...

Worked just great with the Vista Recovery disk, thank you! :)

ColdPwnage said...

My computer didn't come with a restore disk... just a partition. Does it work the same way?

yes said...
This comment has been removed by the author.
yes said...

well the best choice is with the Easybcd download this program from here http://www.pcworld.com/downloads/file/fid,66204-order,1-page,1/description.html
Normaly in vista it put within the NeoSmart Technologies folder in the start menu, look for the command "Add/Remove Entries" and magically your headache despair....

good luck

Anonymous said...

Thank you so much! I've just screwed up my Ubuntu system, and your article saved my day! ^_____^

Rich said...

Thank you. After hours of trying to get Windows to load after clearing ubuntu all I needed was the installation disk and two words 'Bootrec.exe /FixMbr'. All I got then was the three words 'Operation completed successfully' and a fixed computer :) This works for Windows 7 which is what I was trying to repair.

Anonymous said...

Not sure if anyone will actually read this, but...

Thanks a ton Sanjeev, for very clear directions on how to fix my problem. Hard to find that usually,

and then also to Bryan for the same.

your year-old comments have been a great help :D

(Someday, I'll retry Ubuntu, but I'm a slight bit busy right now)

blognya ipank said...

thank you .. my vista running normally again :)

jeff said...

Very helpful, a shame the spambots got to this page, though.

Special thanks to Sanjeev, you rule man.

Anonymous said...

Thank You very much...your method of removing the grub issue works with vista as well as windows 7

once again thanks

Anonymous said...

thank you very much

Anonymous said...

Interesting to see how many people runing back to windows after having the firs problem with Linux. These people I think more then happy with the restricted Microsoft world. I bet if you guys google about your linux problems as much as you did about how to remove your linux you would have sorted out the problem under linux. But anyway the procedure how to remove linux is handy. I'm a big linux fan but when it is time to sell my laptop due bought a new one. I know non of you folks would buy it with a dual boot cause you are scarred of linux. So this methode helped me to remove the ubuntu from my laptop before selling it. Thanks.

Nickname unavailable said...

Thanks - this was a quick way to get my machine back up and running!

raj said...

Thanks it's working.

Paul said...

Worked fine on Win 7 too! Thanks.

vidya said...

Amazing..Thanks it worked:)

Uttam said...

Thank You Bryan,
it works !!!!
thanks for this post

Karina Linn said...

When I got to the "Repair your computer", I couldn't figure out which one to click to repair. There is nothing on the list, so I had to click "Load Drivers". On the list, as a file, was sfpat, sfpatlh, upgcompat, osfilter, sfpat2k, and sfpatxp. Each one, when clicked on, said "The specified location does not contain information about your hardware". Then, there are folders, as follows: adprep, en-US, license, servicing, dlmanifests, inf, and recovery. Each folder has more folders in it, and some of those have no files in them what so ever. I already got rid of ubuntu, uing the command prompt you told us to use. So now, I have no operating system on my computer. Which operating system would I want to repair? Thanks.

Jesus said...

Great!! I follow the instructions and fortunately they were simple. One thing that was not mentioned is that AFTER executing the Bootrec.exe command, I restart with the UBuntu CD (mine is Netbook Remix version)and select the first option: Use Ubuntu without affecting you system files. Then when Ubuntu was loaded I went to System - Administration and selected: Gparted so I could delete de partition.
In mi case I deleted first the swap partition, the Ubuntu one, and finally REDIMENSION de NTFS partition by dragging it so I could use again the whole disk space for Windows Vista... then click the Check button. Restarted the machine (without any CD)... Windows begun a checkup of the disk.... waited... and walaaaaa. I was again on track! Thanks for this tutorial.

sandeep said...

Thanks to the author and thanks to sanjeev.

Anonymous said...

Thanks a lot... It is working...

Zac Massey said...

I just need to know something before I do this...
Will any of my files from Windows Vista be messed with?
I don't want to delete all of my files in Windows Vista.
Please reply to me!!
matrzac@yahoo.com !
Reply quick please, my C drive went to hell because of Ubuntu!
I had 130GB left before Ubuntu, now I have 20GB.
PLEASE HELP MEEEEE!!!
Thanks!!

Oliver said...

Thank you so much for your tutorial, I would've had no idea how to remove ubuntu otherwise. As I had ubuntu installed on an external hard drive I was unable to boot without that attached, but now I can!
Thank you again.

Anonymous said...

Thanks a million!!

Anonymous said...

Unfortunately, I want to use my PC and not spend my life experimenting and fiddling around until I can make it go. Life is just too short.
I tried ubuntu Linux because I kept hearing good stuff about it and I got a download of the operating system.
I installed it on my Vista PC and I spent forever attempting to make everything work. It was like going back ten years in terms of usability. Everything is written for software engineers or people who want to keep fiddling around. It's not written for people who actually want to use the PC.
I have no idea how to edit the code and I don't want to know.
Now I am stuck because I don't know how to uninstall Linux. Every decent Windows programme comes with an uninstall, but in Linux, you can't even install an application without making sure you have some other software installed as well. Nothing is complete and nothing comes with uninstall.
I have been reading forum articles that go all the way back to 2004 where people are asking how to uninstall Linux and still there is no solution.
Linux is crap. Why would I want it on my PC? It might be stable, resistant to viruses and it might not need defrag, but nothing works properly. When will Linux developers learn what is meant by usability? Windows and Macs are successful because of it. Linux will stay on servers until it becomes usable by the general public.

nik$25 said...

Thank you so much :) Keep it up!

Anil said...

Dude i recently installed ubuntu but could not save my windows 7, when again i was trying to install windows 7, i could not find the drivers loaded. and i am getting error operating system missing.. how to restore to windows

Thanks

David said...

Fly you high, Paul. Fly you high!