{"id":341,"date":"2013-06-11T02:16:08","date_gmt":"2013-06-11T09:16:08","guid":{"rendered":"http:\/\/blog.ls-al.com\/?p=341"},"modified":"2013-06-19T09:30:23","modified_gmt":"2013-06-19T16:30:23","slug":"ubuntu-root-on-zfs-upgrading-kernels","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/ubuntu-root-on-zfs-upgrading-kernels\/","title":{"rendered":"Ubuntu root on ZFS upgrading kernels"},"content":{"rendered":"
Update 1:<\/strong><\/span><\/p>\n On a subsequent kernel upgrade to 3.8.0.25 I realized that the zfs modules are getting compiled just fine when the kernel is upgraded. \u00a0On Ubuntu 13.04 anyhow. \u00a0So all you need to do is fix the grub.cfg file because of the bug mentioned below where \"<\/span>\/ROOT\/ubuntu-1@<\/strong><\/span>\" is inserted twice. \u00a0Quick fix you could use sed but be careful to verify your temporary file before copying in place:<\/span><\/p>\n I left the rest of the initial post below in case I ever need to really boot with a live CD and redo kernel modules from scratch. \u00a0 Or maybe that would also work for upgrading the zfs modules from git I suppose.<\/p>\n\r\n# sed 's\/\\\/ROOT\\\/ubuntu-1\\\/@\/\/g' \/boot\/grub\/grub.cfg > \/tmp\/grub.cfg\r\n# cp \/tmp\/grub.cfg \/boot\/grub\/grub.cfg\r\n<\/pre>\n