Skip to content
This repository was archived by the owner on May 27, 2022. It is now read-only.
This repository was archived by the owner on May 27, 2022. It is now read-only.

mounting using PARTUUID create rootfs mount issue on /media/rfs/to moint point #17

Description

@bhoomilei

Hi,
I am currently working on core-image-minimal to provide support of the read-only file system using squashfs and for make it writable using overlayfs. I come across this yocto layer and integrated the changes with core-image-minimal-initramfs.bbappend file by using below lines


->Remove unwanted scripts from poky
PACKAGE_INSTALL_remove = " ${INITRAMFS_SCRIPTS}"

->Only add rootfs-ovelay mounting initrdscript
PACKAGE_INSTALL_append = " initramfs-readonly-rootfs-overlay"


The image was built successfully and the kernel is also start loading with customize initramfs.
But suddenly when mounting of squashfs rootfs event occurred using PARTUUID it goes failed to mount(as my /proc/cmdline have root=PARTUUID=xxxx).

instead of using PARTUUID if I use /dev/sdX MANUALLY then mount process gone perfectly on /media/rfs/ro dir.

Why PARTUUID is not working over here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions