Quantcast
Viewing all articles
Browse latest Browse all 5107

Advanced users • Re: Looking for advance debug methods for non-booting Raspbian via NOOBS

Hmm. Your boot logs show the Pi reading the PINN partition.
When it finds autoboot.txt, it will try to reboot into your OS.

If you want to log your OS booting, you need your "enable_uart, enable_2ndstage" etc. options to the boot partition's config.txt file of your OS (i.e. on partition 6 or whatever). Currently they don't seem to be booting at all.

From PINN recovery shell, I would try to mount your OS boot and root partitions and check them out for any corrupted or missing files. In particular, try this sequence of commands:

Code:

cd /tmpmkdir 6 7 mount /dev/mmcblk0p6 6mount /dev/mmcblk0p7 7ls 6cat 6/config.txtcat 6/cmdline.txtcat 7/etc/fstab

(NOTE: if you enable ssh in PINN, you could log into the recovery shell using PUTTY and capture the output more easily)

EDIT: Another idea - you could create a fresh installation of your SD card from scratch, then copy the setting files etc from your old image Image may be NSFW.
Clik here to view.
:man_shrugging:
Sure! Here is the info:

/etc/fstab
proc /proc proc defaults 0 0
/dev/mmcblk0p6 /boot vfat defaults 0 2
/dev/mmcblk0p7 / ext4 defaults,noatime 0 1
//xxx.xxx.xxx.xxx/xxxxxxx/home/pi/xxxxxxxxxxcifscredentials=/home/pi/xxxxxxxxx,_netdev,uid=1000,gid=1000,dir_mode=0755,file_mode=075500
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
ls boot/

Code:

Backup 1 of start_db.elfCOPYING.linuxLICENCE.broadcomLICENSE.oraclebcm2708-rpi-b-plus.dtbbcm2708-rpi-b-rev1.dtbbcm2708-rpi-b.dtbbcm2708-rpi-cm.dtbbcm2708-rpi-zero-w.dtbbcm2708-rpi-zero.dtbbcm2709-rpi-2-b.dtbbcm2710-rpi-2-b.dtbbcm2710-rpi-3-b-plus.dtbbcm2710-rpi-3-b.dtbbcm2710-rpi-cm3.dtbbcm2710-rpi-zero-2-w.dtbbcm2710-rpi-zero-2.dtbbcm2711-rpi-4-b.dtbbcm2711-rpi-400.dtbbcm2711-rpi-cm4.dtbbootcode.bincmdline.txtconfig.txtfixup.datfixup4.datfixup4cd.datfixup4db.datfixup4x.datfixup_cd.datfixup_db.datfixup_x.datfstabissue.txtkernel.imgkernel7.imgkernel7l.imgkernel8.imgls_outputos_config.jsonoverlaysstart.elfstart.elf_backupstart4.elfstart4cd.elfstart4db.elfstart4x.elfstart_cd.elfstart_db.elfstart_x.elfstart_x.elf_backup
boot/config.txt

Code:

# For more options and information see# http://rpf.io/configtxt# Some settings may impact device functionality. See link above for details# uncomment if you get no picture on HDMI for a default "safe" mode#hdmi_safe=1# uncomment this if your display has a black border of unused pixels visible# and your display can output without overscandisable_overscan=1# uncomment the following to adjust overscan. Use positive numbers if console# goes off screen, and negative if there is too much border#overscan_left=16#overscan_right=16#overscan_top=16#overscan_bottom=16# uncomment to force a console size. By default it will be display's size minus# overscan.#framebuffer_width=1280#framebuffer_height=720# uncomment if hdmi display is not detected and composite is being output#hdmi_force_hotplug=1# uncomment to force a specific HDMI mode (this will force VGA)#hdmi_group=1#hdmi_mode=31# uncomment to force a HDMI mode rather than DVI. This can make audio work in# DMT (computer monitor) modes#hdmi_drive=2# uncomment to increase signal to HDMI, if you have interference, blanking, or# no display#config_hdmi_boost=4# uncomment for composite PAL#sdtv_mode=2#uncomment to overclock the arm. 700 MHz is the default.#arm_freq=800# Uncomment some or all of these to enable the optional hardware interfacesdtparam=i2c_arm=on#dtparam=i2s=on#dtparam=spi=on# Uncomment this to enable the lirc-rpi module#dtoverlay=lirc-rpi# Additional overlays and parameters are documented /boot/overlays/README# Enable audio (loads snd_bcm2835)dtparam=audio=on# NOOBS Auto-generated Settings:#hdmi_force_hotplug=1gpu_mem=256start_x=1enable_uart=1uart_2ndstage=1
boot/cmdline.txt
console=serial0,115200 console=tty1 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
EDIT: Another idea - you could create a fresh installation of your SD card from scratch, then copy the setting files etc from your old image Image may be NSFW.
Clik here to view.
:man_shrugging:
If only I would remember all the changes I've made Image may be NSFW.
Clik here to view.
:D
That's why I was making full microSD backups.

Oh, I've remembered one message after the microSD restore from the backup:
Image may be NSFW.
Clik here to view.
Screenshot 2024-04-08 at 20.20.59.png

Statistics: Posted by mrpib3 — Thu Apr 11, 2024 9:23 am



Viewing all articles
Browse latest Browse all 5107

Trending Articles