Thanks I’ve tried that both commands finished right away but I still get the same
This is what I saw when I tried those two commands:
Thanks I’ve tried that both commands finished right away but I still get the same
This is what I saw when I tried those two commands:
you did not checked sda2, did you?
fsck -a /dev/sda2
Ah sorry I thought you meant 1 or 2 depending where it was attached I’ll try again
could you try one of the two commands at the end.
e2fsck -b 8193 /dev/sda2
BTW: you are not using SSH to connect to your DietPi device? Looks like a screen
Yeah I’m using a screen I have my other Pi connected to.
I tried the 1st one and then the second:
I put the SD back in my PI and it booted but I randomly got this message on the screen:
I did a reboot I got the same again, I’ve just rebooted again now I’m back to the “unknown-block(179.2)” message
@MichaIng
can you have a look if there is chance to get something back
I put the sd back in my other pi and tried fsck again, now for
fsck -a /dev/sda2
it doesn’t finish right away it does a bunch of checks and asks me to confirm y for things like
i_size is 281474976714754 , should be 0
or Inode 274695 has illegal block(s) clear?
Should I do it?
let’s wait for @MichaIng to give some advice.
In general, the SD card doesn’t looks very healthy
What would be the best way I can back up this image for use on a smaller SD? I currently use a 512GB card, only 200GB is being used so I can take off the videos I have and move them to my external drive and just use a 128GB sd card I have for this instance.
First we would need to get it back working before we can move it on a small device, isn’t it
Can I not back up the settings from another Pi? I can still access the petition and I can boot it but I see the message I mentioned here Updated dietpi now I can't boot I just get a black screen - #26 by AJRobson it switches between booting and the unknown block message
you have some file system corruption on your SD card. I’m not sure if simply copying the files will work.
I’ve run fsck a few times and don’t seem to have any issues with booting any more but I want to switch to another SD just to be sure. I’ve done dietpi-backup will that back up my home assistant, sonarr and jackett settings?
Yes.
Depends on where data are located. If they are on an external SDD/HDD, they might not part of the backup. If everything is located on SD card, data should be included.
Jep exactly, before or after restoring the backup, if /mnt/dietpi_userdata
is empty, attach the external drive which contained it and move DietPi userdata there via dietpi-drive_manager
.