[Bug 390347] [NEW] Kernele update for 9.04 does not find root filesystem on LVM.
ashayh
ashay.humane at gmail.com
Sun Jun 21 20:01:23 UTC 2009
Public bug reported:
lsb-release -rd :
Description: Ubuntu 9.04
Release: 9.04
apt-cache policy linux-image-2.6.28-11-generic :
linux-image-2.6.28-11-generic:
Installed: 2.6.28-11.42
Candidate: 2.6.28-11.42
Version table:
*** 2.6.28-11.42 0
500 http://us.archive.ubuntu.com jaunty/main Packages
100 /var/lib/dpkg/status
apt-cache policy linux-image-2.6.28-13-generic :
linux-image-2.6.28-13-generic:
Installed: 2.6.28-13.44
Candidate: 2.6.28-13.44
Version table:
*** 2.6.28-13.44 0
500 http://us.archive.ubuntu.com jaunty-updates/main Packages
100 /var/lib/dpkg/status
apt-cache policy initramfs-tools :
initramfs-tools:
Installed: 0.92bubuntu29
Candidate: 0.92bubuntu29
Version table:
*** 0.92bubuntu29 0
500 http://us.archive.ubuntu.com jaunty/main Packages
100 /var/lib/dpkg/status
What happened:
I installed 9.04 from Live CD on to LVM, including root on a LVM volume.
Things worked for for a while until some package decided to update the initrd. And the root file system could not be found. I ran various combinations of mkinitramfs and update-initramfs, including modifying the initramfs.conf file.
Nothing worked. (How do I figure out which package modifies the initrd?)
Since I was still using the kernel that comes with the Live CD, I booted
the Live CD, installed lvm2, mounted the logical volumes, chrooted in /
logical volumes, and ran mkinitramfs. That worked. Now I keep copies of
the working 2.6.28-11-generic initrd.
Things worked until I recently upgraded my kernel from 2.6.28-11-generic to 2.6.28-13-generic .
After the reboot, 2.6.28-13-generic cannot mount the root file system on lvm. I just rebooted to the 2.6.28-11 kernel.
I can again boot the Live CD, install 2.6.28-13-generic and etc and
hopefully it will work. But what can I do to make sure a new kernel
install works fine?
The line for root in fstab looks like this:
UUID=2b9364ea-8a05-49d6-a269-e77806d141a4 /
ext4 relatime,errors=remount-ro 0 1
The kernel line for both kernels in grub is like this:
kernel /vmlinuz-2.6.28-11-generic root=/dev/mapper/ubuvg-rootvg
ro single
kernel /vmlinuz-2.6.28-13-generic root=/dev/mapper/ubuvg-rootvg
ro single
I understand that a while ago the dm_ modules were moved inside the kernel and are not separate modules anymore.
When they were separate, it was easy to add modules in /etc/initramfs-tools/modules (just one of the ways to add modules).
What I expect to happen:
A new kernel install or a package that changes the initrd, understand that I have lvm in use.
Why doesn't the new kernel install understand that I have LVM file systems mounted and are in my fstab?
** Affects: initramfs-tools (Ubuntu)
Importance: Undecided
Status: New
** Tags: initramfs kernel lvm lvm2 modules
--
Kernele update for 9.04 does not find root filesystem on LVM.
https://bugs.launchpad.net/bugs/390347
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.
More information about the kernel-bugs
mailing list