You are not logged in.
Greetings, i am using a system encrypted with LUKS2 and the latest version of grub and every-time i try to do update-grub, the line
linux /vmlinuz-linux-zen cryptdevice=UUID=A:root root=/dev/mapper/root (A being the encrypted drive that is mounted on/ '/dev/nvme0n1p2') on the grub.cfg file automatically defaults back to
linux /vmlinuz-linux-zen root=UUID=B (B being the unlocked, unencrypted and unmounted-at-the-time drive that is to be mounted on /dev/mapper/root after decryption/ '/dev/mapper/root') , how may i fix the update-grub and grub-mkconfig commands from breaking the mount points for the boot drive and having to manually set the boot-points for them every time after use? I tried disabling UUID on Grub and the only thing that changed was the uuid part got changed to /dev/mapper/root, pretty much the same thing...
Offline
update-grub is a Debian thing. It doesn't exist on Arch and you shouldn't try to use it.
Online
update-grub is a Debian thing. It doesn't exist on Arch and you shouldn't try to use it.
Update grub is just a small line of code to make the grub-mkconfig faster,
#!/bin/sh
set -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"SRC: https://askubuntu.com/questions/418666/ … -not-found
Last edited by LowkeyUndergrounder (2022-08-09 02:49:42)
Offline
Which is totally pointless then, isn't it?
But as I said, it doesn't exist on Arch. How do you have it and why?
Online
Which is totally pointless then, isn't it?
But as I said, it doesn't exist on Arch. How do you have it and why?
It doesn't exist on Arch is a very weird way to put it out, it is just a script that is written in order to just automatically do grub-mkconfig -o /boot/grub/grub.cfg without having to write the command from scratch every time, on the how; just read the source i stated there, that guide also works on Arch without having to employ any workarounds...
Offline
I think it's pretty safe to say at this point that you're not on Arch. Please ask for help on your distro's support channels.
Online
I think it's pretty safe to say at this point that you're not on Arch. Please ask for help on your distro's support channels.
Are you ok mate? How were you able to determine if i was on Arch or not looking at some explanations i made on how to get the update-grub command on Arch and how i did so?
Last edited by LowkeyUndergrounder (2022-08-09 11:42:53)
Offline
Still ongoing issue, just for future reference; an alternative title for this post would be 'grub-mkconfig -o /boot/grub/grub.cfg sets unencrypted drive as root every time when used'
Offline