Comments (12)
How did you install zfs, ie do you have zfs-dkms
installed? For me the zfs modules are compiled & installed through dkms when I install a new kernel.
from ubuntu-mainline-kernel.sh.
It could be helpful if you showed some output of the script, grub, and the content of /boot
.
from ubuntu-mainline-kernel.sh.
yeah sorry.
So i ran an uninstall and reinstall, and i do see it in the install log.
But on reboot at the grub menu under 'advanced options' i get just 5.4.0-21 & 5.4.0-18
ls -l /boot
total 276377
-rw-r--r-- 1 root root 237718 Apr 23 02:08 config-5.4.0-28-generic
-rw-r--r-- 1 root root 237718 Apr 30 01:34 config-5.4.0-29-generic
-rw-r--r-- 1 root root 241511 May 15 01:20 config-5.6.13-050613-generic
drwxr-xr-x 2 root root 5 May 20 11:00 grub
lrwxrwxrwx 1 root root 32 May 20 10:57 initrd.img -> initrd.img-5.6.13-050613-generic
-rw-r--r-- 1 root root 81979449 May 1 12:50 initrd.img-5.4.0-28-generic
-rw-r--r-- 1 root root 81978729 May 7 06:05 initrd.img-5.4.0-29-generic
-rw-r--r-- 1 root root 82611383 May 20 10:57 initrd.img-5.6.13-050613-generic
lrwxrwxrwx 1 root root 27 May 20 10:57 initrd.img.old -> initrd.img-5.4.0-29-generic
-rw------- 1 root root 4736015 Apr 23 02:08 System.map-5.4.0-28-generic
-rw------- 1 root root 4736015 Apr 30 01:34 System.map-5.4.0-29-generic
-rw------- 1 root root 5375638 May 15 01:20 System.map-5.6.13-050613-generic
lrwxrwxrwx 1 root root 29 May 20 10:57 vmlinuz -> vmlinuz-5.6.13-050613-generic
-rw------- 1 root root 11657976 Apr 23 02:43 vmlinuz-5.4.0-28-generic
-rw------- 1 root root 11657976 Apr 30 01:54 vmlinuz-5.4.0-29-generic
-rw------- 1 root root 11976992 May 15 01:20 vmlinuz-5.6.13-050613-generic
lrwxrwxrwx 1 root root 24 May 20 10:57 vmlinuz.old -> vmlinuz-5.4.0-29-generic
this doesn't correspond... maybe i have bigger problems. This was a fresh 20.04 ubuntu install
from ubuntu-mainline-kernel.sh.
daniel@workski:/$ mount | grep "rpool/ROOT/ubuntu_1kdm8t"
rpool/ROOT/ubuntu_1kdm8t on / type zfs (rw,relatime,xattr,posixacl)
rpool/ROOT/ubuntu_1kdm8t/var/mail on /var/mail type zfs (rw,relatime,xattr,posixacl)
rpool/ROOT/ubuntu_1kdm8t/srv on /srv type zfs (rw,relatime,xattr,posixacl)
rpool/ROOT/ubuntu_1kdm8t/var/lib on /var/lib type zfs (rw,relatime,xattr,posixacl)
rpool/ROOT/ubuntu_1kdm8t/usr/local on /usr/local type zfs (rw,relatime,xattr,posixacl)
rpool/ROOT/ubuntu_1kdm8t/var/log on /var/log type zfs (rw,relatime,xattr,posixacl)
rpool/ROOT/ubuntu_1kdm8t/var/games on /var/games type zfs (rw,relatime,xattr,posixacl)
rpool/ROOT/ubuntu_1kdm8t/var/www on /var/www type zfs (rw,relatime,xattr,posixacl)
rpool/ROOT/ubuntu_1kdm8t/var/spool on /var/spool type zfs (rw,relatime,xattr,posixacl)
rpool/ROOT/ubuntu_1kdm8t/var/snap on /var/snap type zfs (rw,relatime,xattr,posixacl)
rpool/ROOT/ubuntu_1kdm8t/var/lib/apt on /var/lib/apt type zfs (rw,relatime,xattr,posixacl)
rpool/ROOT/ubuntu_1kdm8t/var/lib/AccountServices on /var/lib/AccountServices type zfs (rw,relatime,xattr,posixacl)
rpool/ROOT/ubuntu_1kdm8t/var/lib/dpkg on /var/lib/dpkg type zfs (rw,relatime,xattr,posixacl)
rpool/ROOT/ubuntu_1kdm8t/var/lib/NetworkManager on /var/lib/NetworkManager type zfs (rw,relatime,xattr,posixacl)
from ubuntu-mainline-kernel.sh.
OK, seems my bpool was not mounted to /boot for some reason. system was updating /boot which was now a plain directory on rpool, but at boot grub was still reading from bpool
from ubuntu-mainline-kernel.sh.
I guess as a 'mainline' kernel, this doesn't have the ZFS modules to load a root ZFS filesystem anyway?
On boot i get dumped to an initrd commandline that asks me to load the ZFS kernel modules.
Maybe yet another caveat in the README would be in order?
from ubuntu-mainline-kernel.sh.
from ubuntu-mainline-kernel.sh.
You need zfs-dkms installed if you install the mainline kernels, as those don't have zfs modules compiled in.
from ubuntu-mainline-kernel.sh.
I've installed zfs-dkms and then 5.7.1 still no dice. Dumped to the initramfs prompt and nothing in /lib/modules//kernel/zfs+
daniel@workski:/usr/lib/modules$ find -name zfs*
./5.4.0-18-generic/kernel/zfs
./5.4.0-18-generic/kernel/zfs/zfs.ko
./5.4.0-37-generic/kernel/zfs
./5.4.0-37-generic/kernel/zfs/zfs.ko
./5.4.0-33-generic/updates/dkms/zfs.ko
./5.4.0-33-generic/kernel/zfs
./5.4.0-33-generic/kernel/zfs/zfs.ko
daniel@workski:/usr/lib/modules$ ls -l
total 259
drwxr-xr-x 5 root root 19 Mar 24 20:40 5.4.0-18-generic
drwxr-xr-x 2 root root 12 May 30 06:54 5.4.0-21-generic
drwxr-xr-x 2 root root 12 Apr 27 15:07 5.4.0-24-generic
drwxr-xr-x 2 root root 12 May 3 19:49 5.4.0-25-generic
drwxr-xr-x 2 root root 12 May 8 09:27 5.4.0-26-generic
drwxr-xr-x 2 root root 12 May 21 09:08 5.4.0-28-generic
drwxr-xr-x 2 root root 12 May 30 06:54 5.4.0-29-generic
drwxr-xr-x 2 root root 12 Jun 12 06:14 5.4.0-31-generic
drwxr-xr-x 6 root root 20 Jun 24 15:04 5.4.0-33-generic
drwxr-xr-x 5 root root 19 Jun 11 06:16 5.4.0-37-generic
drwxr-xr-x 5 root root 19 Jun 24 15:12 5.7.1-050701-generic
from ubuntu-mainline-kernel.sh.
Note that you need zfs-dkms 0.8.4 to support kernel 5.7.x , which is available most easily by updating to ubuntu groovy.
from ubuntu-mainline-kernel.sh.
dkms status
zfs, 0.8.4, 5.7.5-050705-generic, x86_64: installed
from ubuntu-mainline-kernel.sh.
Thank you very much @satmandu i tried again with 5.6.17 and now running with ZFS root via zfs-dkms
from ubuntu-mainline-kernel.sh.
Related Issues (20)
- Handle kernel build failures HOT 9
- Tab completion when uninstalling kernels HOT 3
- linux-tools? HOT 2
- Abort, the amd64 build has not succeeded HOT 2
- [Feature?] Revert back to Ubuntu default distro kernel (or Hardware Enablement Stack) HOT 6
- warn/fail if libc6 is not correct version HOT 10
- kernel install failed since v5.10.37, v5.11.21 HOT 1
- Possible error while trying to exit the script from uninstallation HOT 1
- gpg is required HOT 3
- GPG: check signature behind proxy HOT 1
- Support Secure Boot HOT 3
- Build mailine kernel locally or remotelly with configuration and patches applied HOT 1
- not working with the latest kernel v5.16 HOT 2
- Abort, sha256sum returned an error 4 HOT 1
- Abort, the amd64 build has not succeeded HOT 2
- How to return to HWE? HOT 1
- Freezing while installing updated kernel? HOT 2
- ubuntu-main-line-kernel-sh Abort, the amd64 build has not succeeded HOT 1
- add .gitattributes HOT 1
- line 419: REMOTE_VERSIONS: bad array subscript HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ubuntu-mainline-kernel.sh.