Results 1 to 3 of 3

Thread: LUKS, Grub, and startup boot choices [SOLVED]

  1. #1
    Join Date
    Aug 2011
    Location
    47°9′S 126°43W
    Beans
    2,172
    Distro
    Ubuntu 16.04 Xenial Xerus

    LUKS, Grub, and startup boot choices [SOLVED]

    I am running Kubuntu 12.10 on a LUKS-encrypted disk. The whole thing is working fine(*), but... on my previous PC, where I had a an unencrypted 10.04, I would get the Grub menu on startup, allowing me to choose a boot image or to run memtest. But I don't get this menu when I boot 12.10, it goes direcrtly to the LUKS passphrase. I did have a glimpse of the menu a couple of times... without knowing what made it show up (and didn't have the time to make a choice).

    The grub.cfg is indeed listing 3 images and memtest86. Is there something special to do to activate the menu? Or some key combo to get the menu when booting?

    (*) one caveat though: there isn't that much space on /boot, so you can only get 3 or 4 kernels images before it fills up. And the automatic installations of new images don't clean up the old ones. I don't know what happens when the disk fills up while a new image is configured.... it may not be pretty.
    Last edited by ofnuts; June 25th, 2013 at 08:07 AM.

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: LUKS, Grub, and startup boot choices

    Try increasing the grub timeout so you can see the menu. Open the file for editing by doing...
    Code:
    kdesudo kate /etc/default/grub
    and change the GRUB_TIMEOUT value to something larger.
    Then update grub by running...
    Code:
    sudo update-grub
    The fact that you are using a LUKS encrypted disk makes no difference at all. Grub acts just as it would in a normal installation.
    Last edited by Cheesemill; June 24th, 2013 at 11:56 PM.
    Cheesemill

  3. #3
    Join Date
    Aug 2011
    Location
    47°9′S 126°43W
    Beans
    2,172
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: LUKS, Grub, and startup boot choices

    The timeout is already set to 10 but googling for GRUB_TIMEOUT got me the answer. Ubuntu hides this menu unless you have another opsys installed (my previous system could also boot Windows... until I put that partition to better use). It seems holding the shift key while booting makes the menu appear, so I'll try this at next reboot. This would be sufficient. Thx for the heads up.

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
  •