Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
1  
if possible post your grub.conf –  Rahul Patil Mar 8 '13 at 6:53
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.