PDA

View Full Version : [SOLVED] Win XP simply gone from the boot options



pointee
February 8th, 2011, 06:10 PM
Hi Forum!

I am an ubuntu newbie.
so far, my two partitions (ubuntu and WinXP) worked fine, i always had a boot option at startup. however, my Win boot option simply disappeared. I did not do any update recently, so I do not really understand what could have happened.
My /media/windows is also completely empty. when i try to open the windows partition, it says "could not mount".

could someone please help me?

many thanks!

oldfred
February 8th, 2011, 06:16 PM
If windows needs chkdsk run, Ubuntu may not mount it, so you do not damage it to a point that chkdsk could not fix it.

I would try chkdsk first, from your XP CD.

XP CHKDSK
chkdsk drive /p /r
The chkdsk command checks the specified drive and repairs or recovers the drive if the drive requires it. The command also marks any bad sectors and it recovers readable information. Run chkdsk several times, until no more errors are detected.
chkdsk c: /r
You can use the following options:
/p Does an exhaustive check of the drive and corrects any errors.
/r Locates bad sectors and recovers readable information.
Note If you specify the /r option, the /p option is implied. When you specify the chkdsk command without arguments, the command checks the current drive with no options in effect.
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/chkdsk.mspx?mfr=true

pointee
February 8th, 2011, 08:52 PM
thanks for the reply, however, i cannot do that as i am on the road (abroad) and do not have the XP CD.

oldfred
February 8th, 2011, 09:21 PM
You can download any of these to run chkdsk. They will not repair most things with XP.

If your PC did not come with a complete Vista or Win7 installation CD, you can download a Repair Disc at the following links:
Windows Vista Disc - for repairs only
http://neosmart.net/blog/2008/windows-vista-recovery-disc-download/
Windows 7 Disc - for repairs only
http://neosmart.net/blog/2009/windows-7-system-repair-discs/
Vista/7 will not auto repair XP (they create the boot sectors differently) but can run chkdsk on any NTFS partition.
http://support.microsoft.com/kb/927392

gordintoronto
February 8th, 2011, 09:36 PM
You could open Accessories/Terminal and paste in this command:
sudo update-grub

It will ask for your password, and it won't display it as you type.

cipherboy_loc
February 8th, 2011, 10:06 PM
If update-grub does not work, try running the boot script in my signature and posting the resulting results.txt file.


Cipherboy

pointee
February 8th, 2011, 11:09 PM
update-grub worked!!! thanks a lot!!
but what has happened? and what did this update-grub do?

gordintoronto
February 9th, 2011, 01:37 AM
It looked at what was on the computer, and rebuilt the boot script. I can't imagine how it got borked in the first place.