Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [root-filesystem]

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

0
votes
0answers
32 views

Why is / called root, but there's also a use called root? [duplicate]

So in a unix system, / is root. But the default admin is also root. So why do these two quite different things have the same name.
-1
votes
0answers
15 views

Major root file system crashes after messing with virt-manager/virsh edit

I have had two recent incidents of major root filesystem corruption after modifying or attempting to modify virtual machine domain XML file. In the first case, I don't remember if I actually succeeded ...
2
votes
1answer
38 views

Making space available to my main partition

I have a cloud hosting provider, I pay for 120GB but only get 50GB and I need to make this space available on my main partition (?). My hosting provider has not been very helpful, below is my fdisk -...
2
votes
0answers
27 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/...
1
vote
2answers
48 views

Rootfs versus kernel confusion [closed]

I know that they are two different entities. Rootfs is a file system which describes how to store and access data. The kernel is actual code which executes. However, isn't the kernel code stored ...
1
vote
1answer
110 views

VFS: Cannot open root device mmcblk1p1 or unknown-block(179,33)

I am trying to run Linux on custom board based on Nvidia TK1. When I try to boot the board from SD card, I get following error: VFS: Cannot open root device "mmcblk1p1" or unknown-block(179,33): ...
0
votes
1answer
48 views

Moving / directory in linux

I installed ubuntu with dual boot alongside Windows 8. While partitioning I allocated 9.8 GB to the root directory of linux.Now i am short on space with only 700MB space remaining in this root ...
0
votes
0answers
53 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 ...
1
vote
0answers
25 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
2answers
198 views

How does linux know where the rootfs is?

I'm trying to understand how the linux kernel knows where the desired rootfs is on boot. I read this document: https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt One ...
56
votes
1answer
3k views

Change permisions of a file with my cat's help

root@system:~# less myfile -bash: /bin/less: Input/output error The root filesystem is dead. But my cat is still alive (in my memory): root@system:~# cat > /tmp/somefile C^d root@system:~# He's ...
2
votes
1answer
74 views

How do you completely switch the root files system on Linux?

I am running my rootfs on a flash device (MTD device with UBIFS) - Note: it's a bitbake system so its not full-blown ubuntu or anything. I want to be able to format that device and write a new rootfs ...
2
votes
2answers
58 views

Replace LUKS partition with ext4 partition with same contents

I have a LUKS (Linux Unified Key Setup) partition that contains the rootfs. I wish to replace it with an unencrypted ext4 partition containing the same rootfs. Having searched far and wide I've seen ...
0
votes
0answers
116 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
2answers
73 views

Where should I put my source code? [duplicate]

I am using multiple tools developed by the suckless people which are not configured via a config file but via their source code (in this case C) and then simply installed through make install. So I am ...
1
vote
0answers
124 views

can't build busybox with musl [closed]

I tried a lot of different configurations with musl and busybox but i can't get it to work. Starting out i though that busybox would build /bin /usr /sbin and musl would give me /lib and magically ...
1
vote
1answer
180 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 ...
0
votes
1answer
37 views

Is it possible/practical to use a Linux server to authenticate Windows devices?

I am from a small concern and we are currently looking into getting a server purely for authentication and saving user data's. I do not want to push software to the devices or anything like that. I ...
3
votes
2answers
179 views

Where does kernel define the SD card naming index?

I'm running an embedded board that is booted from an SDCard. The location of the rootfs gets passed to the kernel via kernel parameters: Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 ...
0
votes
1answer
57 views

What makes debian different from other variants given they have same kernel? [closed]

In the recent project we have been asked to create a debain based system for a SOC. Doing some gooogling I did find guides that point to ways to use yocto to create a debian system [1]. But then I ...
1
vote
0answers
81 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
0answers
88 views

Kernel Panic unable to mount rootFS when booting without initrd [closed]

I am trying to boot a linux kernel(version 4.14.13+) without initrd support. I compiled most of the modules required for PCI, filesystem and chipset driver with the kernel. I still get the Kernel ...
2
votes
1answer
214 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):...
0
votes
2answers
110 views

What are limitations chrooted system? [closed]

