#Grub doesn‘t recognize my encrypted root partition Or just doesn‘t boot it
94 messages · Page 1 of 1 (latest)
*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
@junior elbow don't put unsolved as a title
sorry
Grub doesn‘t recognize my encrypted root partition Or just doesn‘t boot it
@junior elbow go back into the chroot please
i cant it only shows me a grub tty
boot into the usb
damn i need to mount everything new again and all of that
it didnt save anything
im in a vm right now trying to test stuff out before i do it on my ssd
i just did everything again and now im in chroot before grub install
photo please
@junior elbow is that a lsblk?
yeah
can you help my configure grub
Did you gen the grub config
no i just went to the default confi
You always have to gen the config
Even if not changing the config in /etc
.aw grub
Ok and do I first generate it and then make changes to the default grub conf or does it not matter?
and what do i need to do in the config file to make it see my encrypted root partition
It has to be every time the config is changed
Are there issues after regening the config?
i tried making a config running this command: grub-mkconfig -o /boot/grub/grub.cfg
it just returned this
in my lsblk only the root is mounted to /
idk why though pretty sure i mounted both
If you reboot you have to remount
And in the correct order
Root first
it‘s so weird I have /mnt/boot mounted outside chroot but not inside chroot so i cant install grub
@twilit basin i did the grub install now and made the config file how do i make it see my encrypted root?
...
idk how to configure it i just ran the command dont i need to add some sort of flags in the /default/grub
i tried rebooting now this is my problem… @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?
im using luks on a partition
first i edited the mkinktcpio conf and added the hooks from the wiki, regnerated them and the rebooted
cant the system already done for now
You can just boot the installer and mount your partitions
last time i did that it messed everything up
all the mountpoints were different
You do the mounting yourself...
So if you mount differently then the mountpoints are of course going to be different
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
As I don't know what you put in the configs I don't know what you did wrong...
can we go in a vc and i share my screen so its easier? i went back into chroot
i didnt change anything in grub only the hooks in mkinitcpio.conf
@twilit basin
In this time you could have taken screenshots
of what though idk what to do?
Mount the partitions and show the config files
and lsblk -f
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
Grub not configured
how do i configure it
Bruh
.
yeah but where do i need to paste that line in it doesnt say anything @twilit basin
so how does adding "quiet splash" to my grub config file make it detect my encrypted volume?
im confused
oh so i need to add the "cryptdevice=UUID=device-UUID:root root=/dev/mapper/root" to the "GRUB_CMDLINE_LINUX_DEFAULT"? @twilit basin

With the device-uuid replaced
yeah ofc and after that and re gening the config i can reboot?
Yeah
well.. idk what happened
i did everything as you said @twilit basin