Questions tagged [root-filesystem]
The root filesystem (`/`) contains the kernel and utilities needed to boot a system.
282
questions
2
votes
1
answer
77
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 ...
1
vote
1
answer
64
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
49
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
143
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 ...
0
votes
0
answers
39
views
Linux Kernel cannot find USB Stick to use as root FS
I have a USB stick with a Basic Linux/Busybox distro from scratch.
I use extlinux as my bootloader.
In Qemu everything works fine and I can boot without problems by typing in the following command ...
1
vote
1
answer
49
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....
0
votes
0
answers
56
views
Unable to find which files are consuming disk space in root partition
When I try to display file usage on the root partition using an application like FileLight, it gives me this output:
However, I see different total usage in the Dolphin File Manager.
I got to see ...
8
votes
5
answers
1k
views
How to programattically determine the device name/basename of the root partition?
Ref: The following question
Drive name? What is the correct term for the "sda" part of "/dev/sda"?
Given:
I have a system, (in this case a Raspberry Pi, but this could be relevant ...
0
votes
1
answer
105
views
How to switch to boot device's root file system from initramfs
I've been working on an operating system using the Linux kernel. I've successfully compiled the kernel and can boot into my initramfs through it.
The issue arises when I try to switch from initramfs ...
0
votes
0
answers
103
views
Linux rootfs on iSCSI: Cannot remount read-write
I have a Linux server with an ext4 rootfs on iSCSI.
The iSCSI server rebooted and this interrupted the communication, which is usually not a big deal because the server is quick to restart.
However, ...
0
votes
0
answers
98
views
/var/run persistence in Docker
I have just been bitten by a PID file problem in a (Debian) Docker container that is configured as --restart always
Trying to summarize the problem:
I start the apache2 service in my container. The ...
0
votes
1
answer
84
views
Ubuntu file system read-only after Windows system restore at previous point
I am running Ubuntu 18-04 via WSL on a Windows Virtual Machine in Azure.
I needed to restore the machine to a previous point,
and what happened was that the Ubuntu file system is now read-only.
When ...
0
votes
3
answers
454
views
When installing linux, why do we need to mount our "root partition" to "/", and what does it do?
I'm installing arch linux, and I've got my root partition in /dev/sda2. As I understand, this partition will now be my root, containing all the subdirectories /home, /usr, etc.
What's confusing to me ...
0
votes
0
answers
129
views
rootfs building using buildroot is failing
I want to boot beaglebone black board with kernel 6.5.4 image.
So I took a SDCard(8GB), formatted and make it 2 paritions using gparted application in ubuntu.
I have copied below boot files into BOOT ...
0
votes
1
answer
84
views
Yocto - rootfs size is smaller on target than in workdir
I use Yocto to build an image for my development board and I noticed that the same command du -sh showed smaller value when I checked it on the running system than in the yocto work directory. The ...