LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 07-25-2010, 10:22 PM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Rep: Reputation: 32
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
 
Old 07-25-2010, 10:46 PM   #2
fbt
Member
 
Registered: May 2010
Distribution: Chakra
Posts: 89

Rep: Reputation: 26
There is a repair startup on the W7 install disc.
 
Old 07-25-2010, 11:25 PM   #3
ciao303
Member
 
Registered: Jul 2010
Posts: 69

Rep: Reputation: 15
use add/remove programs on your Windows 7's Control Panel
 
Old 07-26-2010, 01:23 AM   #4
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
If you don't have a disk like most legit Windows 7 boxes, you can try the steps recommended in step 16 of this tut.
 
Old 07-26-2010, 07:11 AM   #5
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
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.
 
Old 07-26-2010, 07:18 AM   #6
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
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)

http://neosmart.net/blog/2008/window...disc-download/
http://neosmart.net/blog/2009/window...-repair-discs/
 
Old 07-26-2010, 07:47 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
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.
 
Old 07-26-2010, 08:20 AM   #8
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
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

http://www.sevenforums.com/tutorials...ot-record.html
 
Old 07-26-2010, 08:34 AM   #9
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Have you tried googling for ways to do it?
 
Old 07-26-2010, 08:36 AM   #10
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
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
 
Old 07-26-2010, 12:03 PM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
Quote:
will it repar the mbr if i used the windows xp install disk to do it or will it mess it up even more
vista and win 7 use a different bootloader than xp so it won't work.

vista and win 7 repair should be the same. Check the miscrosoft site below, looks like you need an installation CD:

http://support.microsoft.com/kb/927392

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:

http://neosmart.net/wiki/display/EBC...r+from+the+DVD
 
Old 07-26-2010, 12:28 PM   #12
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
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.
 
Old 07-26-2010, 05:29 PM   #13
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
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
 
Old 07-26-2010, 06:03 PM   #14
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
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.
 
Old 07-26-2010, 06:12 PM   #15
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
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
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to remove windows froma partitioned computer birdbrained Linux - Newbie 6 11-09-2007 09:05 PM
Multibooting windows XP/several distros Kryptos Linux - Newbie 1 11-05-2007 09:52 PM
want to remove linux distro & replace it with a different distro deardoom Linux - Newbie 5 03-20-2006 06:14 PM
Multibooting, Linux & Windows 98 TheTrexx Linux - Software 1 01-27-2003 11:08 AM
Multibooting Linux with Windows-NT jadeski Linux - Software 1 03-12-2001 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration