Questions tagged [rootfs]

A Rootfs is a directory structure suitable as an initial mount point for *nix systems. It always includes the binary and support files to run the init (or first) process.

A Rootfs is a directory structure suitable as an initial mount point for *nix systems. It always includes the binary and support files to run the init (or first) process.

It has a specific meaning for the Linux kernel, where a ramfs/tmpfs is populated with a compressed image and it is freed after the target/final file system is mounted. People using other OSes (and even Linux) may have alternate meanings.

111 questions
15
votes
1 answer

Difference between wic and hddimg format in yocto

I have generated a core-image-minimal image for my Intel board in Yocto. Looking into tmp/deploy/images folder they are many images. I flashed *.wic image using dd command on USB and it created two partitions ( Boot and Platform ) and allowed only…
md.jamal
  • 4,067
  • 8
  • 45
  • 108
8
votes
1 answer

Confused about install -m and install -d using Yocto

I have taken over a Yocto project, and inside a .bb recipe file, I see the following lines to install new directories in the image: do_install() { install -m 0755 -d ${DEPLOY_DIR_IMAGE}/app install -m 0755 -d…
Engineer999
  • 3,683
  • 6
  • 33
  • 71
8
votes
2 answers

rootfs folder in yocto

I have been using buildroot till now and recently switched to Yocto. In buildroot, the root file system is present in the "target" folder. What is the location of the root file system in Yocto. I know it will be in "build/tmp" folder and it is not…
md.jamal
  • 4,067
  • 8
  • 45
  • 108
7
votes
1 answer

Busybox SUID on NFS rootfs

I am building a Linux system from the bottom for a Beagle Bone board. I have compiled the vanilla kernel and built a basic root file system with busybox. The system is booted with U-boot, while the rootfs is located on a Linux PC and exported…
Eugene Sh.
  • 17,802
  • 8
  • 40
  • 61
7
votes
1 answer

How to make a tar backup of a root filesystem?

I have linux installed on SD card, I used this command to install the rootfs tar xpjf rootfs.tar.bz -C /mnt/rootfs/ Now, I made some changes to the rootfs and I would like to create a backup that I can use with the same command above, I tried…
iabdalkader
  • 17,009
  • 4
  • 47
  • 74
6
votes
1 answer

Where is the rootfs of container in host machine after docker 1.6.0

In Docker v1.4.1, we can find the rootfs of a container on the host machine. For example: cd /var/lib/docker/devicemapper/mnt/ab83a2638bb23f24d8811fa9b4ca458efca9269696ff3112cc670be2833f3f92/rootfs/ .autofsck .dockerenv lost+found/ proc/ …
che yang
  • 395
  • 3
  • 18
5
votes
0 answers

Yocto do_rootfs: Postinstall scriptlets of ['busybox'] have failed

I'm building a Yocto (thud) image but I had an error during do_rootfs: update-alternatives: Error: not linking xxx/tmp/work/cc-dey-linux/dey-image/1.0-r0/rootfs/usr/sbin/rtcwake to /bin/busybox.nosuid since…
user10838321
4
votes
3 answers

How to export a docker image to a rootfs without starting a container?

I wanna save a docker image to a rootfs format(like a dir consisting of /etc /var ...), which is just like what docker export does. Also docker save cannot meet my need too because it saves layers of the image other than the dir they mount together.…
flyingrose
  • 107
  • 2
  • 11
4
votes
1 answer

Keeping rootfs with Inheriting rm_work in yocto

To save disk space, I have added INHERIT += "rm_work" I don't want it to delete root file system folder, so I added the following line in local.conf. RM_WORK_EXCLUDE += "rootfs" I ran the following command to get the location of root file…
md.jamal
  • 4,067
  • 8
  • 45
  • 108
4
votes
2 answers

OS Updating in Yocto

We are considering to use Yocto Build system for creating our own distro for our new project. We have one query: How does OS Update works in Yocto Build System. Suppose if I want to upgrade the following: Bootloader ( u-boot ) Kernel Image (…
md.jamal
  • 4,067
  • 8
  • 45
  • 108
4
votes
1 answer

How to run ksize.py tool of Yocto when build a core-image-minimal image?

I want to further reduce the kernel and rootfs of the core-image-minimal build to adapt to our minimal application. The core-image-minimal build does not create a build directory and vmlinux so I cannot use ksize.py to examine it. Is there any…
4
votes
2 answers

Why is the root filesystem is loaded into a ramdisk?

I am studying the boot process in Linux. I came across this sentence "RAM is several orders of magnitude faster than a floppy disk, so system operation is fast from a ramdisk" The kernel will anyway load the root filesystem in RAM for executing it.…
nitin_cherian
  • 6,405
  • 21
  • 76
  • 127
4
votes
2 answers

How is the rootfs size of a docker container decided?

On one system, the disk size of the Docker container is like this: root@b65c6518f583:/# df -h Filesystem Size Used Avail Use% Mounted…
Nan Xiao
  • 16,671
  • 18
  • 103
  • 164
3
votes
1 answer

How to login: "After following the steps in firecracker custom rootfs using alpine"

I have followed the below steps for creating a custom rootfs image for booting with firecracker:- https://github.com/firecracker-microvm/firecracker/blob/master/docs/rootfs-and-kernel-setup.md Once the VM is up, it asks for the login username and…
3
votes
1 answer

Instaling cross-compiled debian packages to fake "footfs" with dpkg

The setup I have is like this: I have two sets of libraries that are compiled for amd64 (pc) and armelx (ARM). They are both used to cross-compile some software on a build machine. The first ones (amd64) can be updated without hassle by updating the…
daljaz
  • 323
  • 1
  • 3
  • 6
1
2 3 4 5 6 7 8