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.

101 questions
10
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
  • 3,061
  • 3
  • 25
  • 58
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.
  • 16,386
  • 4
  • 33
  • 51
6
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
  • 15,788
  • 2
  • 42
  • 68
5
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
  • 305
  • 2
  • 15
4
votes
1 answer

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
  • 3,061
  • 3
  • 25
  • 58
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
  • 5,791
  • 18
  • 66
  • 121
3
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
  • 97
  • 1
  • 10
3
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
  • 14,408
  • 13
  • 73
  • 134
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
  • 303
  • 1
  • 3
  • 5
3
votes
2 answers

Some details on ARM Linux boot

I'm trying to understand the details of linux booting on arm architecture. I did lot of search on the internet and understood so far some details although I feel each time I read an article it brings lot of other new terms and this makes things more…
mdaniel
  • 171
  • 10
3
votes
1 answer

error in restoring the openwrt settings

I want to restore the openwrt settings but this error keeps appearing : Could not open mtd device: rootfs I tried firstboot mount_root mtd -r erase rootfs_data eveything fails to access the rootfs file how to restore this file or I have to…
user132631
  • 67
  • 8
2
votes
1 answer

mount rootfs on loopback

I have a rootfs boot image that I want to test by mounting on my local file system. How can I do this ? EDIT: The file was a rootfs.img but it turned out I did not have the correct filesystem support in my custom kernel. pjz's answer works once the…
Naseer
  • 1,705
  • 2
  • 21
  • 22
2
votes
0 answers

Compile Gstreamer/orc 0.4.32 on ubuntu1804 for arm running in rootfs using ninja occur undefined reference exception

I am trying to compile gstreamer/orc on ubuntu_1804 for arm which running on rootfs my android mobile phone, but something wrong like this: I tried some option (-j 1) to make it compile with single thread, but still not working.
2
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…
1
2 3 4 5 6 7