You are not logged in.

#1 2021-04-01 15:38:20

Der Chefkoch
Member
Registered: 2020-12-05
Posts: 100

[SOLVED] Restore botched grub boot loader on lvm on luks

I have a problem...

Set up arch on a laptop with lvm on luks, everything worked fine.

Now I wanted to activate hibernate but made a mistake in the etc/default/grub, now it Boots into an emergency shell.

Im about to panic, took me months to get the system to where it was now. Can I change the bootloader back, how can I unlock the encrypted container?

Thx a million for the help

Last edited by Der Chefkoch (2021-04-01 20:36:54)

Offline

#2 2021-04-01 17:11:30

StJimmy
Member
From: Rheinland
Registered: 2020-02-26
Posts: 72

Re: [SOLVED] Restore botched grub boot loader on lvm on luks

You could boot from the install disk/CD, then mount the partitions in the live system and chroot into the installed system (akin as to how you would during the installation). That should allow you to fix your mistake and generate a new, working grub.cfg.


Nanos gigantum humeris insidentes.

Offline

#3 2021-04-01 19:12:33

Der Chefkoch
Member
Registered: 2020-12-05
Posts: 100

Re: [SOLVED] Restore botched grub boot loader on lvm on luks

StJimmy wrote:

You could boot from the install disk/CD, then mount the partitions in the live system and chroot into the installed system (akin as to how you would during the installation). That should allow you to fix your mistake and generate a new, working grub.cfg.

That was it, I actually made that working with your suggestion. If that install would have been gone I would have slapped Windows back on.

Thanks a lot!

Offline

#4 2021-04-01 20:24:32

StJimmy
Member
From: Rheinland
Registered: 2020-02-26
Posts: 72

Re: [SOLVED] Restore botched grub boot loader on lvm on luks

Sure thing big_smile
It's a good thing you 'salvaged' your install then wink

If your issue is solved, you can edit your first post and append something like "[SOLVED]" to it, so that it's clear your issue got solved.


Nanos gigantum humeris insidentes.

Offline

Board footer

Powered by FluxBB