Hi all, I’m pretty new to all of this so sorry in advance for my limited knowledge.
I dual boot with Manjaro KDE and Windows 10. My problem is that I decided I needed more space on Windows and I tried using both KDE and Windows default partition managers to take some space from Manjaro, neither worked so I used my Manjaro live iso to try, it kinda worked but now I’m unable to load into Manjaro, when I try this error pops up for a few seconds
error: attempt to read or write outside of partition
Press any key to continue. . .
(Sorry I can’t post images so I hope I am formatting this correctly)
After waiting a few seconds or pressing any key I will be shown this
Manjaro_Linux: The filesystem size (according to the superblock) is 291740672 blocks
The physical size of the device is 196608000 blocks
Either the superblock or the partition table is likely to be corrupt!
Manjaro_Linux: UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY.
(i.e., without -a or -p options)
ERROR: Bailing out. Run ‘fsck /dev/sda4’ manually
FILESYSTEM CHECK FAILED
Please run fsck manually. After leaving this maintenance shell, the system will reboot automatically.
sh: can’t access tty: job control turned off
[rootfs ]#
I tried following the directions that it shows me to manually run fsck but it took me almost 2 hours without the screen changing to just quit out of it, when I tried looking up similar cases I found one that took an hour to work but apparently that much time is abnormal? But now that I’m looking at it I also ran the command with using a instead of y for each so I’m not sure if that would affect it.
I can load into Windows 10 fine but with a similar looking error that appears beforehand
error: attempt to read or write outside of partition.
/EndEntire
file path: /ACPI(a0341d0,0)/PCI(3,1)/PCI(1,0)/Sata(4,ffff,0)HD(1,000m32000,3aea1b0cb5797f49,2,2)/File(\efi\Microsoft\Boot )/File(bootmgfw.efi)/EndEntire
Press any key to continue. . .
I tried to restore using timeshift since that worked for me previously with an unrelated partition issue but it didn’t help and this is what that looked like in case it provides any information
[manjaro@manjaro ~] timeshift --restore
Application needs admin access.
Please run the application as admin (using ‘sudo’ or ‘su’)
[manjaro@manjaro ~] sudo timeshift --restore
First run mode (config file not found)
Selected default snapshot type: RSYNC
E: Failed to mount device ’ /dev/sda4’ at mount point ’ /run/timeshift/backup’
E: mount: /run/timeshift/backup: wrong fs type, bad option, bad superblock on /dev/sda4, missing codepage or helper program, or other error.
Selected default snapshot device: /dev/sda4
Select backup device:
Num Device Size Type Label
0 > /dev/sda4 805.3 GB ext4 Manjaro Linux
Enter device name or number (a=Abort): 0
E: Failed to mount device ’ /dev/sda4’ at mount point ’ /run/timeshift/backup’
E: mount: /run/timeshift/backup: wrong fs type, bad option, bad superblock on /dev/sda4, missing codepage or helper program, or other error.
E: No snapshots found on device ’ /dev/sda4’
I’m still able to use Windows 10 ok aside from the error at the start, I’m likely going to start from scratch and reinstall both OS but I had some documents I forgot to back up that I would really like to recover, not sure if there’s a way to fix what I’ve got now but I would at least like to get those back if possible, I don’t know if I can recover them somehow with the timeshift file on a new install or something? I only have the one on the manjaro partition though.
Edit: I forgot to post what happens when I input the commands, this is what I’m getting every time I try any fsck variation.
[rootfs ]# fsck -v /dev/sda4
fsck from util-linux 2.37.2
e2fsck 1.46.4 (18-Aug-2021)
The filesystem size (according to the superblock) is 291740672 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort(y)? no
Manjaro_Linux contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Error reading block 196600032 (Invalid argument) while getting next inode from scan. Ignore error(y)? yes
Force rewrite(y)? yes
Everything then halts at this point, I can still type stuff so it didn’t freeze but no other lines pop up and the longest I’ve waited just in case was a bit more than 2 hours, not sure if it keeps working either since reboot and exit don’t work while in that state. If I abort or don’t ignore the error nothing happens and if I don’t force rewrite then the last 2 lines loop.
To clarify: I used KDE partition manager on a live iso and after the fact when I realized something was wrong I tried to give the space back to the original partition the same way but it kept giving an error, not sure if that is relevant.