stuck on boot, no SSH available - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Kodi (/forum-18.html) +--- Thread: stuck on boot, no SSH available (/thread-2411.html) |
RE: stuck on boot, no SSH available - mk01 - 6th Aug, 2014 07:20 PM Oh yes, possibility of /boot being corrupted is there always. It was discussed at other forums already but let's repeat it again. FSCK on /boot is worth the few minutes always when one considers XBian installation as DEAD. Users tend to reflash whole SD card in case RPI doesn't boot, but in most cases ROOT fs is OK, only /boot is messed up (sometimes cmdline.txt, sometimes kernel.img, sometimes initramfs.gz). In first case (cmdline.txt) most likely there is cmdline.txt.old or .bak. In case of initramfs.gz easiest try is just remove the line from config.txt for the revival boot. The last option - kernel.img - needs some manual fetching & extract, but IF ROOT is that much important, then lets find how to do it. for instance by using this boot files from latest image: Code: http://xbian.brantje.com/images/boot.3.15.y.tar.gz RE: stuck on boot, no SSH available - llawnroc - 7th Aug, 2014 03:03 AM Well it appears I was a little premature in thinking I had this fixed. Got home today and the kids asked to watch a film, so I said ok, let me do the reboot that Xbian is asking for. Anyway, reboot Xbian and the Pi doesn't boot. So following what I did last time I removed the line initramfs by adding a # and it started working again. Might turn of the autoupdates for now and see how it goes! RE: stuck on boot, no SSH available - mk01 - 7th Aug, 2014 04:06 AM @llawnroc what version reads your xbian-package-initramfs-tools ? Code: dpkg-query -W xbian-package-initramfs-tools RE: stuck on boot, no SSH available - llawnroc - 7th Aug, 2014 07:18 AM (7th Aug, 2014 04:06 AM)mk01 Wrote: @llawnroc My version is: xbian-package-initramfs-tools 1.3.4-15a RE: stuck on boot, no SSH available - mk01 - 7th Aug, 2014 12:15 PM ok that means if you run Code: sudo -s your /boot/config.txt gets updated with NON-commented out Code: initramfs intramfs.gz 0x1000000 and that line is causing problem. if you remove it, it boots. in the case it is there you get black screen with cursor left up? RE: stuck on boot, no SSH available - llawnroc - 7th Aug, 2014 06:33 PM (7th Aug, 2014 12:15 PM)mk01 Wrote: ok that means if you run I believe that is the case, I can run the command when I get home later today (at work at the moment) and report back. RE: stuck on boot, no SSH available - mk01 - 7th Aug, 2014 10:30 PM thanks RE: stuck on boot, no SSH available - llawnroc - 7th Aug, 2014 10:59 PM Have just ran the command and yes it's done the same thing, put an uncommented initramfs intramfs.gz 0x1000000 into the config.txt file If I comment the line out, then it boots! RE: stuck on boot, no SSH available - mk01 - 8th Aug, 2014 08:44 AM what kernel you use and what FW? as change to memory address 0x100000 is recent, previous one wasn't working anymore (probably due some kernel & fw changes) and 0x100000 is provided as default even on .images - what in generally until now (3w) nobody complained about non-booting. let's still check "gunzip -tv /boot/initrsmfs.gz" if it throws OK or error to be sure your problem is exactly the address. RE: stuck on boot, no SSH available - llawnroc - 8th Aug, 2014 04:28 PM (8th Aug, 2014 08:44 AM)mk01 Wrote: what kernel you use and what FW? How do I find out what kernel and FW I am using? My linux skills aren't that great, I support a Windows environment for a living and only dabble in linux in my spare time! RE: stuck on boot, no SSH available - mk01 - 9th Aug, 2014 08:27 PM dpkg-query -W xbian\* RE: stuck on boot, no SSH available - llawnroc - 9th Aug, 2014 09:57 PM (9th Aug, 2014 08:27 PM)mk01 Wrote: dpkg-query -W xbian\* The output is: Code: xbian@xbian ~ $ dpkg-query -W xbian\* Thanks Edited with Code Tags - Sorry CurlyMo :-) RE: stuck on boot, no SSH available - CurlyMo - 9th Aug, 2014 10:24 PM Can you use code tags. RE: stuck on boot, no SSH available - mk01 - 10th Aug, 2014 04:59 AM (9th Aug, 2014 09:57 PM)llawnroc Wrote:(9th Aug, 2014 08:27 PM)mk01 Wrote: dpkg-query -W xbian\* ok, so basically today's updates. if you change the line Code: initramfs initramfs.gz 0x1000000 for previous address which was Code: initramfs initramfs.gz 0x0a00000 what would be the result ? RE: stuck on boot, no SSH available - llawnroc - 10th Aug, 2014 08:13 AM @mk011 - something really weird is going on. Just seen your reply, so I went to make the change in the config.txt file, however the PI asked for a reboot. Rebooted the PI and it went through without a problem. So I shut down the PI, pulled the card and put it in my Windows 7 machine, according to Windows Explorer, config.txt no longer exists! Have rebooted and shut down 5 times since and all the behaviors are the same! So not sure what's gone on, but am very glad it's working! Will continue to monitor over the remainder of the weekend and let you know on Monday if it's still working! |