Questions tagged [root-filesystem]

The root filesystem (`/`) contains the kernel and utilities needed to boot a system.

49 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
959 views

Can I use a read-write root filesystem disk image as an OverlayFS upperdir?

Is it possible to union-mount an existing disk image containing a root filesystem to the upperdir of an overlayfs mount for read-write access? I'm trying to union-mount some old disk images to a /tmp/...
3
votes
2answers
2k views

Running QEMU with a root file system directory instead of disk image

In order to test the root file system i need to run QEMU with created disk image as root file system, the QEMU accepts -kernel which can be used for specifying kernel directly without deploying it ...
3
votes
3answers
64 views

Where to turn first when out of free space on Cent OS Web Server?

I am a very new Systems Administrator. I have a Windows background and am now a Jr. Systems Admin working with Cent OS 5. Our web server runs Cent OS 5 and uses PHP/MySQL for our web applications. ...
3
votes
0answers
547 views

Changing a root file system from initramfs to JFFS2

I am running Linux on an ARM based development board from flash memory. The rootfs is initramfs. I chose this in the configuration utility under "file system". Then I realized that I need ...
2
votes
0answers
85 views

how is the boot directory of the EFI/ESP partition related to the boot directory of the root partition?

are the files inside these 2 directories mirror images of each other? how are they related? for example the below command that i execute: sudo cp -a initramfs-4.18.16-300.fc29.x86_64.img /boot/EFI/...
2
votes
1answer
290 views

Diskless Ubuntu - manpages fail

I've set up diskless client, but man does not work: man: error while loading shared libraries: libmandb-2.8.3.so: cannot open shared object file: Permission denied Root is mounted like this (mount):...
2
votes
0answers
171 views

Using an initrd/initramfs as the root filesystem

In Android, the initial RAM disk stays mounted throughout the entirety of the time the operating system is running. No switch_root/pivot_root takes place. Is this kind of setup easy to pull off with ...
2
votes
2answers
620 views

Export (via NFS) root (/) FS

I have 3 embedded CPU system running Linux 2.6.37, which are connected via Ethernet. Each CPU has its own NAND flash memory. One of them is "main" CPU number 0, while 2 others are his companions. I ...
2
votes
0answers
2k views

btrfs error unknown - root fs will not mount

I am running Arch Linux on a system with full disk encryption and the storage is a Samsung 950 Pro NVMe drive (512 GB). The computer is a couple months old. No bad behavior until now. (I'm only using ...
2
votes
1answer
416 views

Does Linux still use rootfs?

In the kernel documentation file "ramfs, rootfs, and initramfs" it says Rootfs is a special instance of ramfs (or tmpfs, if that's enabled), which is always present in 2.6 systems. I have not ...
2
votes
1answer
361 views

How do I prevent the kernel from pivoting and overwriting the initial file system?

How do I prevent the kernel from pivoting and overwriting the initial file system? What switches do I pass to the kernel? Do I need to add any code to the initramfs? I cross-compiled busybox and ...
2
votes
1answer
939 views

How can I replace root / filesystem with another filesystem?

When the Linux kernel starts up, it uses initrd as the root / filesystem, then replaces that with a filesystem partition in fstab. Based on a test in an early init script, I want to replace that root ...
2
votes
0answers
750 views

Mounting root filesystem while booting through network

I have two systems, let say one is the server and the other is the client. I want to load kernel image from the server to the client through the network. I used dhcp (isc-dhcp-server) and tftp (...
2
votes
0answers
209 views

What changed between kernels 3.7 and 3.9 that affects LVM/RAID root file systems?

I'm trying to fix a (very messy) system that the user hosed by running a kernel upgrade from 3.7.10 to 3.9.6. the root file system is on an LVM volume on top of a software RAID array. The boot manager ...
2
votes
1answer
406 views

Flashing rootfs on Embedded Linux with Limited RAM

I'm fairly new to the embedded world, so forgive me if this seems obvious. I'm working on a board based off of the AT91SAM9260. I have 256MB of flash and 64MB of RAM. The current setup flashes two ...
1
vote
0answers
36 views

Switch root filesystem after copy

I currently have a script that copy the content of a microSD card to the eMMC of a BeagleBone Black. Once the copy is done, I would like to switch root filesystem for the eMMC and finish installing ...
1
vote
1answer
324 views

Adding ZFS to a Preseeded Debian Installer

I'm looking to create an (internal, for legal reasons) preseeded debian (stretch) installer that will automatically create a root zpool from all available HDs instead of going through (whether ...
1
vote
0answers
122 views

du command shows larger size than nand erase block size in ubifs. How to check the exact size in ubifs?

I use UBIFS for rootfs. I would like to check the size of each direcotries in /. When I checked with du command, it shows larger than mtd size. Would you tell me the way how can I check the correct ...
1
vote
1answer
433 views

Updating root filesystem remotely in-place

Let's say one has only remote access (SSH) to an embedded Linux device and the goal is to upgrade the OS to a new version. The device has only one partition, but there's easily more than 50% unused ...
1
vote
0answers
344 views

Strange inode count with /dev/vzfs

I am using Plesk on an Ubuntu 14.04 server and experiencing some strange problems: I checked mount: /dev/vzfs on / type reiserfs (rw,usrquota,grpquota) Then stat /dev/vzfs: stat: cannot stat ‘/dev/...
1
vote
0answers
68 views

Making root being bind mounted

I have XUbuntu and Arch on a laptop, I'm sharing /boot partition between these distros mounting it on /mnt/boot and bind-mounting /mnt/boot/xubuntu or /mnt/boot/arch onto /boot; it works fine even ...
1
vote
0answers
575 views

ARM system booting from SD card with uboot - how to put everything in one FAT partition?

I am working on an ARM system running linux, which has an eMMC and an SD card slot. I've been booting from the SD card during development, with just the first stage bootloader of uboot in the eMMC and ...
1
vote
1answer
274 views

How to specify an alternative root file system at boot time

I had some problem with the default rootfs and always writing out kernel panic. I want to fixed it in the kernel, so I tried many ways to solve this problem. I had base idea to fix , that is before ...
1
vote
0answers
247 views

/dev/console missing when mounting nfs

I'm trying to boot linux on a remote device. I load a uImage of the kernel via tftp: boot -uboot -tftp TFTP_SERVER:uImage and tell him where to find the root fs: console=ttyS0,9600 ip= {IPs here} ...
1
vote
2answers
979 views

Is the root filesystem unmounted during a Linux shutdown?

If the root filesystem is unmounted, then how can init be accessed to run the last few steps that occur afterwards?
1
vote
0answers
339 views

Different mount output with and without initramfs

I need to create an initramfs to load a driver to access EMMC which contains the root filesystem. In my current kernel build, the EMMC driver is modular (sorry, can't change this). After the kernel ...
1
vote
1answer
598 views

How to encrypt a live root fs remotely and unlock it via ssh

I have a Linux Arch system running on a VPS. The rootfs is installed on a LVM partition. I would like to overlay an encrypted container on this partition, then reinstall the rootfs on it and enable ...
1
vote
0answers
56 views

Why could I need to fsck check the root file system?

This could sound like a rather obvious question, but we all know that soft-checking of any partition is sometimes a need, and we perform it in cases like unstabilities found, lost files or (...
1
vote
0answers
573 views

Grub2 and mounting a rootfs

I am trying to boot a machine using a version of the kernel (linux-2.6.32.68 - unpatched) that I have compiled and mount a small root filesystem. I have created a small ext2 file system using the ...
1
vote
0answers
340 views

Mounting real rootfs after initial booting using initrd

I'm booting kernel with root=/dev/ram0 on a embedded environment. After initial booting, how can I mount real rootfs present at /dev/mtd3 and make it as the only rootfs. I'm using root=/dev/ram0 ...
1
vote
2answers
370 views

Fault-tolerant iSCSI root fs for Linux

I am in the process of moving some Linux servers onto a virtualized environment with their filesystems mounted from LVM volumes, which are in turn hosted on a remote NAS via iSCSI. I am able to start ...
1
vote
0answers
90 views

Standard/Common location for cross compilation toolchain

Does a standard or common location exist for installing cross compilation tools? I can easily pick my own location and it works fine, so I'm just looking to find the most ideal location. Based on ...
1
vote
1answer
874 views

Encrypt root file system and decrypt using U-Boot with key stored in FPGA

We are using Cyclone V, which essentially is a SOC comprised of FPGA + ARM core. Is it possible to encrypt the root file system and decrypt it by using U-Boot with a key which is located in the FPGA?
1
vote
0answers
2k views

Qemu: No file system could mount root (unable to mount roofs)

In Linux, I've created the root file system (rootfs) by following commands: dd if=/dev/zero of=ramdisk.img bs=1M count=4 mkfs.ext2 ramdisk.img sudo mount -o loop ramdisk.img rootfs sudo cp init ...
0
votes
0answers
10 views

backup privileged data on remote servers without root ssh

I'm sufficiently new to Linux that I don't understand how to do what I think I want. If you think you know what I actually want, please tell me. I would like to use Duplicity to backup privileged ...
0
votes
0answers
16 views

Got stuck in Emergency mode with ACPI Error

I am using ubuntu 16.04. I probably have done sth which damaged the system file. After reboot, I am stucked in emergency mode. The error is about ACPI like below. I am not sure what is wrong here. ...
0
votes
1answer
44 views

move system partitions to different physical drive with different filesystem

My RHEL7 system is configured like this: Filesystem Size Used Avail Use% Mounted on /dev/mapper/rhel-root 50G 18G 33G 36% / /dev/mapper/rhel-home 504G 147G 357G 30% /home /...
0
votes
0answers
35 views

How to configure embedded linux kernel so that the file system is visible on the host linux

I am using a powerpc, and after building and flashing the linux kernel on the device I can see the file system. But if I try to create a user or make any changes they get erased and resets to default ...
0
votes
0answers
145 views

Boot on aufs layered root file system

I would like to have a root file system composed of several aufs branches mounted on /. My Linux is a custom one created using buildroot and deployed on a board with a SAMA5D2 processor. The mmc of ...
0
votes
0answers
204 views

[dpkg: error: failed to open package info file /var/lib/dpkg/updates/0049 for reading: Input/output error]

I am trying to install qt4 dev. tools on bananapi. During installation half of the way, I got this error message: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a'to correct the ...
0
votes
1answer
320 views

Read-only filesystem - Considerations and Loss of Functionality

I'm creating an embedded system using Buildroot. Currently, my Buildroot configuration ensures the rootfs is remounted as read/write during startup. However I would like to remove this feature and ...
0
votes
0answers
218 views

setcap settings do not reflect in getcap

root@localhost:~# setcap cap_net_raw+p /bin/ping root@localhost:~# getcap /bin/ping root@localhost:~# ls -l $(which ping) -rwsr-xr-x. 1 root root 34752 Nov 8 2014 /bin/ping root@localhost:~# ping ...
0
votes
1answer
3k views

root file system stays read-only

I am currently trying to start working with an embedded linux device (arm). When I am trying to install packages it fails saying that some /usr/... path points to a read-only filesystem. By looking ...
0
votes
1answer
38 views

Why is /boot empty on nfsboot nfs host, when files exist on booted client?

I am confused to say the least. Where are these files kept? So, isc-dhcp server, providing network boot and tftp server records. A tftp host providing an initrd and vmlinux image over pxelinux.0. An ...
0
votes
0answers
176 views

ACPI Volume Control (not brightness)

For some reason, upon upgrading to Ubuntu 16.04, my volume and brightness media controls are no longer registering as XF86 keys. I created an acpi event and action script for my screen brightness in /...
0
votes
1answer
15 views

nsroot, what directories need to be host-specific?

I'm playing with an nfsroot boot for multiple hosts; Ubuntu has some dated docs that recommend: #/etc/fstab none /tmp tmpfs defaults 0 0 none /var/run ...
0
votes
1answer
956 views

Mount new disk to existing root mountpoint using mhddfs (merging filesystems)

I have a new disk on server (sdb) and I want to mount it to existing root mountpoint (sda1 mounted on /) to merge it. There is an utility called mhddfs which is doing exactly what I want. But the ...
0
votes
0answers
305 views

/proc not mounted as expected inside chroot?

I set chroot for my project folder ~/workspace/apollo.0 to create a security JAIL. After running chroot command, fake root filesystem is created in my project folder to make it as security JAIL. To ...
0
votes
3answers
974 views

how do I copy an .iso file to root in Ubuntu

How can i copy an .iso file to the root directory in Ubuntu? Unetbootin cannot detect my ubuntu.iso unless it will be moved to the root. When I attempt to move it, into the root, the system tells me ...