Hi all,
Is it possible to redirect console messages to a file and save them between boots? I am using piCorePlayer 6.0.0 (been very stable and not seen the need to change it), but one of my raspberry pi zero's (WIFI disabled and using usb ethernet instead) fails to restart on schedule reboot, but only sometimes and very rarely. I have 3 others with same sd card build and hardware and they don't exhibit this issue - all using same pwr supply (3Amp 5.25v). I had tried running a script from piCorePlayer's User Commands, to capture dmesg to a unique file-name and persist with filetool.sh -b. However this is not getting called on failed reboots. ATM, my comdline.txt has console=tty and I was hoping to be able to easily redirect to a file. I have seen I can capture via a serial->USB dongle, but I have an Allo miniBoss DAC plugged in and not so easy to access gpio pins. Maybe I can just leave an hdmi connector plugged in and when I detect boot failure, plug it into a monitor then (not easy to leave it plugged in all the time and the issue rarely repros)? Will boot console messages still be there? Is it dangerous to the pi to plug hdmi in after boot (electrically)? Thx ------------------------------------------------------------------------ vlgindeed's Profile: http://forums.slimdevices.com/member.php?userid=70202 View this thread: http://forums.slimdevices.com/showthread.php?t=116198 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix