You are not logged in.

#1 2018-05-05 12:40:39

KylieGS
Member
Registered: 2018-02-19
Posts: 49

[SOLVED]/boot drive not registering as bootable if removed at shutdown

I'm setting up a computer with two factor full disk encryption somewhat like this.

Except I am keeping /boot on a usb stick (with the detached LUKS header)

It works brilliantly and the system will boot and decrypt the drive and mount the lvm partitions. It will also reboot happily many times, if I remove the usb drive during normal operation or during shutdown it also has no issues (as you'd expect). If however I shutdown the pc while the drive is disconnected, the drive will no longer read as bootable. At least until I rerun grub-install on it.

What am I missing here? Is it an artificial of luks2 encryption ?

Last edited by KylieGS (2018-05-05 16:34:58)

Offline

#2 2018-05-05 12:52:42

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 2,802

Re: [SOLVED]/boot drive not registering as bootable if removed at shutdown

Does adding the --removable flag to your grub-install command fix it?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-05-05 13:09:29

KylieGS
Member
Registered: 2018-02-19
Posts: 49

Re: [SOLVED]/boot drive not registering as bootable if removed at shutdown

Slithery wrote:

Does adding the --removable flag to your grub-install command fix it?

Feel like a fool now. I was so focused on it being an encryption problem I forgot about that option

Last edited by KylieGS (2018-05-05 13:09:47)

Offline

#4 2018-05-05 13:47:50

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 2,802

Re: [SOLVED]/boot drive not registering as bootable if removed at shutdown

Glad I could help.

Please remember to mark this thread [SOLVED].
CoC - How to post


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB