
On Fri, May 07, 2010 at 12:08:22AM +1200, Cesar wrote:
Hi, I wonder if anybody could please advice me on a booting issue.
Now when the computer boots, only does it in Ubuntu, even if I select Windows option. Even selecting the HD of Windows with the F10 option, still doesn't boot on Windows, it just get stopped on a black screen.
I think earlier versions of windows (such as XP) don't like booting off anything other than the first drive in the system. grub version 1 had some options to trick things so that the 2nd hard drive is treated as if it is the first one (the option was something like "map 0x80 0x81"). With the latest version of ubuntu, you've now got grub version 2. (despite not having the "grub2" package installed, "grub-pc" is still part of the version 2 suite).
ii grub-pc 1.98-1ubuntu5 GRand Unified Bootloader, version 2 (PC/BIOS un grub2 <none> (no description available)
### BEGIN /etc/grub.d/30_os-prober ### menuentry "Microsoft Windows XP Home Edition (on /dev/sdb1)" { insmod ntfs set root='(/dev/sdb,1)' search --no-floppy --fs-uuid --set e29010fc9010d8bd drivemap -s (hd0) ${root} chainloader +1 } ### END /etc/grub.d/30_os-prober ###
I haven't used grub2 much yet, so I can't tell exactly what the problem is, but I'd suggest that you try changing that line above for the "drivemap" to say "hd1" instead of "hd0", since it looks like windows is on the 2nd hard drive (sdb to use the linux device name). If that doesn't work, maybe try commenting out the "drivemap" line entirely. Good luck! John