[Bug 183807] Re: update-initramfs, wubi: bad check for read-only /boot partition

Igor Kolker igor_kolker at yahoo.com
Thu Feb 28 14:06:58 UTC 2008


running 8.04 server and was getting same thing with

UUID=f13f0150-047b-40bc-abb9-64e8d43a5e09 /boot           ext2
suid,errors=remount-ro,dev,exec  0  2

the string in /usr/sbin/update-initramfs was


boot_opts=$(awk '/boot/{if (match($4, /([^a-zA-Z0-9]|^)ro([^a-zA-Z0-9]|$)/) && $2 == "/boot") print "ro"}' /proc/mounts)

I added "\-"

boot_opts=$(awk '/boot/{if (match($4,
/([^a-zA-Z0-9\-]|^)ro([^a-zA-Z0-9]|$)/) && $2 == "/boot") print "ro"}'
/proc/mounts)

its it no longer picks up the "remount-ro"

-- 
update-initramfs, wubi: bad check for read-only /boot partition
https://bugs.launchpad.net/bugs/183807
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