LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 01-22-2007, 12:11 PM   #1
mamtasahai1
Member
 
Registered: Jan 2007
Location: India
Distribution: RHEL 5, Fedora 9, Solaris, FreeBSD
Posts: 52

Rep: Reputation: 15
recover windows os if linux installation is not completed


While installing Linux on dual boot operating system(Windows), if installation is not completed due to power failure or any other reason, then how can I recover the windows operating system.
 
Old 01-22-2007, 12:15 PM   #2
[KIA]aze
Member
 
Registered: Jun 2006
Distribution: Debian, Ubuntu, Windows XP
Posts: 146

Rep: Reputation: 16
You could try booting with the windows CD and choose the "repair" option.
 
Old 01-22-2007, 12:17 PM   #3
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
You mean you can't boot into Linux because setup was damaged, and Windows won't boot at all? Or do you mean Windows does boot, but Linux does not?

Anycase, I'd do this: since your Linux setup should not have done anything with your Windows partitions, just insert the Linux setup disc in and restart the installation; if you created partitions before the power failure, and are asked, just overwrite Linux partitions (not all, i.e. Windows ones) and go ahead as you would normally do. In the end a bootloader is installed anyway, so unless you removed or touched your Windows partitions during the setup, you should be fine. Or if you did, you should know what you did and how it's undone if possible

To just "recover Windows" and not install Linux at all,

WinXP) boot from the install disc, select Recovery Console from boot menu and run fixmbr

Older Windows versions) from a command prompt, run fdisk \mbr

...after which just remove the Linux partitions (if any) with any partitioning software capable of that (Windows' system tools can do that) and format the free space with fdisk or any partition manager. Or resize your Windows partition to fill the disk.
 
Old 01-22-2007, 12:28 PM   #4
easuter
Member
 
Registered: Dec 2005
Location: Portugal
Distribution: Slackware64 13.0, Slackware64 13.1
Posts: 538

Rep: Reputation: 62
If the bootloader (lilo or grub) did not install, then the windows bootloader should kick in and you should be able to start windows normaly
 
Old 01-22-2007, 12:33 PM   #5
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
GRUB or LiLo is usually written last in the installation process. So you *should* be able to just boot normally into Windows. Even if GRUB or LiLo has overwritten your MBR, most installation progs will add a menu item for your old Windows installation automagically. So again, you *should* still be able to boot into Windows, though not quite normally, as you'll be using a different bootloader. And finally, even if somehow your MBR became corrupted, you *should* still be able to use the recovery console and fixmbr command, as b0uncer already mentioned, to repair it.

*should* means there are no guarantees or warranties, express or implied.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo 2006.0 installation completed, but GRUB does not boot it J_K9 Linux - Distributions 8 03-27-2006 11:14 PM
Is it possible to resize the swap partition after installation is completed? Akhran Linux - Newbie 5 08-07-2005 02:58 PM
to recover linux after windows installation phanee Linux - Software 3 08-05-2005 10:14 AM
Adding 2nd Language question after installation completed satimis Red Hat 1 09-29-2003 09:51 AM
Backed up Windows Files on Linux; Can't Recover them to Windows MadFunk Linux - Software 6 08-16-2003 08:16 PM


All times are GMT -5. The time now is 05:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration