Results 1 to 5 of 5

Thread: Ubuntu + Gentoo - Grub doesnt detect Gentoo

  1. #1
    Join Date
    Oct 2013
    Beans
    336
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Ubuntu + Gentoo - Grub doesnt detect Gentoo

    I am running Ubuntu Minimal 13.10 on /dev/sda1
    I have just installed gentoo on /dev/sdb (using this guide: https://wiki.gentoo.org/wiki/User:66...xes666#Install )

    My Gentoo partition layout is:
    / = /dev/sda3
    /boot = /dev/sda1
    swap = /dev/sda2

    In my ubuntu system, I run os-prober, and then run the following:
    Code:
    update-grub
    update-grub2
    The output is:
    Code:
    root: / $ update-grub
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-3.12.4-custom
    Found initrd image: /boot/initrd.img-3.12.4-custom
    Found linux image: /boot/vmlinuz-3.11.0-15-lowlatency
    Found initrd image: /boot/initrd.img-3.11.0-15-lowlatency
    Found linux image: /boot/vmlinuz-3.11.0-15-generic
    Found initrd image: /boot/initrd.img-3.11.0-15-generic
    Found linux image: /boot/vmlinuz-3.11.0-14-lowlatency
    Found initrd image: /boot/initrd.img-3.11.0-14-lowlatency
    Found memtest86+ image: /boot/memtest86+.bin
    Found Gentoo Base System release 2.2 on /dev/sdb3
    done
    root: / $update-grub2
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-3.12.4-custom
    Found initrd image: /boot/initrd.img-3.12.4-custom
    Found linux image: /boot/vmlinuz-3.11.0-15-lowlatency
    Found initrd image: /boot/initrd.img-3.11.0-15-lowlatency
    Found linux image: /boot/vmlinuz-3.11.0-15-generic
    Found initrd image: /boot/initrd.img-3.11.0-15-generic
    Found linux image: /boot/vmlinuz-3.11.0-14-lowlatency
    Found initrd image: /boot/initrd.img-3.11.0-14-lowlatency
    Found memtest86+ image: /boot/memtest86+.bin
    Found Gentoo Base System release 2.2 on /dev/sdb3
    done
    As you can see, Grub detects "Gentoo Base System release 2.2 on /dev/sdb3"

    However, when I boot, Grub does not show a menu entry for Gentoo.
    I also tries booting directly to the Gentoo HDD from BIOS, but absolutely nothing happened.

    What do I do???
    Things to remember :
    - Use proper english
    - Comment your code
    - Keep background information and introductions to a minimum

  2. #2
    Join Date
    Apr 2009
    Location
    UK Lake District
    Beans
    3,092
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Ubuntu + Gentoo - Grub doesnt detect Gentoo

    Try mounting the Gentoo root partition
    The update-grub
    Ubuntu Member Always something different. Promoting Ubuntu and System 76 at TUXPC

  3. #3
    Join Date
    Oct 2013
    Beans
    336
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Re: Ubuntu + Gentoo - Grub doesnt detect Gentoo

    The Gentoo partition is already mounted. That is the first thing I do when dealing with the Gentoo system.
    Here is the way I mount it:
    Code:
    mount /dev/sdb3 /mnt/gentoo
    mount /dev/sdb1 /mnt/gentoo/boot
    mount -t proc none /mnt/gentoo/proc/
    mount --rbind /dev /mnt/gentoo/dev/
    ntpdate pool.ntp.org
    chroot /mnt/gentoo/ /bin/bash
    Things to remember :
    - Use proper english
    - Comment your code
    - Keep background information and introductions to a minimum

  4. #4
    Join Date
    Apr 2009
    Location
    UK Lake District
    Beans
    3,092
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Ubuntu + Gentoo - Grub doesnt detect Gentoo

    I just mean open it in Nautlius
    Ubuntu Member Always something different. Promoting Ubuntu and System 76 at TUXPC

  5. #5
    Join Date
    Apr 2007
    Location
    Brussels, Belgium
    Beans
    182
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu + Gentoo - Grub doesnt detect Gentoo

    Quote Originally Posted by Tristan_Williams View Post
    The Gentoo partition is already mounted. That is the first thing I do when dealing with the Gentoo system.
    Here is the way I mount it:
    Code:
    mount /dev/sdb3 /mnt/gentoo
    mount /dev/sdb1 /mnt/gentoo/boot
    mount -t proc none /mnt/gentoo/proc/
    mount --rbind /dev /mnt/gentoo/dev/
    ntpdate pool.ntp.org
    chroot /mnt/gentoo/ /bin/bash
    But if you do
    chroot /mnt/gentoo/ /bin/bash
    you change the root and you're working under gentoo. So any changes to grub are placed in /mnt/gentoo/boot (appearing to be /boot) and not in the real /boot, which would be the reason why changes have no effect.
    Or do I see that wrong?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •