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
0
votes
1 answer

Error while building rootfs for Linux kernel

I am trying to build my root file system by referring to http://emreboy.wordpress.com/2012/12/20/building-a-root-file-system-using-busybox/comment-page-1/ The change I did was (arm-linux-gnueabi- in place of arm-linux-) $ make ARCH=arm…
codey modey
  • 963
  • 2
  • 8
  • 21
0
votes
1 answer

RootFS types, creation and booting

If you are developing anything on embedded Linux you need a Rootfs to boot Linux. Rootfs has always been a issue for me. I need some help. My target system is ARM, U-Boot Linux simple. a) I have seen a rootfs.tar.gz file which is copied from SD…
user435739
0
votes
1 answer

when pivot_root, what happened to /bin /sbin /etc /proc /sysfs .... ?

Saying this is how the world looks like before pivot_root, / /bin /sbin /etc /lib /proc /sysfs ..... When I call "pivot_root /newroot /newroot/oldroot", what happened to all these folders above? We get a nude "/" and whole old world resides in…
kumo
  • 217
  • 1
  • 10
0
votes
1 answer

Mount RootFS error: VFS: Cannot open root device "mtdblock4" or unknown-block(0,0)

My MTD partition is: Creating 5 MTD partitions on "Physically mapped flash": 0x00000000-0x00040000 : "UBoot" 0x00040000-0x00060000 : "BDINFO" 0x00060000-0x00100000 : "JFFS2" 0x00100000-0x00380000 : "Kernel" 0x00380000-0x00800000 : "Rootfs" Kernel…
dragonfly
  • 413
  • 2
  • 5
  • 13
0
votes
1 answer

Why changes to /etc/limits doesn't work

I am trying to provide support for core dump on my ARM based target ,I have read about both /etc/limits and /etc/security/limits.conf ,My target file system doesn't have the later one on to it ,So I have made below changes to /etc/limits root…
Amit Singh Tomar
  • 7,814
  • 24
  • 103
  • 182
0
votes
1 answer

Copy a shell script to android out folder and execute it during boot

I have a shell script which I need to copy to anywhere in out folder during Android build process so that it appears somewhere in Android RootFS. Now, once it is copied after Android build process and becomes part of Android RootFS, I want to…
Rookie
  • 698
  • 3
  • 10
  • 28
-1
votes
0 answers

What code governs the behavior of Linux with rootfs?

rootfs, which is only used when an initramfs is used, is treated in special ways by Linux: It cannot be unmounted. It cannot be moved. It cannot be bind mounted. On certain versions of Linux, it will not be visible in /proc/$PID/mounts or…
Melab
  • 2,016
  • 5
  • 23
  • 40
-1
votes
0 answers

is it possible to ssh to an image in yocto build, like we runqemu from the yocto build

I am building a linux kernel with some features into my image. Now to write /deploy the linux-kernel modules into the rootfs in the image ie opkg install into the rootfs I need to ssh to the image and there change selinux settings. After which I…
sraddhaj
  • 539
  • 1
  • 7
  • 17
-1
votes
0 answers

cramfs: unsupported filesystem features

I have created an emmc.img in Buildroot 2020.11 and flashed an emmc modul with that image. The emmc.img file has two partitions with cramfs filesystem.(but i only have to load one) I tried to load the cramfs partition from the emmc into the RAM with…
-1
votes
1 answer

why connman ipv4 settings are having dhcp by default

I am using yocto rocko for my board I was setting static ip using rc.local at startup .But after some time ip gets changed. So i found that following file is culprit /var/lib/connman/ethernet_*_cable/settings In the file below line is causing…
Sam A
  • 59
  • 1
  • 7
-1
votes
1 answer

debootstrap fails with "Failed to retrieve InRelease"

I have a Intel 64-bit machine running Linux mint 18.1 . On this machine, when I run the following command sudo debootstrap --arch ia64 wheezy rootfs http://ftp.us.debian.org/debian with the following errors : W: cannot check release signature;…
Insane Coder
  • 6,859
  • 11
  • 62
  • 140
1 2 3 4 5 6
7