You are not logged in.
(Not a complete newbie but I didn’t know where else to post this)
Today I tried to resize my root partition by using parted on a live ISO because I want to dual boot with gentoo. Everything seemed to be fine but when I tried to boot back into the root partition I got this error:
https://github.com/Chiron8/Arch-wiki-pi … _9696.jpeg
I tried to run the fsck command but I always got an error saying ‘Can’t read next inode’
I think I may need to update the fstab file but I’m not really sure how to do this.
Luckily I did create a backup of my home directory just in case but I’d rather try and save the partition.
Extra information:
https://github.com/Chiron8/Arch-wiki-pi … _9695.jpeg
Partition 6 is my root partition, Partiton 8 is the new blank partition for gentoo.
Offline
parted or gparted?
Did you forget to resize the filesystem first?
In the case restore the previous partition layout, should now work fine, shrink the FS first, then the partition - or use the gparted GUI to abstract that stuff for you.
Online
Thank you so much! I managed to boot into, however many of the system files are now corrupted. I unfortunately have to reinstall.
Offline
If you didn't write there too much you can maybe fsck fix it.
If you've corrupted packages and want to avoid a re-installation
sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' | grep -v backupwill show how bad the situation is (typically re-installing packages in two passes can fix everything here)
Online