vince_dc
March 29th, 2010, 05:13 PM
Hi,
I had some problerms during the installation of ubuntu 9.10 (bad CD) which nuked Window, what was installed on another partition. I finally managed to install ubuntu, but he doesn't see my windows partition ...
I found the partition and mounted it.
Device Boot Start End Blocks Id System
/dev/sda1 2 20919 168023835 f W95 Ext'd (LBA)
/dev/sda2 * 20920 60801 320352165 83 Linux
/dev/sda5 2 20168 161991396 7 HPFS/NTFS
/dev/sda6 20169 20919 6032376 82 Linux swap / Solaris
But ntldr, ntdetect.com and boot.ini where missing.
I copied both ntldr and ntdetect.com from an installation cd and recreated the boot.ini file. (not sure that is right)
I added the following to the /boot/grub/grub.cfg :
menuentry "Windows XP" {
set root=(hd0,5)
chainloader +1
}
But I still get an error trying to boot XP:
A disc error occured.
What am I doing wrong ? :-)
I had some problerms during the installation of ubuntu 9.10 (bad CD) which nuked Window, what was installed on another partition. I finally managed to install ubuntu, but he doesn't see my windows partition ...
I found the partition and mounted it.
Device Boot Start End Blocks Id System
/dev/sda1 2 20919 168023835 f W95 Ext'd (LBA)
/dev/sda2 * 20920 60801 320352165 83 Linux
/dev/sda5 2 20168 161991396 7 HPFS/NTFS
/dev/sda6 20169 20919 6032376 82 Linux swap / Solaris
But ntldr, ntdetect.com and boot.ini where missing.
I copied both ntldr and ntdetect.com from an installation cd and recreated the boot.ini file. (not sure that is right)
I added the following to the /boot/grub/grub.cfg :
menuentry "Windows XP" {
set root=(hd0,5)
chainloader +1
}
But I still get an error trying to boot XP:
A disc error occured.
What am I doing wrong ? :-)