Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Initramfs bug in mounting rootfs (1 reply)

$
0
0
This is a minor annoyance, but it bugs me nonetheless :) It seems the old rootfs mounting way is broken in the latest kernel.

Previously in 3.18.5, when we use rootfs label in the kernel parameter, the rootfs is mounted with the label. This was initramfs-tools (0.116).
/dev/disk/by-label/rootfs / ext3 rw,noatime,errors=remount-ro,user_xattr,acl,barrier=1,data=ordered 0 0

Now in 4.0.0, the rootfs is mounted as a regular sdx device:
/dev/sda1 / ext3 rw,noatime,errors=remount-ro,user_xattr,acl,barrier=1,data=ordered 0 0

The new initramfs-tools package (0.120) that was upgraded in the new kernel seems to have changed a bit, and it's better in many areas. However, this change in mounting-by-label behavior is undesirable.

Note that the command should be used for checking:
cat /proc/mounts

Anybody seeing this in their plugs?

Viewing all articles
Browse latest Browse all 3247

Trending Articles