Questions tagged [root-filesystem]
The root filesystem (`/`) contains the kernel and utilities needed to boot a system.
290 questions
6
votes
1
answer
307
views
How to create partitions on a volume with the root filesystem mounted on the enitre disk
I have a server with the root filesystem / mounted on /dev/sda, i.e., the entire disk, which has no partitions. This situation makes me uncomfortable, and I would like to partition the disk and put ...
3
votes
2
answers
460
views
How can I use lsblk to display all devices except my root/main "sda" device where my root filesystem is "/"?
I use LUKS (so my system is encrypted) and LVM.
I don’t want sda displayed because that’s where my root filesystem lives, and it’s my root device. The solution should also work for systems without ...
0
votes
0
answers
102
views
How can I set chown and chmod permanently, also for new files?
I installed texlive as usual in /usr/local/texlive/2025. When installing I typed umask 0027 prior to each command (./configure, make...), hoping that the resulting files would have root as owner and ...
0
votes
1
answer
94
views
Failed to umount oldroot after `pivot_root` and `chroot` in Linux
I am working on an embedded Linux system (kernel-5.10.24), and busybox as init. I created 2 rootfs partitions in system, I want to use pivot_root and chroot to change rootfs between them.
When the ...
-1
votes
1
answer
418
views
What is /mnt used for, and how does it differ from /media? [duplicate]
Linux newbie here.
Was reading about the Linux filesystem and came across the directories /mnt and /media. AFAIK, they're both used for mounting, and I heard /media was the "new" one and it ...
0
votes
0
answers
85
views
Safe to delete snapshot parent?
Can I safely delete the /root snapshot and replace it with its child? Or does the parent snapshot need to be kept around?
Default structure from Fedora, emphasis mine:
$ sudo btrfs subvolume list /
ID ...
0
votes
0
answers
41
views
I have only one user is my linux pc. I deleted myself from sudo user. How to add myself back? [duplicate]
I entered command "sudo deluser myusername sudo", just out of curiosity. I was the only root user and this deleted myself from root user.
Now I can't add back myself because I deleted my ...
0
votes
1
answer
1k
views
What is the recommended partition size for a /root partition? [personal machine] [closed]
What is the generalized recommended size for a /root partition on a personal machine? I am trying to decide how much I should put into /root and how much into the /home partition for a Debian-based OS....
2
votes
1
answer
69
views
Simulate loss of root filesystem
At $WORK there's been an increase in the failures of VMs on our provider (AWS) recently. It has been suggested that using a more reliable root filesystem might help here.
I first tested this locally - ...
1
vote
1
answer
796
views
A process called "Opera" (the browser is not installed) constantly uses 100% of my CPU. Does anyone know what this is?
I have a server box I use to host various web applications and game servers for friends. I recently connected to it to check how it was running, and discovered a program "Opera" trying to ...
3
votes
1
answer
537
views
LUKS - How can / be encrypted but /boot and /boot/efi are not?
This is more of a educational and curiosity question, rather than tying to fix a problem. I have an Ubuntu system using LUKS. lsblk shows this:
Noteably, / is encrypted but /boot and /boot/efi are ...
2
votes
1
answer
476
views
How to overlay root (/) of a running server with my set of directories?
I would appreciate if you could help me with the following problem.
I am developing a set of utilities with different configurations and thus I need to debug them. My own notebook serves as a base for ...
0
votes
2
answers
169
views
Persistent naming of root device when booting FreeBSD
Because devices can be plugged and unplugged frequently, referring to the block device that FreeBSD should use as the root device could easily become unreliable. Is there a way to specify the root ...
0
votes
0
answers
717
views
How do I fix a corrupted file system?
My NAS went offline today. I could not even boot up. I have extracted the OS drive (Debian Bookworm) and plugged it into my laptop via an adapter. I failed mounting it, with the error:
unknown ...
1
vote
1
answer
127
views
What could be the source of drastically different disk usage reports between df, lsblk and baobab?
Disk Usage Analyzer (baobab) reports a size of 29.3 GB for the root partition, out of which 2.5 GB are available:
However, when selecting that device for
closer inspection, I am presented with only 7....