Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Any clue on how to get plain dm-crypt booted?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
avdb
n00b
n00b


Joined: 16 Aug 2020
Posts: 65
Location: Netherlands

PostPosted: Wed Nov 11, 2020 12:26 pm    Post subject: Any clue on how to get plain dm-crypt booted? Reply with quote

I have /dev/sda which is partitionless with plain dm-crypt set-up but I can't seem to get it to boot. Note that unlike LUKS encryption to open plain dm-crypt block devices you have to specify the cipher and hash used, otherwise it'll be impossible to retrieve the logical volumes. I have to specify this somewhere in my GRUB kernel parameter file but I have no clue where. The Gentoo Wiki only provides this article but there isn't a single piece of information that can help me out. Other than that it also seems like block devices don't have UUIDs or labels to specify which block device you want to decrypt.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9691
Location: almost Mile High in the USA

PostPosted: Wed Nov 11, 2020 8:17 pm    Post subject: Reply with quote

Solution is to use partitions. It's needed to install grub for MBR or the ESP for EFI.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum