Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two partitions with Linux, /dev/sda7 and /dev/sda8

/dev/sda7 had Deeproot Linux installed (based on Ubuntu), later I installed Sabayon in /dev/sda8. It reinstalled the grub.

The problem is that it is not detecting my Deeproot Linux and is not showing it in the grub menu.

update-grub is not being recognized by Sabayon..

What am I supposed to do?

share|improve this question
if possible post your grub.conf – Rahul Patil Mar 8 '13 at 6:53
up vote 0 down vote accepted

update-grub is actually a wrapper of grub-mkconfig (or grub2-mkconfig on some system).

You can run this command as root (backup /boot/grub/grub.cfg first, or run grub-mkconfig to preview it without redirecting output) Before running the command mount the partition /dev/sda7

grub-mkconfig > /boot/grub/grub.cfg

Which essentially would do the same as update-grub on Ubuntu based distros.

share|improve this answer
Mounting the deepin partition and then running grub2-mkconfig solved the problem. any idea why the mount was required? – Stormvirux Mar 9 '13 at 15:07
@Stormvirux the program just scans for vmlinuz and other kernel files by names, and doesn't do the mounting stuff automatically – warl0ck Mar 9 '13 at 15:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.