Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: OpenSUSE installation dissapeared from boot menu.

  1. #1

    Post OpenSUSE installation dissapeared from boot menu.

    Hello!

    I have 2 OpenSUSE systems installed for testing on my laptop: one unencrypted and one encrypted (alongside windows).

    After I installed an encrypted OpenSUSE system it was working fine. I was asked for password before OpenSUSE boot menu appears and from there I could choose the encrypted, as well as the unencrypted system.

    But after starting a couple of times the unencrypted system, the encrypted system has dissapeared from boot menu, and I am no longer asked the encryption password before boot menu appears. Hence I can not start the encrypted system.

    How do I fix this?

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,085
    Blog Entries
    3

    Default Re: OpenSUSE installation dissapeared from boot menu.

    You have not provided much information.

    What's the output from:
    Code:
    grep PROBER /etc/default/grub
    (you might need to run that as root, depending on permissions on "/etc/default/grub")
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  3. #3

    Default Re: OpenSUSE installation dissapeared from boot menu.

    Quote Originally Posted by nrickert View Post
    You have not provided much information.
    Sorry, I don't know what info I should include.

    Quote Originally Posted by nrickert View Post
    What's the output from:
    Code:
    grep PROBER /etc/default/grub
    Code:
    GRUB_DISABLE_OS_PROBER="false"


  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,085
    Blog Entries
    3

    Default Re: OpenSUSE installation dissapeared from boot menu.

    Quote Originally Posted by Diogenes View Post
    Code:
    GRUB_DISABLE_OS_PROBER="false"
    That looks okay. So that was not a good guess as to your problem.

    I'll try another guess. When you update the grub2 menu, it cannot see your encrypted installation unless you have first unlocked the encryption.

    How is that system setup? Does it use an encrypted LVM? Or is it an encrypted root partition?

    What you probably need to do is unlock the encrypted system (with "cryptsetup"), and maybe mount that system somewhere where os-prober can find it.

    And then try running:
    Code:
    grub2-mkconfig -o /boot/grub2/grub.cfg
    If you need help with doing this, then we will first need more information on your system -- perhaps the output of "fdisk -l" together with comments about which partition is which.
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  5. #5

    Default Re: OpenSUSE installation dissapeared from boot menu.

    Quote Originally Posted by nrickert View Post
    How is that system setup? Does it use an encrypted LVM? Or is it an encrypted root partition?
    Encrypted system has 2 partitions btrfs root and swap. Both encrypted with same password. No LVM. Both linux systems and windows use the same efi partition.

    Quote Originally Posted by nrickert View Post
    What you probably need to do is unlock the encrypted system (with "cryptsetup"), and maybe mount that system somewhere where os-prober can find it.
    I unlocked the encrypted root in dolphin. Just clicked on the partition on the sidebar and entered the encryption password. Will it do?

    Quote Originally Posted by nrickert View Post
    And then try running:
    Code:
    grub2-mkconfig -o /boot/grub2/grub.cfg
    Here is the output:
    Code:
    Generating grub configuration file ...
    Found theme: /boot/grub2/themes/openSUSE/theme.txt
    Found linux image: /boot/vmlinuz-5.11.11-1-default
    Found initrd image: /boot/initrd-5.11.11-1-default
    Found linux image: /boot/vmlinuz-5.11.6-1-default
    Found initrd image: /boot/initrd-5.11.6-1-default
    Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
    Found openSUSE Tumbleweed on /dev/mapper/luks-d9c04676-282a-4f9b-812c-8de191d24419
    done
    After unlcoking the partition and running this command I now have a new entry in boot menu: openSUSE Tumbleweed on /dev/mapper/luks-d9c04676-282a-4f9b-812c-8de191d24419. It is from the device from the last line of the command output. It is where encrypted root is mounted from.
    But when clicking it, it gives 3 errors: no such device, no server is specified, you need to load the kernel first.

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,085
    Blog Entries
    3

    Default Re: OpenSUSE installation dissapeared from boot menu.

    Two questions:

    (1) What's the content of "/etc/crypttab" on the encrypted system.

    (2) What's the output from
    Code:
    grep CRYPT /etc/default/grub
    Run that on the system that you usually boot.
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  7. #7
    Join Date
    Sep 2012
    Posts
    6,386

    Default Re: OpenSUSE installation dissapeared from boot menu.

    Quote Originally Posted by Diogenes View Post
    But when clicking it
    Where do you do it? grub certainly does not support mouse and does not offer any possibility to "click" on anything.
    it gives 3 errors:
    What is "it"? We are not looking over your shoulder and have no way to know what have you been doing at this moment.
    no such device, no server is specified, you need to load the kernel first.
    "You need to load kernel first" sounds like it may be coming from grub, others rather unfamiliar.

  8. #8

    Default Re: OpenSUSE installation dissapeared from boot menu.

    (1) Needed to change permissions to get to the content of this file.
    Code:
    cr_swap  UUID=0ff657f4-8261-4a03-8f08-9a69ba8dd892
    cr_root  UUID=d9c04676-282a-4f9b-812c-8de191d24419  none  x-initrd.attach
    (2)
    Code:
    GRUB_ENABLE_CRYPTODISK="n"

  9. #9

    Default Re: OpenSUSE installation dissapeared from boot menu.

    Quote Originally Posted by arvidjaar View Post
    Where do you do it? grub certainly does not support mouse and does not offer any possibility to "click" on anything.
    In openSUSE themed menu where you can choose what operating system to load, including Windows. I mean when I select this option and press enter.

    Quote Originally Posted by arvidjaar View Post
    What is "it"?
    "It' is a terminal window that pops up when I press enter on this option.

  10. #10
    Join Date
    Sep 2012
    Posts
    6,386

    Default Re: OpenSUSE installation dissapeared from boot menu.

    Quote Originally Posted by Diogenes View Post
    Code:
    GRUB_ENABLE_CRYPTODISK="n"
    Try to set it to "y" and regenerate grub configuration again.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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