how do i remove a linux distro from a computer multibooting with windows
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how do i remove a linux distro from a computer multibooting with windows
i installed ubuntu to multiboot with windows 7 but i don't know how to remove it to where its just windows again you can't delete the partiton ecause grub comes up how do i make it go back to the way it was before i installed ubuntu
i don't have the windows 7 install disk nor do i think that linux is in the install or uninstall programs list
i am looking at you link to the forum why does it involve lilo i wanted just the windows loader (windows 7 loader sometimes is what it is called) is there something that i'm not understamding here though
Last edited by baronobeefdip; 07-26-2010 at 07:13 AM.
alright i found some recovery disks that were free to download how do i do this (unless you reccomend the method in that forum you linked me to) beside the windows 7 os on the computer i want to restore uses the windows vista loader (not windows 7 for some reason its just weird)
I haven't used Vista or 7, so I'm only guessing it's the same as for XP. You need to find some way of running the command fixmbr on those recovery disks.
how do i do that then because the bootsect.exe file isn't on the cd and there isn't any guides on how to restore the mbr with just the repair (or recovery) disk
several times and nothing came up except for guide that include the windows 7 install disk not the recovery disk
will it repar the mbr if i used the windows xp install disk to do it or will it mess it up even more
and i tested that little procedure you gave me in that ubuntu forum and nothing happened it just prompted me about lilo showed me a man page and thats it it didn't repair the mbr at all
I'd suggest you go to the neosmart site below. It states that the "Repair Your Computer" section of the vista or win 7 DVD. Check the section at the top with pink background and note there are separate download links for vista and win 7. These are the people who created EasyBCD which is used to modify vista/win 7 bootloader so I expect it will work although I have never used it:
I'm only guessing here, but the lilo method appears to create a generic MBR that has no menu and just looks for an active partition and passes the boot process over to it. This is how a typical "one OS" installation works, no need for a menu if you only have one OS. Having said that, Using the lilo method should be done from a live session after Ubuntu partition(s) have been deleted and all that is left is one active partition. You may also need to make the Windows partition active from the live Ubuntu session. Upon reboot, Windows should boot without a grub menu.
I have never tried this, I just stumbled on that article when going through section 13 in the past. But from where I sit, it sounds very plausible if done in the right order.
But now you mention Vista....
Are you now saying you installed Ubuntu side by side with Vista and Win 7 rather than just Win 7 as mentioned in your original post?
Bootsect.exe can be found and downloaded off the net, put on a bootable floppy or CD and executed in dos mode. Do some Googling.
On another note, it's kind of dumb to make a recovery disk that can't recover a non-booting OS, don't sound right to me.
Windows 7 installation media is also available on the net, as long as you are not using some sort of crack to get an activated installation, or you don't intend to redistribute it for profit, it is allowed to use the disk to make repairs. Because we are all allowed a free 30 day trial of Windows 7, means you should not be paying money for a disk to install and try it. If you have enough bandwidth to download a recovery disk, you could probably have just got the real McCoy. Due to the fact you mentioned Windows Vista tells me the computer did not come with Windows 7, which means the recovery disk you have did not come with the computer also.
the bootloader says windows vista loader (the one that worked in the grub bootmenu that helped bring up 7) i don't know why it says vista bootloader (other than the fact that you stated that vista and 7 use the same bootloader) but there are also like 3 other windows 7 bootloaders this is a strange way to pre-install a computer since you only need one and they all say windows 7 loader like mine does but they don't boot into 7 just displays a blue screen of death and restarts in 3 seconds amd presents a grub bootmenu theres nothing wrong with booting windows the user of the computer just decided that she doesn't want it on there anymore (ipod trouble i gave up on that a long time ago)
also how do you activate the windows partition to set lilo onto it so that it helps boot windows without showing a menu at startup (like you said if a computer only has one operating system then theres no need for a menu) the lilo installation is just a last resort in case something goes wrong or just doesn't work in the windows vista/7 recovery disk technique
I assume you can leave Ubuntu installed for now, first, go through the motions as directed in section 16 of that Grub2 blog from withing your running Ubuntu hard drive installation rather than a live session. That should, (according to the author), remove grub from the MBR of the drive and set up a generic MBR with no menu that will just pass the boot process to the active partition. It is possible you did this once already but your Ubuntu installation was the one marked active and that's what the MBR passed the boot process to. If grub came back, well that means you did something wrong or the author of that article should be notified that he/she is a idiot.
Ubuntu should have parted or gparted installed by default, this is the utility you would use to mark the Windows partition active, then reboot.
By rights, according to the author, even if you have two or three Linux partitions and a perfectly viable Linux installation, the computer should now boot directly to Windows. If it does, use Windows disk management through Control Panel/System & something/Admin tools/computer management/disk management to highlight and delete the Linux partitions, then highlight the Windows partition and resize it to take up the free space.
I don't have lilo, but Google keywords "man lilo" finds this man page for lilo. There is no uppercase "M" option listed in the man page, it is possible the author made a mistake and it should be in lower case.
sudo lilo -m /dev/sda mbr
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.