-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue updating to DietPi v7.1.2 from v7.0.2 #4416
Comments
Hi, Can you try following and post the output if there are errors
|
Many thanks for your report.
This indicates a filesystem corruption. Please try to have it repaired on reboot and check back fsck log:
|
Thanks for the quick responses to both of you. Tried a forcefsck w/ reboot and the system never came back up. On screen I got an message stating: [end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00] I think it is a corrupt file system but let me know if I should try anything before starting from scratch and installing DietPi all over again. Thanks |
Do you have another Linux box where you can connect your SD card on and would be able to perform some file system checks? |
Yes I do, I have my Macbook that I can hook it upto. |
That is good, macOS as |
I keep getting Permission Denied when using fsck /dev/disk3s1 I tried using the Mac disk utility and it doesn't find any errors. I think this SD card may be toast |
Can you use |
Or credit a Linux VM? |
sudo fsck_msdos -y /dev/disk3s1 ***** FILE SYSTEM IS LEFT MARKED AS DIRTY ***** |
Good. That was the boot partition, now the root partition:
Or probably |
sudo fsck_msdos /dev/disk3s2 |
That is not a FAT filesystem, but ext4, so if there is no generic fsck command, then it needs to have _ext or _ext4 suffix or similar. |
sudo fsck_ext /dev/disk3s2 sudo fsck_ext4 /dev/disk3s2 |
If I'm not mistaken MacOS did not support ext4. Isn't it? |
If you have Homebrew installed, you can run |
I don't have Homebrew installed. For some reason the file system gets corrupt each time I restart the Pi which has been very seldom because I've had this issue. So it could be the Pi (3B) itself or the SD card. I think I may just purchase a 4 and new SD card and start from scratch. |
Or you go with a USB stick and boot directly from it. This is what I'm doing on all my RPi's 😄 |
Didn't realize you could use USB to boot. I currently have a 3, does it work with Rpi3 or only Rpi4? Any specific USB drive necessary? |
3B+ will work ootb. On a 3B it would need to be activated first. See RPi docs https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md Personally I use a SanDisk 16GB Ultra Fit USB 3.1 Flash Drive on my 3b+ and 4B. It's quite good for my purposes. But you could use a SSD as well 😄 |
|
Thanks to both of you. I am going to reflash my microSD card then change the USB boot flag and hook up a USB to boot from. Thanks for all the info! |
Guys, can this be closed or do we need to keep it open? |
Having an issue updating DietPi, when attempting I get an error
`#### Details:
Linux DietPi 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l GNU/Linux
Steps to reproduce:
Expected behaviour:
Actual behaviour:
Extra details:
Additional logs:
`
The text was updated successfully, but these errors were encountered: