4.19.42+ kernel broke the file system, LZ4 issue, how to revert to prev kernel?
|
18th May, 2019, 09:04 AM
Post: #1
|
|||
|
|||
4.19.42+ kernel broke the file system, LZ4 issue, how to revert to prev kernel?
I'm sorry for not being able to access the log files for exact commands or error messages i've ran and had before running into problems. Also I feel I'm a bit out of me depth in here, having learnt to tinker with Linux a bit with Xbian but having no proper understanding of cmdline.txt or boot blocks, I only know how to use btrfs-auto-snapshots. Anyway here goes:
I have been running an Xbian installation at least one year old, not paying any attention to filesystem compressions or messing with them as everything has been working just fine. The latest kernel update on my Raspberry Pi 2 (4.19.42+ I guess) didn't work, apt-get upgrade gave me an error message saying: "you have LZ4 compression enabled, but this is not longer supported by kernel v4.19.42+" The advice apt-get gave me was to run apt-get --remove-compression or apt-get --recompress or something like that that had compression in it. I dont' recall that exactly and I can't check what it was because the log files are out of my reach now. I ran the command, and an ASCII visualization of the process showed up. It failed at 75 %, error message saying something about there not being enough space, running out of kilobytes maybe (that sounded legit, I had something like 4 GB of free space on 100+ GB SD card). I tried running apt-get upgrade again anyway after that and this time it proceeded to unpack and install the newer kernel. But after reboot Xbian boots into recovery console, failing to mount root, telling me: "wrong fs type, bad option, bad superblock on /dev/mmcblk0p2, missing codepage or helper program or other error." And later: "The root partition as specified in cmdline.txt or boot.src.txt is now mounted under /rootsfs", and that the directory is totally empty. I'm pretty sure it has something to do with the kernel being upgraded to a version that doesn't support LZ4 compression but the file system still being compressed and thus being unaccessible. Is there any way to revert to an older kernel that still supports the compression, so I can access my Xbian filesystem? Or is the problem somewhere else? Anyway, I'd be really grateful for help, because right now it seems that I can't access any files on my Xbian. [ Subject edit, because of exceeding max length ] |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
problems with new kernel update | rafhtl | 5 | 9,197 |
1st Sep, 2019 06:24 AM Last Post: Nachteule |
|
How can I add lz4-patch to kernel? | suhm | 8 | 23,971 |
12th Jan, 2017 11:40 PM Last Post: jyviko |
|
Kernel 4.4 for RPI2 | duno | 4 | 12,695 |
29th Jan, 2016 03:48 AM Last Post: duno |
|
Kernel 3.18.6+ Test (Pi 1 only) | f1vefour | 13 | 30,984 |
28th Feb, 2015 06:45 AM Last Post: f1vefour |
|
[RPi] Staging xbian-package-kernel (3.17.7-ck2+) | CurlyMo | 5 | 13,798 |
13th Feb, 2015 12:33 AM Last Post: f1vefour |
|
xbian kernel source package | eph | 4 | 26,928 |
19th Dec, 2014 08:34 PM Last Post: eph |
|
[IDEA] Kernel for Wolfson | Dunnie | 3 | 12,125 |
6th Nov, 2014 10:24 PM Last Post: f1vefour |
|
Latest RPI kernel doesn't support zram | Killerbee | 2 | 11,142 |
14th Dec, 2013 12:47 AM Last Post: Killerbee |
|
KERNEL 3.12 question | zarboz | 5 | 15,329 |
16th Nov, 2013 10:23 AM Last Post: zarboz |
|
TP-Link TL-WN725N version 2 with 3.8 Kernel | kyle_l88 | 8 | 42,016 |
10th Sep, 2013 10:11 AM Last Post: mk01 |