Chroot allows us to change the root directory, or rather root directory of specific process. Now obviously this does restrict the process to the specified tree (unless it doesn't relinquish the ...
0
votes
1answer
244 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 ...
4
votes
1answer
1k views

When can Linux boot with a Read-Only Root Filesystem

I am working on a embedded Linux with u-boot as bootloader and systemd init system. The tools are limited to standard busybox. While analyzing some problems, I figured out the root filesystem is read ...
0
votes
0answers
147 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
0answers
44 views

How to change to the ROOT use in Cloudera Quickstart VM

I'm trying to copy the SQL Server sqljdbc_6.0.8112.200_enu.tar.gz to the /var/lib/sqoop/ directory and I'm receiving a Permission Denied error. I am using the Cloudera user. Thanks in advance for your ...
1
vote
2answers
69 views

Using a different directory than /usr as standard

Is there any possibility to use a different directory than /usr as the standard directory to install things? I am asking, since I got an Endless OS system where /usr is read-only, thus not being able ...
0
votes
1answer
160 views

I can't boot after add more space to /root ,

I think I do something wrong and made filesystem mess , please look that pic , I can't boot , it said emergency mode, please exit to the shell And after I check the logs It said my default.target ...
0
votes
1answer
2k 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
54 views

Copy a file via drag and drop to `/usr/local` [closed]

I have a file mathpass (without a file ending .*) in /home/patrick/Documents and want to copy it via drag and drop to /usr/local. If I do so, a message Access denied. Could not write to. appears. ...
0
votes
1answer
25 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 ...
1
vote
1answer
272 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 ...
0
votes
1answer
46 views

How are Configuration Parameters 'written' on “Read Only” bootable Linux CD/USB, when plugged into any system?

I am trying to understand about the file system of bootable system on CD. For CDs which can only be written once, how exactly does system boot? Aren't there any configuration parameters which need to ...
0
votes
1answer
95 views

Permission automatically resets to root after using chown

I've got a samba shared directory which previously was setup normally but I noticed not being able to connect to it anymore. Turns out that permissions were reset to root and whenever I try to change ...
0
votes
0answers
945 views

rootfs partition in qemu and kernel command line argument

I have a yocto build for core-image-minimal where kernel image (Image) and rootfs (tar.gz) are separate file. On running qemu-system-aarch64, I just want to give 2 different partition where kernel ...
0
votes
0answers
160 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 /...
2
votes
2answers
1k views

Which filesystem should I use in an SD card on a NAS?

My NAS can hold several 3.5" hard drives and an SD card. I'm planning to boot and run a custom Linux system (based on Debian, built by me) from an SD card, and the 3.5" hard drives will be used for ...
1
vote
0answers
312 views

root partition on AIX is full i.e 100%usage [closed]

I have an AIX server and its root partition says 100% space used. There was only 2 GB initially allocated. I want to increase its size using chfs. I want to know is this is safe to increase the size ...
2
votes
1answer
659 views

Pass root file system by label to linux kernel

How can I boot the linux rootfs from u-boot passing rootfs partition by label ? I'm using u-boot as bootloader and the card is a RedPitaya. The linux is a customized Linux based on the stable ubuntu ...
2
votes
2answers
1k 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 ...
1
vote
1answer
1k views

Move mount or increase space in /var/log

I am using CloudLab to create an openstack setup, and the filesystem structure on the controller node looks like this: root@ctl:/users/Jasim9# df -h Filesystem ...
0
votes
1answer
14 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
74 views

Why should the rootfs have root ownership

The question maybe odd but i didn´t find any explanation to it, so: Sevreral tools for generating rootfs use fakeroot in order to fake the permissions, create the rootfs and then archive it. After ...
1
vote
1answer
513 views

Buildroot generate rootfs with gcc

I wanted to build rootfs using buildroot with preinstalled gcc, but I can't find which config is responsible for building gcc package. What I want is just a rootfs for qemu x86_64. Is there a way in ...
0
votes
1answer
696 views

lvextend and resize2fs in root filesystem

My root filesystem is out of space; I checked with vgdisplay and I found there are 24.81GB free PEs in the root volumegroup: Free PE / Size 6351 / 24.81 GiB I have added extra space to other ...
1
vote
1answer
662 views

Kernel Boot over NFS

I'm trying to boot the 4.13.0-rc2 mainline kernel on the Beaglebone Black (rev C) with omap2plus_defconfig over NFS. I've enabled CONFIG_NFS_ROOT along with the following options: CONFIG_NFS_FS=y ...
1
vote
1answer
1k views

lsblk doesn't show anything about root file system

On openSUSE Leap 42.3, lsblk output is like below which doesn't show anything about / i.e. root. Now my question is what about root file system? > lsblk NAME MAJ:MIN RM SIZE RO TYPE ...
0
votes
1answer
76 views

Personal `usr` directory

I recently started to put all my dotfiles in a VCS, and just for complete organization, I thought of creating a personal "usr" folder, as in a folder within the home folder that gets "merged" with the ...