# Regular Meeting (2021.12.22) * ~~User Mount-- The [*guestmount (libguestfs)*](https://en.wikipedia.org/wiki/Libguestfs)~~ * *initrd* vs *initramfs (Linux Kernel officical doc)* ## *guestmount* * ~~*libguestfs* does not require root permissions. (See wiki)~~ * ~~Lots of [dependency](https://archlinux.org/packages/community/x86_64/libguestfs/) (e.g. FUSE, etc.)~~ * ~~High cost of resource: *Virtualization* (recognize as *lightweight Virtualbox/Vmware*)~~ Unfortunatelly, can't start-up. It seems only work with `os-image` ## *initrd* vs *initramfs* [Refer to here](https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841976/Prepare+boot+image) [kernel-doc officical site](https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt) * Device type * initrd : general /dev device -> high cost on OS-Swap between HD and RAM * initramfs : ram device, similar to /run, /sys * How to mount root-dev * initrd: `find -xdev / -exec rm '{}' ';'` * initramfs: `cd /newmount; mount --move . /; chroot .` ###### tags: `Regular Meeting` `DeWei`