Debian update removed ubuntu from grub
Hi
I have Debian 6 and Ubuntu 10:10. after installing debian.I upgrade my debian (its kernel upgraded to 2.6.32-5-686).after that i cant see my ubuntu 10:10 in grub. this is the output of update-grub command: Code:
root@Debian:~# update-grub thanks |
Could you post the output of:
Code:
$ grep -1 ^menuentry /boot/grub/grub.cfg |
Make sure os-prober is installed in Debian. If it isn't install it and update grub. You will find Ubuntu will probably reappear in Grub then. Also Ubuntu 10.10 is out of support and it is a possible security risk for you. I would recommend you update to a supported version of Ubuntu.
|
Quote:
Code:
root@Debian:~# grep -1 ^menuentry /boot/grub/grub.cfg |
Quote:
|
Are you able to get into your Ubuntu system using Nautilus in Debian? By this I mean can you see there is another partition and can you mount it and see the file system in there.
Have you tried Super Grub Disk? |
Your output from /boot/grub/grub.cfg does not show an entry for your Ubuntu installation. That's why it's not on your menu.
Also, the fact that it shows up as detected in the update-grub output indicates that os-prober is seeing an Ubuntu installation. It may be that linux-boot-prober is not seeing any kernel in your Ubuntu installation. Run this command and post the output: Code:
sudo linux-boot-prober /dev/sda11 Alternatively, you can mount /dev/sda11 and manually look for the presence of those files: Code:
sudo mkdir /mnt/ubuntu BTW: Did you try running update-grub again to see if it works? I just tried it in a VM and it did not pick up the Ubuntu installation initially. However, after mounting and unmounting my Ubuntu partition and re-running update-grub, it worked. I have not looked at why it happened because my grub, os-prober and linux-boot-prober are heavily modified, so that could be why. Anyway, it sure won't hurt to re-run update-grub and see if that helps. |
Something is drastically wrong. I'd try this
Code:
update-grub Code:
mount /dev/sda11 /mnt @ towheedm, I've never heard of linux-boot-prober so will go and do some reading to enlighten myself even further. |
os-prober and linux-boot-prober work together.
os-prober probes your drives for others OSes such as other Linux installs, Windows, Gnu/Hurd, MacOS etc. If other Linux installation(s) are found, linux-boot-prober probe those partitions for their kernels and/or initramfs files. You can look at the /etc/grub.d/30_os-prober script for an idea on how they work together. |
All times are GMT -5. The time now is 01:55 PM. |