Alan Mackenzie <
[email protected]> writes:
My system isn't booting. In particular, most of the SSD partitions
won't mount, because they are not under /dev any more. The root
partition, /dev/md125 mounts, but that is all.
These partitions are lvm partitions under RAID-1 (software RAID). They simply fail to appear in /dev/mapper on boot up.
I've managed to bring my system up using a Rescue-DVD followed by
chroot. This shows that the partions on the SSD are basically
undamaged.
I strongly suspect that my emerge update from last night is to blame.
It was.
Been there, done that myself.
Mount your filesystems from the rescue boot and chroot into them.
Re-emerge lvm2 with the "lvm" flag enabled.
See
https://www.gentoo.org/support/news-items/2022-11-19-lvm2-default-USE-flags.html
Some of these commands (or similar) in the rescue boot might be helpful:
mkdir -p /mnt/{usr,var,home,work,boot,dev,sys,proc}
mount /dev/mapper/vg0-root /mnt
mount /dev/mapper/vg0-usr /mnt/usr
mount /dev/mapper/vg0-var /mnt/var
mount /dev/mapper/vg1-home /mnt/home
mount /dev/mapper/vg1-work /mnt/work
mount /dev/sda1 /mnt/boot
mount -o bind /dev /mnt/dev
mount -o bind /dev/pts /mnt/dev/pts
mount -o bind /dev/shm /mnt/dev/shm
mount -o bind /sys /mnt/sys
mount -o bind /proc /mnt/proc
PATH=/bin:/sbin:/usr/bin:/usr/sbin \
SHELL=/bin/bash \
chroot /mnt
--
Alan J. Wylie
https://www.wylie.me.uk/
Dance like no-one's watching. / Encrypt like everyone is.
Security is inversely proportional to convenience
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)