[Bug 1034734] Re: flash-kernel shouldn't prompt the user when updating initramfs in case there's no valid /etc/fstab

Riku Voipio riku.voipio at linaro.org
Fri Nov 30 13:28:29 UTC 2012


I'm now getting this with l-m-c and quantal. flash-kernel si version:
3.0~rc.4ubuntu27

Setting up linux-image-3.7-0-linaro-lt-vexpressdt-rtsm (3.7-0.0~RC6linaro1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.7-0-linaro-lt-vexpressdt-rtsm /boot/vmlinuz-3.7-0-linaro-lt-vexpressdt-rtsm
update-initramfs: Generating /boot/initrd.img-3.7-0-linaro-lt-vexpressdt-rtsm
/bin/df: Warning: cannot read table of mounted file systems: No such file or directory
Warning: root device  does not exist

Press Ctrl-C to abort build, or Enter to continue

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/1034734

Title:
  flash-kernel shouldn't prompt the user when updating initramfs in case
  there's no valid /etc/fstab

Status in “flash-kernel” package in Ubuntu:
  Fix Released

Bug description:
  Flash-kernel initramfs-tools hook, initramfs-
  tools/hooks/flash_kernel_set_root, doesn't know how to handle the use
  case where there's no valid rootfs device at /etc/fstab.

  This was noticed when using linaro-media-create, as the fstab is only
  available at the last step of the rootfs setup, prompting the message
  to the user and blocking until control+d or enter is entered by the
  user.

  This can also happen in case the user installs a valid kernel package
  + flash-kernel in a chroot.

  Flash-kernel should just warn the user and move on, and just block in
  case there's a valid rootfs at /etc/fstab and the device can't be
  found.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1034734/+subscriptions




More information about the foundations-bugs mailing list