You are not logged in.
OK, your fstab looks correct - the specified UUIDs match the ones assigned to your partitions and LVs.
Now, in the iso, mount your root LV to /mnt, and then /dev/nvme0n1p2 to /mnt/boot. Then do arch-chroot /mnt. After chrooting, you should see whatever bootloader config you have somewhere under /boot. Once we make sure that's correct, we can have a look at your LUKS setup, since you have that wrapping your LVs.
Also, what seth said.
Edit: Didn't see your grub.cfg. Let me have a look.
Edit 2: OK, the grub entries seem OK to me, too.
So, let's just try recreating the initramFS:
From the iso, mount your rootLV to /mnt, your /dev/nvme0n1p2 to /mnt/boot and then arch-chroot /mnt.
Once in the chroot, run the following:
mount # verify everything is mounted where it should be - see below
mkinitcpio -PFrom the chroot, you should have /dev/mapper/volgroup0-lv_root mounted at / and /dev/nvme0n1p2 at /boot
Then exit the chroot, unmount the volumes, and try rebooting into the regular system. If that fails, we can dig deeper into grub, but my knowledge there is spotty at best.
Last edited by Whoracle (2025-03-17 13:46:18)
Offline
arch-chroot /mnt
chroot: failed to run command /bin/bash: No such file or directory
Offline
you have successfully mounted your root LV to /mnt?
mount
ls -la /mnt/*Offline
Yes it is mounted
Offline
Then may we please see the stat/ls outputs?
Something's severely off here and I'm starting to suspect that you "freed" space by deleting a whole bunch of packages (which will of course not show up as broken since they're simply not there)
So in addition to the stat & ls outputs, also
pacman --root /mnt -Qikk bash | curl -F 'file=@-' 0x0.stOffline
Offline
That is under no circumstances a POSIX root partition -- nor the output or "ls -la"
You ran "tree" in some directory holding some python code.
Offline
stat: cannot statx '/mnt/sbin' : No such file or directory
stat: cannot statx '/mnt/sbin/init' : No such file or directory
Offline
That is under no circumstances a POSIX root partition -- nor the output or "ls -la"
You ran "tree" in some directory holding some python code.
Or I mistyped the Url. I looks like l and 1.
Offline
What, exactly, did you mount?
Offline
Offline
What, exactly, did you mount?
/dev/mapper/lv_root to /mnt
/dev/nvme0n1p2 to /mnt/boot
Last edited by suityou01 (2025-03-17 14:57:12)
Offline
That is wrong, on multiple levels:
/dev/nvme0n1p2 goes to /mnt/boot AFTER the next part
You should mount your root LV (the LVM part) to /mnt
mount /dev/mapper/volgroup0-lv_root /mntshould be correct.
And how on earth did you get a correct output for seths pacman --root /mnt -Qikk etc. command when you don't have a valid arch root partition mounted on /mnt?
Something is wildly off here. Make sure to type the commands EXACTLY as we provide, barring obvious placeholders like paths.
So, to summarize: Starting from a fresh boot of archiso, unlock your LUKS device, then do the following:
mount /dev/mapper/volgroup0-lv_root /mnt
mount /dev/nvme0n1p2 /mnt/boot
mount
ls -la /mnt/* | curl -F 'file=@-' 0x0.st
pacman --root /mnt -Qikk bash | curl -F 'file=@-' 0x0.styou will get two links - one for ls -la and one for pacman -Qikk. Post both.
Last edited by Whoracle (2025-03-17 14:55:15)
Offline
I got muddled. It's quite technical and I am reading things off my laptop and typing them into my phone. They are mounted correctly.
/mnt/sbin is missing however
Offline
so, if they are mounted correctly, arch-chroot /mnt is working now? If so:
mkinitcpio -P
exit
umount /mnt/boot
umount /mnt
rebootand reboot into the installed system and check if you can boot now.
Offline
If /sbin is indeed missing that'll likely not do.
ls -la /mnt/* | curl -F 'file=@-' 0x0.stis mandatory.
Offline
Good point. Listen to seth.
Offline
Offline
pacman --sysroot /mnt -S filesystem
You should at least be able to chroot then, it might fix everything.
Last edited by Scimmia (2025-03-17 15:43:07)
Offline
pacman --sysroot /mnt -S filesystem
You should at least be able to chroot then, it might fix everything.
I did this. It booted first time. I don't know if we can figure out what can of stupid I have or how these files got deleted if I was hacking around in the pacman cache directory?
I learned a bunch though.
Thanks everyone (even Seth)
Offline
To be fair, I only got to that recommendation because of the info seth asked for, he did the heavy lifting here.
Offline
Yes he redeemed himself quite well
Offline
Nobody redeemed himself in this thread.
Unfortunately.
Offline
Don't be too harsh on yourself Seth
Offline
I see why you'd find it funny to pretend to be dense.
Good cover.
And good bye.
Offline