stuck on boot, no SSH available
|
6th Aug, 2014, 07:20 PM
Post: #16
|
|||
|
|||
RE: stuck on boot, no SSH available
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 Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
7th Aug, 2014, 03:03 AM
Post: #17
|
|||
|
|||
RE: stuck on boot, no SSH available
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! |
|||
7th Aug, 2014, 04:06 AM
Post: #18
|
|||
|
|||
RE: stuck on boot, no SSH available
@llawnroc
what version reads your xbian-package-initramfs-tools ? Code: dpkg-query -W xbian-package-initramfs-tools Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
7th Aug, 2014, 07:18 AM
Post: #19
|
|||
|
|||
RE: stuck on boot, no SSH available
(7th Aug, 2014 04:06 AM)mk01 Wrote: @llawnroc My version is: xbian-package-initramfs-tools 1.3.4-15a |
|||
7th Aug, 2014, 12:15 PM
Post: #20
|
|||
|
|||
RE: stuck on boot, no SSH available
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? Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
7th Aug, 2014, 06:33 PM
Post: #21
|
|||
|
|||
RE: stuck on boot, no SSH available
(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. |
|||
7th Aug, 2014, 10:30 PM
Post: #22
|
|||
|
|||
RE: stuck on boot, no SSH available
thanks
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
7th Aug, 2014, 10:59 PM
Post: #23
|
|||
|
|||
RE: stuck on boot, no SSH available
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! |
|||
8th Aug, 2014, 08:44 AM
Post: #24
|
|||
|
|||
RE: stuck on boot, no SSH available
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. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
8th Aug, 2014, 04:28 PM
Post: #25
|
|||
|
|||
RE: stuck on boot, no SSH available
(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! |
|||
9th Aug, 2014, 08:27 PM
Post: #26
|
|||
|
|||
RE: stuck on boot, no SSH available
dpkg-query -W xbian\*
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
9th Aug, 2014, 09:57 PM
Post: #27
|
|||
|
|||
RE: stuck on boot, no SSH available
(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 :-) |
|||
9th Aug, 2014, 10:24 PM
Post: #28
|
|||
|
|||
RE: stuck on boot, no SSH available
Can you use code tags.
pilight - modular domotica solution
|
|||
10th Aug, 2014, 04:59 AM
Post: #29
|
|||
|
|||
RE: stuck on boot, no SSH available
(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 ? Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
10th Aug, 2014, 08:13 AM
Post: #30
|
|||
|
|||
RE: stuck on boot, no SSH available
@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! |
|||
« Next Oldest | Next Newest »
|