Problem: Xbian doesn't boot
|
21st Jul, 2020, 11:02 AM
Post: #16
|
|||
|
|||
RE: Xbian doesn't boot
Ok, I mounted the SD under Linux Mint. Can see both partitions, VFAT and BTRFS.
This is my cmdline.txt: "telnet zswap.enabled=1 zswap.compressor=lz4 console=tty1 partswap root=/dev/mmcblk0p2 rootflags=subvol=root/@,autodefrag,compress=lzo rootfstype=btrfs rootwait logo.nologo quiet noswap loglevel=0 startevent=mountall selinux=0 splash nohdparm net.ifnames=0 biosdevname=0 --startup-event mountall" Shall I replace everything with "rescue" or put it somewhere inside? Sorry if this can be very newbie but I am. Updating: Just put the rescue command inside, adding to it. It worked and I was able to boot into rescue mode. I could also run rch. Then I tried to watch what happens so I did nothing and rebooted. Now It keeps on a black screen with a login prompt and a small yellow flashing bolt on the upper right corner. Tomorrow I'll try to rollback a snapshot. |
|||
22nd Jul, 2020, 06:09 AM
Post: #17
|
|||
|
|||
RE: Xbian doesn't boot
(21st Jul, 2020 11:02 AM)havilson Wrote: Ok, I mounted the SD under Linux Mint. Can see both partitions, VFAT and BTRFS. Ok, everything back to normal. Rollback was successful now it's time to a home backup. Then I'll make a fresh install of the new image and restore home. But before, is there a way, I mean, is there a log file to see what could caused this? |
|||
22nd Jul, 2020, 06:37 AM
Post: #18
|
|||
|
|||
RE: Xbian doesn't boot
What exactly did you rollback? I suppose root fs
So, because of preserving the broken subvolume, you can look into by mounting it for example Terminal sudo mount /dev/root /mnt cd /mnt/root ls -la and then change into saved volume and look into var/log/apt/history.log (none prefixed /) to see which packages has been updated |
|||
22nd Jul, 2020, 07:19 AM
Post: #19
|
|||
|
|||
RE: Xbian doesn't boot
(22nd Jul, 2020 06:37 AM)Nachteule Wrote: What exactly did you rollback? I suppose root fs Yes, I did it with root fs. I followed the steps listed earlier in this thread. Moved the broken one to @_bad, so I guess it's still there. |
|||
22nd Jul, 2020, 08:55 PM
Post: #20
|
|||
|
|||
RE: Xbian doesn't boot
There is another easy way to see which packages going to be updated
Running update again from working restored system with -s parameter Terminal sudo apt-get update sudp apt-get upgrade -s |
|||
25th Jul, 2020, 07:41 AM
Post: #21
|
|||
|
|||
RE: Xbian doesn't boot
(22nd Jul, 2020 08:55 PM)Nachteule Wrote: There is another easy way to see which packages going to be updated Ok, I just run sudo apt update and then sudo apt upgrade (from terminal cli). I got a bunch of warnings, here is just a snippet of them: "insserv: warning: script 'mountdevsubfs.sh' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `mountdevsubfs.sh' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `mountdevsubfs.sh' initctl: Unknown job: checkroot.sh insserv: warning: script 'checkroot.sh' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `checkroot.sh' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `checkroot.sh' insserv: warning: script 'avahi-daemon' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `avahi-daemon' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `avahi-daemon' initctl: Unknown job: rmnologin insserv: warning: script 'rmnologin' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `rmnologin' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `rmnologin' insserv: warning: script 'cron' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `cron' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `cron' initctl: Unknown job: ssh insserv: warning: script 'ssh' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `ssh' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `ssh' initctl: Unknown job: kmod insserv: warning: script 'kmod' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `kmod' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `kmod' insserv: warning: script 'lirc' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `lirc' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `lirc' initctl: Unknown job: motd insserv: warning: script 'motd' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `motd' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `motd' insserv: warning: script 'openbsd-inetd' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `openbsd-inetd' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `openbsd-inetd' insserv: warning: script 'procps' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `procps'" Is that bad? The other day when I tried to upgrade from the terminal GUI I got some of them also, is there any relation to problem I experienced? As a matter of fact I was upgrading mainly cause my TV Remote suddenly stopped working, but I'll post about it on another section of the forum if the problem persists. Updating my post: Just tried to reboot my Xbian RPi and it didn't work, got the same problem, black screen with a login prompt. If needed I captured the whole bunch of messages that went through the terminal window since I login to reboot. |
|||
25th Jul, 2020, 08:04 AM
(This post was last modified: 25th Jul, 2020 08:06 AM by Nachteule.)
Post: #22
|
|||
|
|||
RE: Xbian doesn't boot
Oh great. Still missing useful informations
No, the insserv warnings are not bad, they are normal |
|||
25th Jul, 2020, 09:31 AM
Post: #23
|
|||
|
|||
RE: Xbian doesn't boot | |||
25th Jul, 2020, 07:18 PM
Post: #24
|
|||
|
|||
RE: Xbian doesn't boot
(25th Jul, 2020 09:31 AM)havilson Wrote:(25th Jul, 2020 08:04 AM)Nachteule Wrote: Oh great. Still missing useful informations In short words: the complete output of sudo apt-get upgrade -s to see which packages are ready for update ATM, I know 3 things only: - the problem is reproducible - its not the kernel package (linux-image-bcm2836) and not the firmware (xbian-package-firmware) (because they are not snapshotted) - the BTRFS fs seems to be ok, because rollback to a prior snapshot has been worked That there were no other new XBian packages lately, I have no idea what could be responsible for this |
|||
26th Jul, 2020, 01:34 AM
Post: #25
|
|||
|
|||
RE: Xbian doesn't boot
(25th Jul, 2020 07:18 PM)Nachteule Wrote:(25th Jul, 2020 09:31 AM)havilson Wrote:(25th Jul, 2020 08:04 AM)Nachteule Wrote: Oh great. Still missing useful informations Ok, here it is: xbian@xbian ~ $ sudo apt update [sudo] password for xbian: Ign:1 http://deb.debian.org/debian stretch InRelease Hit:2 http://deb.debian.org/debian stretch Release Get:3 http://apt.xbian.org stable InRelease [14.9 kB] Fetched 14.9 kB in 9s (1,616 B/s) Reading package lists... Done Building dependency tree Reading state information... Done 44 packages can be upgraded. Run 'apt list --upgradable' to see them. xbian@xbian ~ $ sudo apt upgrade -s Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: libbluray1 libcdio13 libcurl3 libdevmapper-event1.02.1 liblvm2app2.2 libsgutils2-2 libssh-4 libyajl2 udisks Use 'sudo apt autoremove' to remove them. The following packages will be upgraded: apt apt-utils base-files bind9-host bluez ca-certificates dbus libapt-inst2.0 libapt-pkg5.0 libbind9-140 libbluetooth3 libcups2 libcurl3 libcurl3-gnutls libdbus-1-3 libdns-export162 libdns162 libgnutls30 libicu57 libisc-export160 libisc160 libisccc140 libisccfg140 libldap-2.4-2 libldap-common liblwres141 libmariadbclient18 libperl5.24 libtiff5 libvncserver1 nfs-common perl perl-base perl-modules-5.24 python-imaging python-pil tzdata wpasupplicant xbian-package-config-shell xbian-package-firmware xbian-package-initramfs-tools xbian-update 42 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Inst base-files [9.9+deb9u12] (9.9+deb9u13 Debian:9.13/oldstable [armhf]) Conf base-files (9.9+deb9u13 Debian:9.13/oldstable [armhf]) Inst perl-modules-5.24 [5.24.1-3+deb9u6] (5.24.1-3+deb9u7 Debian:9.13/oldstable [all]) Conf perl-modules-5.24 (5.24.1-3+deb9u7 Debian:9.13/oldstable [all]) Inst libperl5.24 [5.24.1-3+deb9u6] (5.24.1-3+deb9u7 Debian:9.13/oldstable [armhf]) [perl:armhf ] Conf libperl5.24 (5.24.1-3+deb9u7 Debian:9.13/oldstable [armhf]) [perl:armhf ] Inst perl-base [5.24.1-3+deb9u6] (5.24.1-3+deb9u7 Debian:9.13/oldstable [armhf]) [perl:armhf ] Conf perl-base (5.24.1-3+deb9u7 Debian:9.13/oldstable [armhf]) [perl:armhf ] Inst perl [5.24.1-3+deb9u6] (5.24.1-3+deb9u7 Debian:9.13/oldstable [armhf]) Conf perl (5.24.1-3+deb9u7 Debian:9.13/oldstable [armhf]) Inst xbian-package-config-shell [20191004-0] (20200404-0 XBian repository:stable [armhf]) Conf xbian-package-config-shell (20200404-0 XBian repository:stable [armhf]) Inst xbian-package-initramfs-tools [20190822-0] (20200507-0 XBian repository:stable [armhf]) Conf xbian-package-initramfs-tools (20200507-0 XBian repository:stable [armhf]) Inst nfs-common [1:1.3.4-2.1] (1:1.3.4-2.1+deb9u1 Debian:9.13/oldstable [armhf]) Conf nfs-common (1:1.3.4-2.1+deb9u1 Debian:9.13/oldstable [armhf]) Inst libdbus-1-3 [1.10.28-0+deb9u1] (1.10.32-0+deb9u1 Debian:9.13/oldstable [armhf]) [dbus:armhf ] Conf libdbus-1-3 (1.10.32-0+deb9u1 Debian:9.13/oldstable [armhf]) [dbus:armhf ] Inst dbus [1.10.28-0+deb9u1] (1.10.32-0+deb9u1 Debian:9.13/oldstable [armhf]) Conf dbus (1.10.32-0+deb9u1 Debian:9.13/oldstable [armhf]) Inst wpasupplicant [2:2.4-1+deb9u4] (2:2.4-1+deb9u6 Debian:9.13/oldstable [armhf]) Conf wpasupplicant (2:2.4-1+deb9u6 Debian:9.13/oldstable [armhf]) Inst xbian-update [20200109-0] (20200508-0 XBian repository:stable [armhf]) Conf xbian-update (20200508-0 XBian repository:stable [armhf]) Inst libapt-pkg5.0 [1.4.9] (1.4.10 Debian:9.13/oldstable [armhf]) Conf libapt-pkg5.0 (1.4.10 Debian:9.13/oldstable [armhf]) Inst libapt-inst2.0 [1.4.9] (1.4.10 Debian:9.13/oldstable [armhf]) Conf libapt-inst2.0 (1.4.10 Debian:9.13/oldstable [armhf]) Inst apt [1.4.9] (1.4.10 Debian:9.13/oldstable [armhf]) [apt-utils:armhf ] Conf apt (1.4.10 Debian:9.13/oldstable [armhf]) [apt-utils:armhf ] Inst apt-utils [1.4.9] (1.4.10 Debian:9.13/oldstable [armhf]) Conf apt-utils (1.4.10 Debian:9.13/oldstable [armhf]) Inst xbian-package-firmware [9-1575993042] (9-1594745601 XBian repository:stable [armhf]) Conf xbian-package-firmware (9-1594745601 XBian repository:stable [armhf]) Inst libbind9-140 [1:9.10.3.dfsg.P4-12.3+deb9u5] (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) [bind9-host:armhf ] Conf libbind9-140 (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) [bind9-host:armhf ] Inst libdns162 [1:9.10.3.dfsg.P4-12.3+deb9u5] (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) [bind9-host:armhf ] Conf libdns162 (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) [bind9-host:armhf ] Inst libisccfg140 [1:9.10.3.dfsg.P4-12.3+deb9u5] (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) [bind9-host:armhf ] Conf libisccfg140 (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) [bind9-host:armhf ] Inst liblwres141 [1:9.10.3.dfsg.P4-12.3+deb9u5] (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) [bind9-host:armhf ] Conf liblwres141 (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) [bind9-host:armhf ] Inst libisc160 [1:9.10.3.dfsg.P4-12.3+deb9u5] (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) [bind9-host:armhf ] Conf libisc160 (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) [bind9-host:armhf ] Inst bind9-host [1:9.10.3.dfsg.P4-12.3+deb9u5] (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) Conf bind9-host (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) Inst libisccc140 [1:9.10.3.dfsg.P4-12.3+deb9u5] (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) Conf libisccc140 (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) Inst libgnutls30 [3.5.8-5+deb9u4] (3.5.8-5+deb9u5 Debian:9.13/oldstable [armhf]) Conf libgnutls30 (3.5.8-5+deb9u5 Debian:9.13/oldstable [armhf]) Inst libldap-common [2.4.44+dfsg-5+deb9u3] (2.4.44+dfsg-5+deb9u4 Debian:9.13/oldstable [all]) Conf libldap-common (2.4.44+dfsg-5+deb9u4 Debian:9.13/oldstable [all]) Inst libldap-2.4-2 [2.4.44+dfsg-5+deb9u3] (2.4.44+dfsg-5+deb9u4 Debian:9.13/oldstable [armhf]) Conf libldap-2.4-2 (2.4.44+dfsg-5+deb9u4 Debian:9.13/oldstable [armhf]) Inst libcups2 [2.2.1-8+deb9u5] (2.2.1-8+deb9u6 Debian:9.13/oldstable [armhf]) Conf libcups2 (2.2.1-8+deb9u6 Debian:9.13/oldstable [armhf]) Inst libicu57 [57.1-6+deb9u3] (57.1-6+deb9u4 Debian:9.13/oldstable [armhf]) Conf libicu57 (57.1-6+deb9u4 Debian:9.13/oldstable [armhf]) Inst libvncserver1 [0.9.11+dfsg-1.3~deb9u3] (0.9.11+dfsg-1.3~deb9u4 Debian:9.13/oldstable [armhf]) Conf libvncserver1 (0.9.11+dfsg-1.3~deb9u4 Debian:9.13/oldstable [armhf]) Inst tzdata [2019c-0+deb9u1] (2020a-0+deb9u1 Debian:9.13/oldstable [all]) Inst bluez [5.43-2+deb9u1] (5.43-2+deb9u2 Debian:9.13/oldstable [armhf]) Inst ca-certificates [20161130+nmu1+deb9u1] (20200601~deb9u1 Debian:9.13/oldstable [all]) Inst libbluetooth3 [5.43-2+deb9u1] (5.43-2+deb9u2 Debian:9.13/oldstable [armhf]) Inst libcurl3 [7.52.1-5+deb9u9] (7.52.1-5+deb9u10 Debian:9.13/oldstable [armhf]) Inst libcurl3-gnutls [7.52.1-5+deb9u9] (7.52.1-5+deb9u10 Debian:9.13/oldstable [armhf]) Inst libisc-export160 [1:9.10.3.dfsg.P4-12.3+deb9u5] (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) Inst libdns-export162 [1:9.10.3.dfsg.P4-12.3+deb9u5] (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) Inst libmariadbclient18 [10.1.44-0+deb9u1] (10.1.45-0+deb9u1 Debian:9.13/oldstable [armhf]) Inst libtiff5 [4.0.8-2+deb9u4] (4.0.8-2+deb9u5 Debian:9.13/oldstable [armhf]) Inst python-pil [4.0.0-4] (4.0.0-4+deb9u1 Debian:9.13/oldstable [armhf]) Inst python-imaging [4.0.0-4] (4.0.0-4+deb9u1 Debian:9.13/oldstable [all]) Conf tzdata (2020a-0+deb9u1 Debian:9.13/oldstable [all]) Conf bluez (5.43-2+deb9u2 Debian:9.13/oldstable [armhf]) Conf ca-certificates (20200601~deb9u1 Debian:9.13/oldstable [all]) Conf libbluetooth3 (5.43-2+deb9u2 Debian:9.13/oldstable [armhf]) Conf libcurl3 (7.52.1-5+deb9u10 Debian:9.13/oldstable [armhf]) Conf libcurl3-gnutls (7.52.1-5+deb9u10 Debian:9.13/oldstable [armhf]) Conf libisc-export160 (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) Conf libdns-export162 (1:9.10.3.dfsg.P4-12.3+deb9u6 Debian:9.13/oldstable [armhf]) Conf libmariadbclient18 (10.1.45-0+deb9u1 Debian:9.13/oldstable [armhf]) Conf libtiff5 (4.0.8-2+deb9u5 Debian:9.13/oldstable [armhf]) Conf python-pil (4.0.0-4+deb9u1 Debian:9.13/oldstable [armhf]) Conf python-imaging (4.0.0-4+deb9u1 Debian:9.13/oldstable [all]) |
|||
26th Jul, 2020, 02:34 AM
Post: #26
|
|||
|
|||
RE: Xbian doesn't boot
Good, thanks, or not good
This list completely confuses me. It looks like you haven't made any updates for over 2 months, but I don't find any binary XBian packages (like xbian-package-xbmc, xbian-package-vnc-server, linux-image-bcm2836) in the list, only architecture independent packages (for example xbian-package-config-shell) This looks like the file /etc/apt/sources.list.d/xbian.list is not correct. Please show me this file, it should look something like this Code: deb http://apt.xbian.org/ stable main rpi2-buster armv7l-buster |
|||
26th Jul, 2020, 03:21 AM
Post: #27
|
|||
|
|||
RE: Xbian doesn't boot
(26th Jul, 2020 02:34 AM)Nachteule Wrote: Good, thanks, or not good You're correct mine is: Code: deb http://apt.xbian.org/ stable main rpi2-stretch armv7l-stretch |
|||
26th Jul, 2020, 03:30 AM
Post: #28
|
|||
|
|||
RE: Xbian doesn't boot
OMG, you're still running Stretch!
Sorry, but support of Stretch has been stopped at end of last year. So there's no point in looking for errors any further The best is to make a backup of your home directory and install a new image An upgrade from Strectch to Buster doesn't seem to make sense to me because it takes a long time and might cause other errors |
|||
26th Jul, 2020, 05:02 AM
Post: #29
|
|||
|
|||
RE: Xbian doesn't boot
(26th Jul, 2020 03:30 AM)Nachteule Wrote: OMG, you're still running Stretch! I was suspecting that, so I already downloaded all necessary. When, and how, should I changed from Stretch to Buster? Is it manual? How can I get aware about if such an update will occur, is there a way? |
|||
26th Jul, 2020, 09:02 AM
Post: #30
|
|||
|
|||
RE: Xbian doesn't boot
(26th Jul, 2020 05:02 AM)havilson Wrote:(26th Jul, 2020 03:30 AM)Nachteule Wrote: OMG, you're still running Stretch! Ok, I know it's dumb but I couldn't restore my home backup file (I did it through a ssh xbian-config session and copied to my PC), it's an img.gz file named xbian_backup_home_2020-07-21-1710.btrfs.img.gz I put it into /xbmc-backup/put_here_to_restore but nothing happened, it's been deleted every time. Shall I decompress it before putting it in there or is there any other procedure to do it? |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Xbian rc2 doesn't boot / black screen | krama | 1 | 9,576 |
8th Jun, 2014 10:48 PM Last Post: IriDium |