Forum

Full Version: linux-image-bcm2836 4.9.58+-1508682881 breaks Xbian, doesn't boot
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The latest Linux image linux-image-bcm2836 4.9.58+-1508682881 on RPi2 messes up the whole xbian and after the rainbow splash screen the boot hangs. I'm unable to enter any rescue mode or anything like that.

:|
Seems that the build or this kernel version is broken, see here
(24th Oct, 2017 12:48 AM)Nachteule Wrote: [ -> ]Seems that the build or this kernel version is broken, see here

I have xbian with noobs. Could you help me to recover my system?

I have read this https://github.com/xbianonpi/xbian/issues/853#issue-267580074 , in particular:

Quote:I was able to restore it by copying fresh xbianboot partition from XBian_Latest_rpi3.img.gz where 4.9.56+ is used

but I don't know how to do that.
@naox

You need a running Linux system for doing that

1) Download and gunzip latest image XBian_Latest_rpi3.img.gz
2) map partitions inside of this image via command sudo kpartx -av XBian_Latest_rpi3.img
3) mount first partition by sudo mount /dev/mapper/loop0p1 /mnt
4) mount you sd-card, hopefully your XBian boot partition will be mounted to /media/xbianboot automatically
5) replace all files of the XBian boot partition (it is not the first partition of the sd-card, because this is the noobs boot partition) which two exceptions:
do not overwrite cmdline.txt and config.txt
6) umount sd-card and reboot Pi
7) when Pi is up again, install older kernel

Another solution could be (the issue seems to be identified/fixed) could be (untested):

1) remove all *.dtb files from XBian boot partition
2) reboot Pi
3) when Pi is up again, install older kernel

Btw, new 4.9.58 kernel packages has been built and successfuly tested
(24th Oct, 2017 11:31 PM)Nachteule Wrote: [ -> ]@naox

You need a running Linux system for doing that

1) Download and gunzip latest image XBian_Latest_rpi3.img.gz
2) map partitions inside of this image via command sudo kpartx -av XBian_Latest_rpi3.img
3) mount first partition by sudo mount /dev/mapper/loop0p1 /mnt
4) mount you sd-card, hopefully your XBian boot partition will be mounted to /media/xbianboot automatically
5) replace all files of the XBian boot partition (it is not the first partition of the sd-card, because this is the noobs boot partition) which two exceptions:
do not overwrite cmdline.txt and config.txt
6) umount sd-card and reboot Pi
7) when Pi is up again, install older kernel

Another solution could be (the issue seems to be identified/fixed) could be (untested):

1) remove all *.dtb files from XBian boot partition
2) reboot Pi
3) when Pi is up again, install older kernel

Btw, new 4.9.58 kernel packages has been built and successfuly tested

Working again! thanks! )

First method: I needed to connect the raspberry by ethernet.
2nd method: It didn't work for me.
(25th Oct, 2017 06:43 AM)naox Wrote: [ -> ]Working again! thanks! )

Good news Smile

Quote:First method: I needed to connect the raspberry by ethernet.

Yeah, that's because all WLAN drivers are built as modules

Quote:2nd method: It didn't work for me.

Was just an idea Dodgy

Anyway, marked as solved
Reference URL's