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
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
  • 191
  • 1
  • 12
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
  • 65
  • 1
  • 8
3
votes
1 answer

How Do I run ulimit -c unlimited automatically

I am trying to provide support for coredump file generation from my rootfs ,I have modified /etc/limits file with "ulimit -c unlimited" command and "* hard core -1" ,Now when I give kill -6 $$ ,expecting core file generation but to get this core…
Amit Singh Tomar
  • 8,380
  • 27
  • 120
  • 199
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,735
  • 2
  • 21
  • 22
2
votes
1 answer

Load root filesystem from USB device

I'm trying to make a fast reboot to the other Linux system. First step is kernel loading, I make it with sudo kexec --append='$(cat /proc/cmdline)' -l new_kernel.img --reuse-cmdline sudo kexec -e It works fine, but loads only kernel, not entire…
iOS
  • 61
  • 1
  • 4
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

yocto project - missing dependencies in recipe-sysroot

As probably all yocto people know the sysrootfs policy changed in yocto rocko 2.4+. So I have the following issue: I try to make a recipe for a shared library with makefile. The recipe is below (I don't claim it is complete. I simply cannot pass…
Georgi
  • 53
  • 2
  • 7
2
votes
2 answers

Yocto: create a symlink in an image recipe

I have a custom Yocto 'image' recipe, that uses IMAGE_INSTALL += "... " to construct the image, which also contains Python 3.5. Unfortunately, the often-used /usr/bin/pdb symlink is not created, and my users expect to be able to run pdb from the…
davidA
  • 12,528
  • 9
  • 64
  • 96
2
votes
0 answers

fakeroot/proot hangs during rootfs generation

I am trying to build a Debian Stretch-based armhf filesystem using multistrap, fakeroot and proot. I can create the rootfs using multistrap: fakeroot /usr/sbin/multistrap -f multistrap.conf Then I copy the fakeroot libraries into the rootfs…
Borkhuis
  • 141
  • 3
  • 11
2
votes
1 answer

Read only Initramfs Linux system

I have an embedded board which I am running Linux on it. Linux is booted via uboot. The full Linux image is build as Initramfs. When the system is booted I find that the root FS is read write. My understanding is that the Initramfs should be by…
silentnights
  • 813
  • 3
  • 11
  • 21
2
votes
1 answer

How to make correct bootargs for rootfs when device mapping changes

I use the imx.6 sabresd board which can boot using sd-card or emmc. I can boot linux correctly with both of them using u-boot and give the appropriate bootargs with the correct location for the rootfs. But when booting Linux using the eMMC the…
rpot
  • 21
  • 3
2
votes
1 answer

switch_root busybox init problems?

I'm in an embedded linux environment with busybox. I've read through several posts trying to learn how to use switch_root. I tried this: exec switch_root -c /dev/console /mnt/newroot /bin/busybox init The switch_root help prints and I am presented…
dtmland
  • 2,136
  • 4
  • 22
  • 45
2
votes
1 answer

Using a statically compiled C file as rootfs

I want to boot my imx53-qsb board using not a normal rootfs but a statically compiled hello_world.c file in other words a hello_world_static.out. To achieve that, I wrote a hello_world.c file cross compiled it statically and I put it in my mmcblk0p1…
EngineerN
  • 133
  • 2
  • 11
2
votes
1 answer

Embedded Linux Newbie Questions

So I am on the quest of learning embedded Linux and have a few questions that I cannot seem to find an answer for. 1) Does the kernel depend on the dtb/dts files when compiling? I thought that the kernel only needs to know the chip architecture…
user2205930
  • 1,046
  • 12
  • 26
2
votes
1 answer

How to prepare new SD card for iMX6 sabre lite board for running linux

I recently bought i.MX6 Sabrelite board and I'm learning kernel cross compilation and board bring-up. The u-boot is already there in flash and it is configured to load the kernel from SD card. I tried some prebuilt images and the board boots…
androidFan
  • 611
  • 2
  • 19
  • 31