Asus eee pc 1101ha, dual boot, debian-squeeze/xp, won't start xp,"reboot and select p
Hi, guys!
I recently bought an asus eee pc 1101ha.
I didn't like the xandros, so I did install debian squeeze keeping the existing windows xp. What I exactly did, was:
* Created a bootable knoppix usb-stick
* Booted it and used gparted to shrink windows xp partition
* Erased all other partitions, existing xandros, rescue, blah-blah.
* Created a bootable debian netinst usb and used it to install squeeze
It all worked cool. I now have my squeeze running. I also *could* boot the windows xp partition.
But since few days, when I try to boot into xp, i get an error message "reboot and select proper boot device".
By trying to find out what is wrong, I notice now some very interesting and *strange* things:
a) I see (and remember now) that in order to be able to boot the usb stick, I had to go to the bios and change the disk order, (*not* the boot sequence), putting the usb first and the hd second.
b) A few days ago, I noticed at the grub menu that both the debian and the windows booting entries had (hd1,msdosX) instead of (hd0,msdosX). This, obviously because when I did the installation the usb disk was the *first* disk and the hd the second. The system booted, but I didn't like the numbers (-; so i did an update-grub2 and/or a grub-mkdevices [I don't remember exactly] to update grub. Now my grub entries have (hd0,msdosX). The trouble may have started from this point on.
c) When I select windows from grub boot menu, if I have the bootable usb stick plugged in, it starts the knoppix! Of course, on my BIOS now, the hd is the first disk while the usb is second.
Seems like a big mix-up!
My current grub windows boot entry:
<grub-win-boot-entry>
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d6b0ads1b0ad11d3
drivemap -s (hd0) ${root}
chainloader +1
<grub-win-boot-entry/>
My fdisk -l /dev/sda (hard disk):
Device Boot [...] System
/dev/sda1 * HPFS/NTFS
/dev/sda2 Extended
/dev/sda5 Linux swap
/dev/sda6 Linux [my root]
/dev/sda7 [more linux partitions...]
My fdisk -l /dev/sdb (usb stick):
Device Boot [...] System
/dev/sdb1 * W95/FAT32
I'm a little stuck. Can you please give a hint?
Thanks in advance.
|