Skip to content
This repository has been 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

Open
bhoomilei opened this issue Jan 10, 2020 · 0 comments

Comments

@bhoomilei
Copy link

bhoomilei commented Jan 10, 2020

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?

@bhoomilei bhoomilei changed the title mounting using PARTUUID create mounting issue. mounting using PARTUUID create rootfs mount issue on /media/rfs/to moint point Jan 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant