Hi
I have 2 hard drives installed and I have WinXP, Slackware,FC3 on hda1 and Ubuntu,Kanotix on hdb Recently Windows XP started giving some errors. For e.g whenever an application(Excel,firefox etc) was opened I got a popup message "Windows-Corrupt file C/WINDOWS/prefetch/xxxx.pf is corrupt and unreadable please run chkdsk" The application then would continue to run without any problems. Especially firefox always gave errors and all the files in profiles/mozilla went corrupt. I could not access my bookmarks and history. When I attempted to do chkdsk It complained that the File System is RAW and chkdsk does not support such filesystem. I tried to repair this XP installation by booting from the XP CD. Here also setup complained that C: is corrupt and cannot be repaired. So I tried to install XP again. Here when I select the option to install setup automatically selects my D drive (extended partition) and when I change it to C and select delete and proceed to install new it does not ask for any formatting option and gives the same error above. Now after all this exercise my Grub menu has been wiped off and now when I start my computer I get 2 options 1. Win XP professional 2. Win XP professional Setup.
When I boot into Windows my display has become 640x480 and this cannot be changed.
How do I restore Grub to atleast boot into Linux. Grub was installed when Ubuntu was installed
Thanks Ninad
On 2/7/06, Ninad Bapat freeninad@gmail.com wrote:
How do I restore Grub to atleast boot into Linux. Grub was installed when Ubuntu was installed
Take the first installation cd of any of distros and follow the method
given here http://www.sorgonet.com/linux/grubrestore/ http://www.computing.net/linux/wwwboard/forum/26916.html. If you have any live cd's you can use them too. You might need to maually edit the /boot/grub/menu.lst file to show all the linux distros.
Hi Ninad,
just boot from a linux cd and install the grub... you might have to reinstall linux if XP has actually deleted all the other partitions
have you installed your video card drivers ?? perhaps that could help change the video mode.
hth, Ananth
just boot from a linux cd and install the grub... you might have to reinstall linux if XP has actually deleted all the other partitions
Does XP do that automagically.
usually no, but i wasnt very sure from his description about the state of partitions - he did mention about deleting some partitions in the process. :=)
Ananth
On Tuesday 07 February 2006 02:24 pm, Ninad Bapat wrote:
When I boot into Windows my display has become 640x480 and this cannot be changed.
How do I restore Grub to atleast boot into Linux. Grub was installed when Ubuntu was installed
Ok. From now on remember to backup your bootsector. Also remember that you shouldn't play with your partitions i.e. if you have installed XP on /dev/hda1 then for a reinstall go in for /dev/hda1 and not any other partition. Ok, now get yourself a knoppix live CD. And checkout your partition states by using fdisk. Post the partition infos here. If Windows hasn't deleted the most crucial ones then we can probably get them working.
If you had problems with XP complaining that the partition was corrupt then you should've formatted it in Linux and then tried a fresh install. It would've worked 100% unless your harddisk was crapping up.
On 2/7/06, Ninad Bapat freeninad@gmail.com wrote:
Hi
I have 2 hard drives installed and I have WinXP, Slackware,FC3 on hda1 and Ubuntu,Kanotix on hdb Recently Windows XP started giving some errors. For e.g whenever an application(Excel,firefox etc) was opened I got a popup message "Windows-Corrupt file C/WINDOWS/prefetch/xxxx.pf is corrupt and unreadable please run chkdsk" The application then would continue to run without any problems. Especially firefox always gave errors and all the files in profiles/mozilla went corrupt. I could not access my bookmarks and history. When I attempted to do chkdsk It complained that the File System is RAW and chkdsk does not support such filesystem. I tried to repair this XP installation by booting from the XP CD. Here also setup complained that C: is corrupt and cannot be repaired. So I tried to install XP again. Here when I select the option to install setup automatically selects my D drive (extended partition) and when I change it to C and select delete and proceed to install new it does not ask for any formatting option and gives the same error above. Now after all this exercise my Grub menu has been wiped off and now when I start my computer I get 2 options
- Win XP professional
- Win XP professional Setup.
When I boot into Windows my display has become 640x480 and this cannot be changed.
How do I restore Grub to atleast boot into Linux. Grub was installed when Ubuntu was installed
Thanks Ninad -- http://mm.glug-bom.org/mailman/listinfo/linuxers
boot from ur UBUNTU installation cd, type rescue at the prompt to enter rescue mode, then type grub-install to install grub
-saum
Hi
The ubuntu way worked. I have my grub menu back and can boot into Linux. But 1 problem when I select to boot WinXP Grub shows the ususal meesages and again I am back into grub menu with Ubuntu selected and the time shown below in seconds as set in menu.lst
Earlier I had tried in vain to repair and reinstall XP and my XP display had changed although it was working.
What should be the problem in this case.
On Thursday 09 February 2006 8:19 am, Ninad Bapat wrote:
Hi
The ubuntu way worked. I have my grub menu back and can boot into Linux. But 1 problem when I select to boot WinXP Grub shows the ususal meesages and again I am back into grub menu with Ubuntu selected and the time shown below in seconds as set in menu.lst
read /usr/share/doc/grub/examples/menu.lst
Hi
I had backed up my menu.lst to a seperate file. There seems to be no change in this.
When I select Win XP in Grub menu The following messages are displayed. partition type is fat chainloader+1
Stage 2
and after this I am back into Grub menu with 100 seconds(as specified in menu.lst) to boot ubuntu.
I can mount /dev/hda1(WinXP) on all the distros so there seems to be no problem with the hdd
Thanks Ninad
On Thursday 09 February 2006 08:19, Ninad Bapat wrote:
Hi
The ubuntu way worked. I have my grub menu back and can boot into Linux. But 1 problem when I select to boot WinXP Grub shows the ususal meesages and again I am back into grub menu with Ubuntu selected and the time shown below in seconds as set in menu.lst
Just a guess... maybe you need to map drives for booting XP.
I have Windows on my primary slave (hdb) and Gentoo on my primary master (hda). When I installed Windows, I disconnected hda and installed it as if hdb was the primary drive, so if I want to boot Windows now, I have to map drives to make hdb appear as the master drive. Windows is unable to boot otherwise, such a shitty system that it is... Here's my grub.conf.
default 0 timeout 10 splashimage=(hd0,0)/grub/gentoo.xpm.gz
title Gentoo Linux (2.6.14-gentoo-r5) root (hd0,0) kernel /vmlinuz-2.6.14-gentoo-r5 root=/dev/hda3 vga=0x31B splash=silent,theme:livecd-2005.1 quiet CONSOLE=/dev/tty1 initrd /splash-livecd-2005.1-1280x1024
title Windows XP x64 rootnoverify (hd1,0) chainloader +1 map (hd0) (hd1) map (hd1) (hd0)
HTH, Mrugesh