Quantcast
Viewing all articles
Browse latest Browse all 4916

Advanced users • Re: [SOLVED] Looking for advance debug methods for non-booting RaspberryOS via NOOBS/PINN

We can work around that - probably due to it being installed long ago by NOOBS, which did not support backup.
What are the files in /settings/os/Raspbian_Lite?

Code:

icon.pngpartition_setup.shslides_vgaos.jsonpartitions.json
What are the contents of /settings/os/Raspbian_LIte/partition_setup.sh and os.json?

Code:

#!/bin/sh#supports_backup in PINNset -ex# shellcheck disable=SC2154if [ -z "$part1" ] || [ -z "$part2" ]; then  printf "Error: missing environment variable part1 or part2\n" 1>&2  exit 1fimkdir -p /tmp/1 /tmp/2mount "$part1" /tmp/1mount "$part2" /tmp/2sed /tmp/1/cmdline.txt -i -e "s|root=[^ ]*|root=${part2}|"sed /tmp/2/etc/fstab -i -e "s|^[^#].* / |${part2}  / |"sed /tmp/2/etc/fstab -i -e "s|^[^#].* /boot |${part1}  /boot |"# shellcheck disable=SC2154if [ -z "$restore" ]; then  if [ -f /mnt/ssh ]; then    cp /mnt/ssh /tmp/1/  fi  if [ -f /mnt/ssh.txt ]; then    cp /mnt/ssh.txt /tmp/1/  fi  if [ -f /settings/wpa_supplicant.conf ]; then    cp /settings/wpa_supplicant.conf /tmp/1/  fi  if ! grep -q resize /proc/cmdline; then    sed -i 's| init=/usr/lib/raspi-config/init_resize.sh||;s| quiet||2g' /tmp/1/cmdline.txt  fifiumount /tmp/1umount /tmp/2
Your Raspbian_Full partition looks very big. If your USB drive is formatted as FAT32, it can only support up to 4GB file sizes, and the backup is going to be about 5-6GB at a guess. Please format it as NTFS or EXT4 (provided you can read it on other devices if required)
It's exFAT. Some OSes backed up successfully: OSMC_Pi2, Lakka_RPi2.
And Raspbian Full is totally missing in SETTINGS/os/ (/dev/mmcblk0p5)
I can fine info about it in SETTINGS/installed_os.json (/dev/mmcblk0p5)
You haven't posted what PINN reports, where you are looking, what you are comparing it to or what you expect it to be. Image may be NSFW.
Clik here to view.
;)
I'll revert PINN installation to RECOVERY to check. Size reminded me the max value in uint32 - 4,294,967,295MB - something like that.
And my microSD is 64GB. Image may be NSFW.
Clik here to view.
:)

Statistics: Posted by mrpib3 — Fri Apr 19, 2024 7:00 am



Viewing all articles
Browse latest Browse all 4916

Trending Articles