[Bug 187282] Re: update-initramfs -u fails with "WARNING: /boot is ro mounted." even if /boot is rw
Agostino Russo
agostino.russo at gmail.com
Wed Jan 30 11:01:03 UTC 2008
** Also affects: initramfs-tools (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
That is due to the check for /boot ro status, since they look for the
substring "ro" within /proc/mounts options column, which is also
- triggered by "group_id".
+ triggered by "group_id" (among others).
ro_boot_check()
{
[ -r /proc/mounts ] || return 0
boot_opts=$(awk '/boot/{if (match($4, /ro/) && $2 == "/boot")
print "ro"}' /proc/mounts)
....
workaround:
update-initramfs -c -k $(uname -r)
--
update-initramfs -u fails with "WARNING: /boot is ro mounted." even if /boot is rw
https://bugs.launchpad.net/bugs/187282
You received this bug notification because you are a member of Kernel
Bugs, which is a bug contact for initramfs-tools in ubuntu.
More information about the kernel-bugs
mailing list