#Grub doesn‘t recognize my encrypted root partition Or just doesn‘t boot it

94 messages · Page 1 of 1 (latest)

junior elbow
#

When I exited chroot and tried to reboot my system it gives my a Grub tty instead of showing me archlinux

#

*the packages I installed with pacstrap were: base, base-devel, linux-firmware, linux-hardened, nano, neofetch, grub, efibootmgr

incase that might be helpful

#

[UNSOLVED]Grub doesn‘t recognize my encrypted root partition Or just doesn‘t boot it

near heath
#

@junior elbow don't put unsolved as a title

junior elbow
#

Grub doesn‘t recognize my encrypted root partition Or just doesn‘t boot it

near heath
#

@junior elbow go back into the chroot please

junior elbow
near heath
junior elbow
#

it didnt save anything

junior elbow
junior elbow
junior elbow
near heath
#

@junior elbow is that a lsblk?

junior elbow
junior elbow
twilit basin
#

Did you gen the grub config

junior elbow
twilit basin
#

Even if not changing the config in /etc

#

.aw grub

plush stumpBOT
twilit basin
#

Section 4.1.1

#

It's also mentioned right after the install command

junior elbow
junior elbow
twilit basin
twilit basin
junior elbow
#

it just returned this

#

in my lsblk only the root is mounted to /

#

idk why though pretty sure i mounted both

twilit basin
#

And in the correct order

#

Root first

junior elbow
twilit basin
#

So fix it

#

Mount in the correct order

#

@junior elbow

junior elbow
#

@twilit basin i did the grub install now and made the config file how do i make it see my encrypted root?

twilit basin
#

...

junior elbow
twilit basin
#

If you've configured it properly it should be done

junior elbow
junior elbow
#

i tried rebooting now this is my problem… @twilit basin

twilit basin
#

Well then you obviously didn't configure it right

#

Did you configure everything like the wiki says?

#

Show lsblk -f and the kernel parameters and the mkinitcpio hooks and did you regen the initramfs?

#

And what method you're using

#

I assume LVM on LUKS?

junior elbow
#

im using luks on a partition

#

first i edited the mkinktcpio conf and added the hooks from the wiki, regnerated them and the rebooted

junior elbow
twilit basin
#

You can just boot the installer and mount your partitions

junior elbow
#

all the mountpoints were different

twilit basin
#

You do the mounting yourself...

#

So if you mount differently then the mountpoints are of course going to be different

junior elbow
#

can you please tell me what i did wrong its like the 50th time i tried installing arch im abt to quit

#

@twilit basin what do i need to do so it understands what to boot

#

it even gave me the arch linux login options before

twilit basin
#

As I don't know what you put in the configs I don't know what you did wrong...

junior elbow
#

i didnt change anything in grub only the hooks in mkinitcpio.conf

junior elbow
#

@twilit basin

twilit basin
#

In this time you could have taken screenshots

junior elbow
junior elbow
#

OK give me a minute

#

tried my best to give good screenshots of mkinitcpio.conf, default etc grub conf, and lsblk -f and lsblk @twilit basin

junior elbow
twilit basin
#

Bruh

junior elbow
#

yeah but where do i need to paste that line in it doesnt say anything @twilit basin

twilit basin
#

There's a hyperlink

#

Kernel parameters

junior elbow
#

im confused

twilit basin
#

No

#

It's a example

junior elbow
#

oh so i need to add the "cryptdevice=UUID=device-UUID:root root=/dev/mapper/root" to the "GRUB_CMDLINE_LINUX_DEFAULT"? @twilit basin

twilit basin
junior elbow
twilit basin
#

Yeah

junior elbow
#

i did everything as you said @twilit basin