On Mon, May 02, 2011 at 06:30:50PM -0400, Jeremy wrote:
> On 11-05-02 03:58 PM, Hendrik Boom wrote:
>> I just installed debian squeeze on my wife's computer. It was the
>> easiest Linux install I ever did. It was even easier than the time I
>> installed ubuntu long ago.
>>
>> Except for one thing. Although during installation it recognised my
>> Windows XP system in the list of other operating systems, the actual
>> installed grub bootloader only gives me Debian.
>>
>> What do I have to do to enable booting Windows? There doesn't seem to
>> be a /boot/grub/menu.lst any more; instad there are oodles of .mod and
>> other files.
>>
>> -- hendrik
>
> First thing to do is boot into debian and in the terminal run
>
> sudo update-grub
> (or su to root then run update-grub if you don't use sudo)
>
> Then reboot and see if the entry is there. This command reinitializes
> the grub menu.
>
> If this does not work (something is wrong, ie: debian cannot
> automatically see you winXP partition, this could mean it got wiped out
> somehow, but don't panic yet):
>
> Assuming your windows XP is the first partition on the first disk:
>
> - edit the file /etc/grub.d/40_custom
>
> - add this stanza
>
> menuentry "Microsoft Windows XP" {
> insmod chain
> set root=(hd0,1)
> chainloader +1
> }
>
> - run 'sudo update-grub' (or su to root then run update-grub if you
> don't use sudo)
>
>
> Let us know if it works out.
>
> Jeremy
I found instruction in
http://linux.koolsolutions.com/2008/12/28/windows-xpvista-dual-boot-does-not-boot-from-grub2-or-grub-pc/
before I got your letter. The instuctions there are similar to yours,
except for the part of running update-grub first. The result is that I
put a stanza much like yours (with some other stuff wrapped around it)
into a new file /etc/grub/11_Windows. After running update-grub and
rebooting I was surprised to find *two* menu entries for Windows --
presumably the one I forced in my my change, and one that update-grub
would have put there anyway.
I'll try taking out the file I put in and running upgrade-grub again to
make the system more standard and less redundant.
But the installer certainly should have put the menu entry in itself
after it recognised the presence of a Windows system, shouldn't it have?
I'll send in an installation report on this. But there's a new release
of squeeze out now; it's quite possible that the problem has already
been fixed, so I guess first I'll look for an existing bug report
against the installer.
-- hendrik
_______________________________________________
mlug mailing list
[email protected]
https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca