Questions tagged [root-filesystem]

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

Filter by
Sorted by
Tagged with
16
votes
4answers
11k views

What are the minimum root filesystem applications that are required to fully boot linux?

It's a question about user space applications, but hear me out! Three "applications", so to speak, are required to boot a functional distribution of Linux: Bootloader - For embedded typically that's ...
3
votes
1answer
1k views

Why is there no rootfs file system present on my system?

The linux kernel documentation claims: Rootfs is a special instance of ramfs (or tmpfs, if that's enabled), which is always present in 2.6 systems. You can't unmount rootfs … On all linux ...
21
votes
2answers
9k views

How is /etc/fstab accessed before root is mounted?

I was making some changes to /etc/fstab, when this chicken and egg question occurred to me - if /etc/fstab contains the instructions for mounting the file systems, including the root partition, then ...
9
votes
3answers
12k views

Any reason for encrypted /?

I am a big fan of linux and like trying out new distros now and then. I usually have my home folders and roots in a lvm atop an encrypted partition, but this tends to become cumbersome with every ...
15
votes
2answers
8k views

Is using a read only root file system a good idea for embedded setup?

I have been tasked with running Linux as an operating system on an embedded device. The target has an x86 processor and has 8 GB CompactFlash device for storage. I have managed to use buildroot to ...
3
votes
2answers
3k views

The different uses of folders in the / (root) directory

There are a lot of folders in the / directory what do they all do? I know a few like /dev has links to devices in the system but what about /lost+found or /proc I just am curious.
10
votes
3answers
4k views

Can virtfs/9p be used as root file system?

Is it possible to use a folder shared from the host to the guest via virtfs/9p as the root file system inside the guest? Loosely related to my previous question: Can virtfs/9p be used to share the ...
7
votes
3answers
5k views

Unable to find root device ''

ERROR: device '' not found. Skipping fsck. ERROR: Unable to find root device ''. You are being dropped to recovery shell I've been trying to install Arch Linux for some time, and keep running into ...
5
votes
3answers
2k views

Ensure that loopback root and host are unmounted on shutdown

I'm trying to setup a Linux system that runs from an LVM-formatted image file. After some tinkering with the initramfs and boot options I managed to make it up and running by mounting the host file ...
4
votes
2answers
9k views

How to reduce LVM for root partition?

I am trying to reduce the space dedicated to root LVM since I don't really need it and I am having a few doubts. Below is the output for lvdisplay: # lvdisplay --- Logical volume --- LV Path ...
10
votes
3answers
10k views

Why on some Linux systems, does the root filesystem appear as /dev/root instead of /dev/<real device node>in mtab?

I've seen on various Linux systems where instead of the real device node (for example: /dev/sda1), the root device appears as /dev/root, or instead of the real filesystem, mtab says it is a filesystem ...
6
votes
1answer
727 views

How to Run Tunefs on Root Filesystem in FreeBSD?

I want to enable ACLs for a FreeBSD 11 system. According to the FreeBSD Handbook this can be done in two ways: By using a mount option -- mount -o acls By modifying a superblock -- tunefs -a enable ...
2
votes
2answers
5k views

sudo rm -rf --no-preserve-root / vs sudo rm -rf /*

As everyone knows, these are two deadly unix commands that both tell a machine to commit suicide. But what is the difference between the two? The first one deletes the root directory, while the second ...
9
votes
2answers
8k views

Deleted /tmp accidently

Accidently, I ran sudo rm -r /tmp, is that a problem ? I recreated it using sudo mkdir /tmp, does that fix the problem ? After I recreated the directory, In the places section in the sidebar in ...
6
votes
1answer
420 views

Can I install GNU/Linux on a FAT drive?

Out of curiosity, is this possible nowadays? I remember some old Slackware versions did support FAT root partition but I am not sure if this is possible with modern kernels and if there are any ...
5
votes
1answer
8k views

Built the kernel with NFS support but not getting /dev/nfs

I'm trying to build kernel 3.13.9, fetched using apt-get source, and built in a clean debootstrap chroot (both host and chroot being installations of Ubuntu Trusty). My goal is to boot a diskless ...
2
votes
1answer
427 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
3k views

How can I resize my encrypted root and home partitions, to give root more space?

I need to enlarge my / (root) partition, I have a lot of space on my /home partition so how can I do this? The drive is encrypted with LUKS. My system is Fedora 20. I have another thread here which ...
2
votes
1answer
971 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
7k views

NFS root filesystem doesn't mount at boot

This is an embedded device with a custom kernel (see below for relevant config). It's an x86-32 machine booting like this: coreboot->uboot->linux. I can mount the NFS share in linux if I use on-...
1
vote
1answer
352 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
2answers
1k 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
1answer
278 views

Google Chrome - no space on rootfs partition

I've managed to install google-chrome on Debian Wheezy. My rootfs is only 320MB because I didn't predict that some day I would install Google Chrome, which has more than 100MB and installs in /opt (...