LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2011, 09:53 PM   #1
rva1945
LQ Newbie
 
Registered: Feb 2011
Posts: 22

Rep: Reputation: 0
How do I recover Windows boot capability?


I have two partitions Windows XP (which was already installed before Ubuntu) and Ubuntu 9.1 (which I installed later).

Now the XP doesn't boot anymore (sorry but I need it sometimes), the Windows screen with the progress bar appears and then it reboots after a couple of secs.

I can access to the XP partition from Ububtu.

Of course I don't want to damage Ubuntu during the XP recovery action.

Thanks
 
Old 03-01-2011, 10:18 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Did you resize the NTFS partition to get Ubuntu on the machine? It could be that there are errors in the filesystem that is keeping Windows from booting. If that is the case you can boot to the XP install CD, get into the recovery console, and check the NTFS partition for errors that way.

Naturally, Windows will give you no indication as to what the actual problem is, so we are somewhat left in the dark with how to proceed.
 
Old 03-02-2011, 03:34 AM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Try
os-prober
then
update-grub
 
Old 03-02-2011, 03:35 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Is Ubuntu 9.1 supported?
 
Old 03-02-2011, 04:18 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Yes, Ubuntu 9.10 is still supported, and updating Grub will not solve this problem, since the Windows-bootloader is starting.

Besides from booting from CD you can also try to boot in Safemode. Press F8 immediately after choosing Windows in your bootmenu and pressing Enter. You may have to press the key more than once to activate the boot-menu from Windows. There choose safe-mode and look how far you will get.
 
Old 03-02-2011, 05:40 AM   #6
kuyalfinator
Member
 
Registered: Jul 2003
Location: Los Angeles
Distribution: RedHat8 2.4.18-14 RedHat9 2.4.20-8 FreeBSD 5.2.1 Ubuntu 10_4 Mandrake 2.4.21-0.13mdk
Posts: 118

Rep: Reputation: 16
Find your Windows CD. Then restore the installation.

Sorry if its not a linux solution, but the Windows CD will help.
 
Old 03-02-2011, 07:22 AM   #7
rva1945
LQ Newbie
 
Registered: Feb 2011
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by MS3FGX View Post
Did you resize the NTFS partition to get Ubuntu on the machine? It could be that there are errors in the filesystem that is keeping Windows from booting. If that is the case you can boot to the XP install CD, get into the recovery console, and check the NTFS partition for errors that way.

Naturally, Windows will give you no indication as to what the actual problem is, so we are somewhat left in the dark with how to proceed.
I tried that, but if I try to DIR C: I get an error in Spanish that refers to allocating files or something like that ("Error en la numeración de archivos")
 
Old 03-02-2011, 07:23 AM   #8
rva1945
LQ Newbie
 
Registered: Feb 2011
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TobiSGD View Post
Yes, Ubuntu 9.10 is still supported, and updating Grub will not solve this problem, since the Windows-bootloader is starting.

Besides from booting from CD you can also try to boot in Safemode. Press F8 immediately after choosing Windows in your bootmenu and pressing Enter. You may have to press the key more than once to activate the boot-menu from Windows. There choose safe-mode and look how far you will get.
Tried that, to the same effrect: Windows reboots.

---------- Post added 03-02-11 at 09:24 AM ----------

Quote:
Originally Posted by kuyalfinator View Post
Find your Windows CD. Then restore the installation.

Sorry if its not a linux solution, but the Windows CD will help.
But won't the Windows CD restore wipe out the Linux Partition?
 
Old 03-02-2011, 07:28 AM   #9
kuyalfinator
Member
 
Registered: Jul 2003
Location: Los Angeles
Distribution: RedHat8 2.4.18-14 RedHat9 2.4.20-8 FreeBSD 5.2.1 Ubuntu 10_4 Mandrake 2.4.21-0.13mdk
Posts: 118

Rep: Reputation: 16
Are you trying to get to the Windows 0S? If Windows Shutdown improperly, it will give you trouble booting normally. If it does go thru a disk check, try to let it finish.
 
Old 03-02-2011, 08:29 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
If you don't have one of those recovery discs, but a real Microsoft CD, you can boot to the repair-console and try to repair your Windows from there, or you can try a repair-installation. This will not erase your Linux-partition, but it will replace the bootloader with the one from Windows. It is not that hard to repair that, so I would recommend to try that, and if it works we will guide you through the re-installation of your Linux bootloader.

Warning: Before going any further, make sure that you have backed up all your important/valuable data, from both systems, Linux and Windows. You can use your Linux-installation or a live-CD for that.
 
  


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
How to recover windows if linux has crashed in a dual boot smilemukul Linux - Newbie 6 06-21-2010 07:53 AM
Recover Windows partition ChenLaoBo General 2 03-08-2010 12:57 AM
LXer: Why Windows needs multiple desktops capability LXer Syndicated Linux News 0 03-21-2009 04:41 AM
Lost boot capability after yum update The_Bear Fedora - Installation 4 10-26-2006 02:43 AM
Backed up Windows Files on Linux; Can't Recover them to Windows MadFunk Linux - Software 6 08-16-2003 09:16 PM


All times are GMT -5. The time now is 04:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration