Skip to content
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

DietPi does not boot after patch 144 #769

Closed
cellulosa opened this issue Feb 18, 2017 · 12 comments
Closed

DietPi does not boot after patch 144 #769

cellulosa opened this issue Feb 18, 2017 · 12 comments

Comments

@cellulosa
Copy link

I have just updated diepi with Patch 144 and after rebooting it it won't boot. The SD card now appears unreadable.

@Fourdee
Copy link
Collaborator

Fourdee commented Feb 18, 2017

@cellulosa

Hi, thanks for the report and sorry to hear your having this issue.

Which:

  • Device (eg: RPi 3)
  • SD card
  • Power supply

Also, if you are able to plug in a HDMI cable and monitor, is there anything displayed on the screen (eg: error)? Please attach a photo if you can.

@cellulosa
Copy link
Author

cellulosa commented Feb 18, 2017

@Fourdee thanks for your reply. Unfortunately I don't have any external monitor, but I can see the Pi not doing anything (it keeps the red light and no other blinking appears). Maybe something happened to the boot partition? When I run fsck it returns Unable to read directory (Input/output error).

  • Raspberry Pi Model B 512 MB RAM
  • SDHC Sandisk Ultra 30 MB/s 16GB
  • iZKA micro USB Mains Power Wall Supply Charger 1000mAh / 1A

@Fourdee
Copy link
Collaborator

Fourdee commented Feb 20, 2017

@cellulosa

Thanks for the info.

iZKA micro USB Mains Power Wall Supply Charger 1000mAh / 1A

This stands out as a possible cause (we recommend official RPi PSU with at least 2A), however, we did experience some issues linked to image corruption on a few of our previous images, that may of caused this to occur over time:
https://github.com/Fourdee/DietPi/issues/719#issuecomment-277533451

This should now be resolved, using our updated image DietPi_v143_RPi-armv6-(Jessie).img.

If you are able to read the following file on partition 2 of the SD card, we can check if the image you used may of been effected:

cat /etc/.dietpi_image_version

@cellulosa
Copy link
Author

@Fourdee thanks for the support.

Running cat /etc/.dietpi_image_version on the Pi returns 142.

I have now downloaded the updated image DietPi_v143_RPi-armv6-(Jessie).img. How do you recommend to proceed to manually update the Pi?

@Fourdee
Copy link
Collaborator

Fourdee commented Feb 22, 2017

@cellulosa

Running cat /etc/.dietpi_image_version on the Pi returns 142.

Ah yes, so this could be caused by the image, apologies for that, although, still cant rule out PSU.

I have now downloaded the updated image DietPi_v143_RPi-armv6-(Jessie).img. How do you recommend to proceed to manually update the Pi?

For fresh installations, DietPi updates automatically during 1st run to latest version.

I have just updated diepi with Patch 144 and after rebooting it it won't boot. The SD card now appears unreadable.

If indeed the SD card is unreadable, and no info is available on HDMI output during boot, a fresh install is the only option.

We could attempt to recover user data (eg: nextcloud files etc) from your previous installation (if its critical), which software did you install, and was a USB drive used?

@cellulosa
Copy link
Author

@Fourdee it's ok I will just do a fresh install. Thanks for your help!

@cellulosa
Copy link
Author

cellulosa commented Feb 27, 2017

@Fourdee I have now bought the Raspberry Pi Official Universal Power Supply Unit and re-formatted the SD drive with the updated image DietPi_v143_RPi-armv6-(Jessie).img. However, after the first reboot (after updates) the Pi does not boot anymore. Still something wrong after patch 144:

 (...)
 
 [Ok] Patch 144 completed

 DietPi-Update
───────────────────
 Mode: Completed
 Please wait...

 [Info] Current Version : 144
 [Info] Server Version  : 144
 [Ok] Update completed

Please reboot your system now, using the command reboot

@cellulosa cellulosa reopened this Feb 27, 2017
@Fourdee
Copy link
Collaborator

Fourdee commented Feb 28, 2017

Before writing the image, lets also complete a full format on the SD card:

The above will write zero to all cells on the SD card (essentially refresh/reset). Once completed, write the DietPi image.

@cellulosa
Copy link
Author

@Fourdee

Thank you. By following your process and formatting the SD cart and then installing the updated RPi image it all worked.

@WolfganP
Copy link

WolfganP commented Mar 4, 2017

I suffered a booting issue with a brand new v144 image burn and boot installation on a RPi2.
Burned the image to an SD card, started configuring it, used for a while, and after that the system didn't boot (just a few green led indications of storage being read, but no display on HDMI so I don't know where the system stands up, as no FTP either)

I removed the the SD card and analyzed it. The FAT partition seems OK (no SDcard block errors, all files seem present including /dietpi), but didn't proceed to analyze the linux type 83 partition (I've just looked for another SD card and reinstalled everything, now RPi boots OK).

Anything you want me to check on the offending SD card?

@WolfganP
Copy link

@Fourdee After having issues with booting again after a reboot (RPi2 read the SDcard for several seconds and then nothing, not even reach initializing the HDMI display for further troubleshooting), I analyzed the SDcard and everything on the FAT partition seems OK, but I can't open the rootfs partition on a PC. Is it an standard ext4 partition or did you protect/disguise it somehow?
Thx.

@Fourdee
Copy link
Collaborator

Fourdee commented Apr 13, 2017

@WolfganP

but I can't open the rootfs partition on a PC. Is it an standard ext4 partition or did you protect/disguise it somehow?

All our images use a standard ext4 partition on partition 2. If your system supports ext4, it should be visible. If not, it sounds like a failed image write or unstable SD card.
image

Have you tried: https://github.com/Fourdee/DietPi/issues/769#issuecomment-283030267 (or dd if=/dev/zero of=dev/sdCARD) to full format SD card prior to image write?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants