i had windows 7 on my system and now i installed debian squeeze but grub does not show my windows 7 in menu for selecting
how could repair this problem?
|
feedback
|
|
I had ubuntu 8.04 and then I installed debian 6.0. I did not had to configure the menu list it just went right for first time. After few days saw the menu item for ubuntu were not present on boot up screen. After doing some research on the net found a good command that solved my problem. Open root terminal and type "update-grub". This command is a utility provided by debian to automatically generate grub.cfg file that detects the filesystems and adds menuentries accordingly. That worked for me, hope it works for you as well. | |||
|
feedback
|
|
Check if you have package os-prober installed. It should be able to recognize Windows automatically. It's very inconvenient to configure it on hand every time grub or kernel packages are updated. | |||
|
feedback
|
|
put
in /boot/grub/menu.lst (I am asuming you are using first partition for Windows) | |||
|
feedback
|
|
the first answer doesn't work. Debian 6 uses Grub 2, not Grub 1, so there is no menu.lst anymore, this is replaced by grub.cfg file. the file /etc/grub.d/10_linux is wrong in Debian 6. My solution was to grab this file from an Ubuntu 10.04 installation. I just replaced it and after that ran update-grub (could also be grub-update, typing this in Win XP...) as root. After that a new /boot/grub/grub.cfg was created and I could boot both windwos 7 and Debian 6! | |||
|
feedback
|