You are not logged in.

#1 2020-06-18 05:02:29

alkapwn3d
Member
Registered: 2020-06-15
Posts: 7

How do i get my luks encrypted device to boot?

I installed to a luks partition and when i try to boot grub says no such boot device

i used this to setup grub
```
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
```

Last edited by alkapwn3d (2020-06-18 05:22:03)

Offline

#2 2020-06-18 05:14:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: How do i get my luks encrypted device to boot?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-06-19 02:18:08

alkapwn3d
Member
Registered: 2020-06-15
Posts: 7

Re: How do i get my luks encrypted device to boot?

I know that i can look it up in the wiki but i still need help

could someone please give me a simple explanation of what i need to so

yes i know im an idiot

Offline

#4 2020-06-19 02:22:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: How do i get my luks encrypted device to boot?

In order to be able to help you, we'll need some actual information about your setup. What you did in terms of partitioning, how you setup LUKS and configured your system. The grub thing is useless without the actual config...

Please see: How To Ask Questions The Smart Way.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2020-06-19 03:08:05

alkapwn3d
Member
Registered: 2020-06-15
Posts: 7

Re: How do i get my luks encrypted device to boot?

i basically installed arch the normal way except after making 2 partitions. one type linux and the other is linux-swap. the label is msdos

then i ran cryptsetup luksFormat /dev/sda1 my_device on the main partition

then i luksOpen and continued the installation like normal. other than running crypt setup the install is the same as in the wiki guide

let me know if theres any specific details you need

Offline

#6 2020-06-19 03:10:13

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: How do i get my luks encrypted device to boot?

So you skipped the bootloader setup and the initramfs setup?

Offline

#7 2020-06-19 03:16:50

alkapwn3d
Member
Registered: 2020-06-15
Posts: 7

Re: How do i get my luks encrypted device to boot?

this is what the initramfs step says so yes i skipped it

> Creating a new initramfs is usually not required, because mkinitcpio was run on installation of the kernel package with pacstrap.

i didnt skip the boot loader step. i have my config file set to include GRUB_ENABLE_CYPTODISK=y

ive installed arch to many times that i can do it with my eyes closed. ive just never tried to set it up with disk encryption before

Last edited by alkapwn3d (2020-06-19 03:19:37)

Offline

#8 2020-06-19 03:22:54

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: How do i get my luks encrypted device to boot?

re-read the link Jason gave you in post #2.

Offline

#9 2020-06-19 03:23:50

alkapwn3d
Member
Registered: 2020-06-15
Posts: 7

Re: How do i get my luks encrypted device to boot?

thx youve been very helpful

Offline

#10 2020-06-19 14:17:21

loqs
Member
Registered: 2014-03-06
Posts: 19,062

Re: How do i get my luks encrypted device to boot?

Offline

Board footer

Powered by FluxBB