You are not logged in.

#1 2023-08-20 01:28:17

archmannn
Member
Registered: 2023-08-20
Posts: 3

Cannot boot after trying to change kernel from linux-hardened to linux

I cannot boot after trying to change my kernel from linux-hardened to linux. I was doing it so vmware would work properly. I've been installing and uninstalling vmware and virtualbox, which also could have messed something up. What I know I did is I changed two settings in etc/default/grub and I installed the linux package. I changed GRUB_DEFAULT=0 to GRUB_DEFAULT=saved, and I uncommented GRUB_DISABLE_SUBMENU=y because a random video said to. I also ran sudo grub-mkconfig -o /boot/grub/grub.cfg. I then rebooted and grub only gave something like "Welcome to GRUB!", and then the computer would shut down. I booted into a live usb multiple times to fix everything. I uninstalled the linux package, reinstalled grub, ran the grub config again, and tried running sudo mkinitcpio -p linux-hardened. Now it boots into grub rescue, where it mentions " error: symbol "grub_is_lockdown" not found". My entire system is encrypted. I have pictures of my grub config and grub rescue attached below.

Thank you for any help you can provide.
EDIT:Rotated pictures
https://ibb.co/3hJg3bv
https://ibb.co/3T3nwYN

Last edited by archmannn (2023-08-20 13:26:58)

Offline

#2 2023-08-20 21:43:28

obelisk
Member
From: Germany
Registered: 2021-01-10
Posts: 76

Re: Cannot boot after trying to change kernel from linux-hardened to linux

You wrote that you're changing from linux-hardened to linux.
I can readout that booting in live usb and then arch-chroot is not new for you. Good.

But when you're switching from linux-hardened to linux, you should do mkinitcpio -p linux, I mean not with linux-hardened

Last edited by obelisk (2023-08-20 21:45:23)

Offline

#3 2023-08-20 22:08:02

archmannn
Member
Registered: 2023-08-20
Posts: 3

Re: Cannot boot after trying to change kernel from linux-hardened to linux

I'm just trying to fix what I've done at this point. I no longer want to change kernels. I'm going to use another computer for the virtual machine. What should I do?

Offline

#4 2023-08-21 07:15:57

archmannn
Member
Registered: 2023-08-20
Posts: 3

Re: Cannot boot after trying to change kernel from linux-hardened to linux

I looked over the internet and I tried a couple of things, but nothing worked. My GRUB had a password, which I thought might pertain to the issue. I removed it and ran grub-mkconfig. Nothing happened. I also tried reinstalling the linux kernel, for whatever reason. I ran grub-mkconfig for that as well. That did nothing, but grub rescue said there is a intramfs, vlinuz, and a third thing pertaining to it and linux-hardened in boot, so both kernels seem to be installed. I don't know why this is happening.
(I shortened the grub commands above for writing)

Last edited by archmannn (2023-08-21 07:17:32)

Offline

#5 2023-08-21 12:29:37

obelisk
Member
From: Germany
Registered: 2021-01-10
Posts: 76

Re: Cannot boot after trying to change kernel from linux-hardened to linux

Does grub loading at beginning or not?
Which kernel you're trying at least? (I prefer linux)

Can you post the lsblk output? Which is your ESP/EFI drive and which is your / harddrive (M.2 you said, but which partition)
Are you using secureboot from EFI/Bios?
Have you tried to change the command line from /dev/nvme.... to UUID=xxxx-xxx-xx..... (check your blkid output)

Unfortunately, I don't know much about crypting the main harddrive.

Offline

#6 2023-08-21 14:20:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,664

Re: Cannot boot after trying to change kernel from linux-hardened to linux

Possibly just https://archlinux.org/news/grub-bootloa … ibilities/ ?

Sidebar:

I looked over the internet and I tried a couple of things, but nothing worked.

Read that. Read it again. What information does that *actually* convey?
Then read https://bbs.archlinux.org/viewtopic.php?id=57855

Offline

Board footer

Powered by FluxBB