View Full Version : Plz help Windows Xp Gone after installing Ubuntu 7.10
saurabh kakkar
26-01-2008, 08:11 PM
Hi
I Have just installed Ubuntu 7.10 on my pata Hdd which already contained windows Xp and Windows 98 i.e I tried to tipple boot My sys I had successfully Done this earlies But Now My Windows Xp is not Working though my windows 98 and ubuntu is working perfectly .
My windows Xp is Giving this error :
Windows could not start because the following file is missing or corrupt:
<Windows root>\system32\hal.dll.
Please re-install a copy of the above file.
I know this can be rectified by this method :
Booingt using Windows Setup CD and enter into "Recovery Console" by pressing "R". Now Log into windows installation and enter admin password. Now give following commands at prompt:
Attrib -H -R -S C:\Boot.ini
Del C:\Boot.ini
BootCfg /Rebuild
Fixboot
But the problem is that whenever i try to boot the sys using windows Xp Cd
After showing the folloing msg black screens apperars :
Windows is scanning ur sys hardware configuration
Can someone suggest me How can i recover my windows Xp ?
techtronic
27-01-2008, 02:12 AM
Go to cd /boot/grub/menu.lst and check whether there is an entry for Windows XP SP 2.If its not available add it ;)
amitava82
27-01-2008, 02:18 AM
There might me some problem with ur XP CD. Try other CD.
But the problem is that whenever i try to boot the sys using windows Xp Cd
After showing the folloing msg black screens apperars :
u messed up with system volume (where boot.ini and other system files were installed)
saurabh kakkar
27-01-2008, 07:20 PM
^^ Oks if My system volume is messed plz help me to rectify this
shady_inc
27-01-2008, 08:20 PM
This is a common error if you installed ubuntu on a primary partition.Fortunately the solution is very easy.Just need to edit your boot.iniwhich you can find in C:\.Can you post it's contents here.?
MetalheadGautham
27-01-2008, 10:33 PM
or just try repairing the MBR using win xp cd, then fix the OS, then reinstall grub to detect all three OSes.
praka123
28-01-2008, 04:01 AM
in xp,start menu>run :run "cmd" inside.once dos CLI is available run below command.
notepad C:\boot.ini
post the o/p here.
or just try repairing the MBR using win xp cd, then fix the OS, then reinstall grub to detect all three OSes.
yup
in xp,start menu>run :run "cmd" inside.once dos CLI is available run below command.
notepad C:\boot.inipost the o/p here.
most probably he's missing one
shady_inc
28-01-2008, 01:24 PM
most probably he's missing one
Even I had faced the same error after installing Ubuntu.But changing the partition no. of XP in boot.ini from 0 to 1 worked for me.
@ saurabh kakkar: Here's a great solution to your problem::p
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP" /fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP" /fastdetect
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP" /fastdetect
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP" /fastdetect
multi(0)disk(0)rdisk(0)partition(5)\WINDOWS="Microsoft Windows XP" /fastdetect
Just paste this code in your boot.ini replacing the old content.At start-up you will see 5 instences of WinXP.One of them will certainly work.After you get to boot in XP, clear out the invalid boot paths from msconfig.:D
praka123
28-01-2008, 02:26 PM
^very logical one! :D
saurabh kakkar
29-01-2008, 01:52 PM
Even I had faced the same error after installing Ubuntu.But changing the partition no. of XP in boot.ini from 0 to 1 worked for me.
@ saurabh kakkar: Here's a great solution to your problem::p
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP" /fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP" /fastdetect
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP" /fastdetect
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP" /fastdetect
multi(0)disk(0)rdisk(0)partition(5)\WINDOWS="Microsoft Windows XP" /fastdetect
Just paste this code in your boot.ini replacing the old content.At start-up you will see 5 instences of WinXP.One of them will certainly work.After you get to boot in XP, clear out the invalid boot paths from msconfig.:D
thanks man this method has rectified my problem :)
regards
saurabh kakkar
......But the problem is that whenever i try to boot the sys using windows Xp Cd After showing the folloing msg black screens apperars...... Hi, i had the same problem. what to do when this happens..(i mean then how can we reach 'Recovery Console'..??)??? does anybody know why this happens???
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.