You are not logged in.
So the FS is ~195MB bigger than the partition.
When you restored the partitions after trying to grow the root partition, did you restore the *exact* previous sizes?
Try to use one of the alternative superblocks, https://wiki.archlinux.org/title/File_recovery#e2fsck
dumpe2fs -h /dev/sda3
fsck.ext4 -n -b #superblock position here#
Offline
So the FS is ~195MB bigger than the partition.
When you restored the partitions after trying to grow the root partition, did you restore the *exact* previous sizes?Try to use one of the alternative superblocks, https://wiki.archlinux.org/title/File_recovery#e2fsck
dumpe2fs -h /dev/sda3 fsck.ext4 -n -b #superblock position here#
All I said when restoring it was just 1000GB, because it didn’t tell me the exact size it was before…
Offline
Also, how do I actually determine the superblock position?
(also, the filesystem state also said clean with errors. what.)
Offline
The error is that the FS is configure to be bigger than the actual partition - if you're super lucky, that's all.
You can list the alternative suprtblocks w/ "dumpe2fs -h /dev/sda3" - I noted the command and linked the wiki entry detailing on it…
Offline
The error is that the FS is configure to be bigger than the actual partition - if you're super lucky, that's all.
You can list the alternative suprtblocks w/ "dumpe2fs -h /dev/sda3" - I noted the command and linked the wiki entry detailing on it…
I already did the command, i just dont know where it is…
Offline
No, seriously, I did the command but I don’t know how to find the superblocks…
Offline
No, seriously, I did the command but I don’t know how to find the superblocks…
Post the output if you're not sure how to interpret it.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Kxed wrote:No, seriously, I did the command but I don’t know how to find the superblocks…
Post the output if you're not sure how to interpret it.
Ok, I will. Sorry for posting another one of these…
https://share.icloud.com/photos/03bW72g … pfQK_u_pjQ
Offline
Sorry, I don't know how to use that output to locate the superblocks either. I would try this instead
dumpe2fs /dev/sda3 | grep superblock
The output with -h seemed to tell me everything but superblock locations, even though the manual page claims it will tell me only those.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Either there're no backup superblocks or dumpe2fs (no longer) prints them (seems the latter since it doesn't here either)
mkfs.ext4 -n /dev/sda3
will also print the backup superblocks.
The "-n" is VERY!!! important, otherwise you'll create a new filesystem and your data is gone!
Do you already have a backup of the disk?
If you have a backup, you can just fsck /dev/sda3 and have it repair the filesystem. It was created on october 7th and last mounted and written to on october 29th, 15:12 - what was probably around the time of your last posts on the forum…
Offline
Either there're no backup superblocks or dumpe2fs (no longer) prints them (seems the latter since it doesn't here either)
Do you already have a backup of the disk?
If you have a backup, you can just fsck /dev/sda3 and have it repair the filesystem. It was created on october 7th and last mounted and written to on october 29th, 15:12 - what was probably around the time of your last posts on the forum…
I’m not sure if I do have a backup. I don’t know how to check if I do either. I remember one on the other disk, but I’m not sure…
Offline
The idea would be to have you make an image of sda3 *now* before you manipulate it, so if the manipulation makes things worse, you can at least return to the current status quo.
Offline
Unfortunately, there’s no more space on the other hard drive. Should I do it anyway?
Offline
Only you can answer that question, depending on how problematic data loss on sda3 would be for you (in comparism to waiting to get a new backup drive first)
From the overall situation I don't think having fsck clean the FS will result in a disaster BUT: idk that for sure either.
Offline
Either there're no backup superblocks or dumpe2fs (no longer) prints them (seems the latter since it doesn't here either)
dumpe2fs prints them if I don't use -h.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Offline
Alrighty, the second hard drive has arrived. I will check if it’s a fraud tomorrow and then, if it’s real and fast, use it on the computer to copy everything to. I will update you on the situation later.
Edit: LMAOOOOO IT WAS AN ENCLOSURE, HOW COULD I BE SO DUMB
Last edited by Kxed (2022-11-22 13:52:28)
Offline
https://share.icloud.com/photos/0ebWMD0 … VOTCjC0h5w Does this mean that it was fixed?
Edit: i checked fdisk again and the end of the drive didnt change… how do i find where my partition originally ended?
Last edited by Kxed (2022-12-06 02:33:11)
Offline
Post an updated output of "lsblk -f", testdisk should™ be able to recover previous partitions.
In doubt post its findings as well.
Offline
Here’s the output of lsblk -f: https://share.icloud.com/photos/04a1AdQ … ocogB9BrJg
And the output of the testdisk file structure checker. https://share.icloud.com/photos/032WNEt … NHKECKjncA Maybe i found the correct disk size now?
Offline
Since i think i found the correct partition end, does fdisk delete data when you delete and remake a partition to make more space?
Offline
The partitions weren't mouted when you ran lsblk.
Does the testdisk result differ from the current layout (fdisk -l /dev/sda)
Please avoid posting photos of your monitor - if you've working internet
fdisk -l | curl -F 'file=@-' 0x0.st
will upload the output to a pastebin service.
Edit: fdisk writes the partition table - it does in and by itself not touch your filesystem.
Those would be later errors.
Last edited by seth (2022-12-06 14:22:39)
Offline
Does the testdisk result differ from the current layout? (fdisk -l /dev/sda)
Yes actually, it does! http://0x0.st/oDoX.txt
Offline
Alrighty, so I set the drive end to the one shown in testdisk, but i still cant boot into arch! What else is going on here?
Last edited by Kxed (2022-12-06 15:16:17)
Offline
Something went wrong on the 0x0.st post
What errors do you get for the failing boot and what does fsck now report?
Offline