Questions tagged [root-filesystem]

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

Filter by
Sorted by
Tagged with
1 vote
3 answers
52 views

Write image to current root-partition

I'm currently playing with building disk images (based on Debian) for a raspberry-like computer. My current workflow looks like: create disk image (about 16GB uncompressed; or 3GB compressed) power-...
umläute's user avatar
  • 6,342
0 votes
0 answers
43 views

Install grub on ext2

Is it possible to install (and use) grub on the same ext2 partition as the linux root directory? (Should you want to discuss 'why': to try, to understand and master.)
Boole Gates's user avatar
0 votes
0 answers
52 views

How to free memory in root file system

I have a lap top that has had Arch Linux installed for approximately two years. Yesterday, when conducting a daily update via the command sudo pacman -Syu I recieved the warning the volume Filesystem ...
Jon's user avatar
  • 155
0 votes
0 answers
26 views

Unmount root from /boot partition? trying to fstransform /dev/mapper/VolGroup-lv_root

I am trying to transform /dev/mapper/VolGroup-lv_root from xfs to ext4 using fstransform on my CentOS 7 VM. This is needed for a migration from another Centos 7 VM. The issue I am facing is the root ...
Tristan Kosciuch's user avatar
0 votes
1 answer
40 views

Chagnes done to the rootfs do not redirect to the overlay set in fstab

The fstab is a link to the next fstab file: # <file system> <mount pt> <type> <options> <dump> <pass> /dev/root / ext2 ro,noauto 0 1 proc ...
קובי עיני's user avatar
0 votes
1 answer
121 views

How to enable data=journal ext4 fs mode?

Preface (my 1st attempt ended badly): Fstab adding data=journal crashed my Linux' ext4 upon boot, how to fix? I can't find some reliable step-by-step instructions on How to enable data=journal ...
Vlastimil Burián's user avatar
0 votes
1 answer
78 views

what are the potential benefits of using YOCTO for generating custom distro and rootfs over using the ones supplied by vendor [closed]

I read about comparisons between buildroot and YOCTO project (google) regarding building rootfs and wanted to ask a more general question: What are the potential benefits of building my own rootfs ...
hutcruchi's user avatar
  • 189
0 votes
1 answer
258 views

How can I extend the root/filesystem to take unallocated space?

This is what my partitions look like. The first one is the /root partition that I need to extend, second one is the /home partition and the third is the unallocated space that I want to add to the /...
best_of_man's user avatar
7 votes
3 answers
1k views

How to change the casefold ext4 filesystem option of the root partition, if I only have ssh access

I need to enable the case insensitive filesystem feature (casefold) on ext4 of a Debian 11 server with a backported 6.1 linux kernel with the required options compiled in. The server has a swap ...
Daniel's user avatar
  • 790
0 votes
0 answers
48 views

I altered the partition table (resized the root and created a new partition and formatted it) but can't log into my arch system anymore

Yesterday, I had an idea of having two root partitions for my arch system, one which would contain packages and system files and another one to store my personal files (music, videos, etc). With that ...
Asmit Das Choudhury's user avatar
3 votes
1 answer
7k views

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(0,0)

I have created a image file with this commands: dd if=/dev/zero of=linux.img bs=16M count=1024 cfdisk linux.img mkfs.ext4 linux.img and installed a linux system following the instructions from the ...
Kleber Mota's user avatar
1 vote
1 answer
91 views

How do I Undo the mount command on Linux Ubuntu and get my data back?

I ran a mount command that mounted the rootfs into my home directory I've hence lost all my data in the home directory. Is there a way to get the data back?
brian's user avatar
  • 11
1 vote
0 answers
239 views

Linux root directory owned by 911:911

I run a Ubuntu 20.04 home server and, while doing something else entirely, happened to notice that my root "/" directory is apparently owned by the user:group 911:911. Checked passwd and ...
PlunderBunny's user avatar
2 votes
1 answer
41 views

How to set up a bunch of linux servers with shared file system without using job scheduler?

I am managing multiple GPU servers in our lab, which are mainly used for deep learning tasks. We would like these machines to share the same file system, so it is easier to switch between them. ...
x.y.z liu's user avatar
1 vote
2 answers
68 views

Can't start Linux after deleting core dumps

My root partition had no space to the point that couldn't login. So invoked Ctrl+Alt+F2 and ran to free disk space: find / -xdev -name core -ls -o -path "/lib*" -delete Now can't even ...
jck's user avatar
  • 11
0 votes
0 answers
195 views

ERROR: device '' not found. Skipping fsck and else

:: running early hook [udev] Starting systemd-udevd version 253.1-3-arch :: running hook [udev] :: Triggering uevents... ERROR: device '' not found. Skipping fsck. :: mounting '' on real root mount: /...
Sehaxe's user avatar
  • 1
3 votes
2 answers
1k views

Recommended scheme for partitioning root file system into subvolumes following the Filesystem Hierarchy Standard

The Filesystem Hierarchy Standard (FHS) is the formal codification for root file tree on Linux installations, as inherited from earlier iterations of Unix and POSIX, and subsequently adapted. It ...
brainchild's user avatar
1 vote
2 answers
530 views

how to duplicate rootfs to another partition (dd cause problems)

I've been using dd in order to duplicate my rootfs into another partition and boot the system using the new rootfs copy. sudo dd if=/dev/disk/by-partuuid/342853ea-cab9-4a4f-b935-1a704c1cc17f conv=sync,...
hutcruchi's user avatar
  • 189
0 votes
1 answer
76 views

unable to recover lost data after deleting mount points in ubunu

i have mounted two partitions on /media folder: so later, i could access them through GUI as a separated partitions like this by mistake, i have deleted the following mounting points of those ...
karim's user avatar
  • 1
0 votes
1 answer
688 views

Prevent SD card corruption / Create read-only root FS (overlayroot)

I'm looking to prevent sd card corruption on an OrangePI Zero 2 running Debian. I thought the best way is to have a readonly fs, so I tried following the instructions here, but it failed on the ...
nak's user avatar
  • 101
0 votes
1 answer
500 views

When/how does Linux create system users during startup?

I'm trying to bring up a circuit board from NFS mounted root filesystem (Debian 10). When booting it reported error through serial port: [FAILED] Failed to start Create System Users. See 'systemctl ...
fiedel's user avatar
  • 1
1 vote
1 answer
318 views

git show does not understand relative file names

I am using git to version control config files on my system. I have git root at the root of my filesystem /, and I control /etc and /root. When I am in /root and do: git log .zshrc, it shows me commit ...
Martin Vegter's user avatar
0 votes
0 answers
267 views

Getting "erase_size" related error when mounting a jffs2 rootfs into a block device

Trying to mount a jffs2 image into a virtual block device, following this guide The steps are as follows, summarized: sudo mknod /tmp/mtdblock0 b 31 0 sudo modprobe mtdblock sudo modprobe mtdram ...
DummyBeginner's user avatar
0 votes
1 answer
282 views

What things are not saved in a btrfs snapshot?

I'm using BTRFS for my root partition and manage its snapshots with Snapper. I decided to create subvolumes for /var/tmp, /var/cache and /var/log as these are constantly changing its data which is not ...
Megver83's user avatar
  • 301
0 votes
2 answers
412 views

Boot loop device as root file system

I created an ext4-filesystem on a loop device with all necessary files to boot with, e.g.: /bin /boot /dev /lib /mnt /etc ... Now I want to boot from the loop device as an image (let's say ...
User100700's user avatar
2 votes
0 answers
75 views

Should only / be mounted as Read-Only for security in case of power loss, or also /boot

I have an embedded system (specifically, Google Coral with Mendel Linux), which will be running some models. I expect it to get turned off in not a secure way (basically plugging it off) mostly every ...
M.K's user avatar
  • 143
1 vote
0 answers
239 views

Booting arm64 linux from PHRAM device on RAM failed on systemd processing

I'm trying to boot a busybox based ext4 Liunx image built by yocto, from the RAM, using PHRAM device(dev/mtdblock0) as rootfs. The machine is Intel FPGA board(Stratix 10). I have enabled PHRAM in ...
yoyozi's user avatar
  • 11
0 votes
2 answers
96 views

Accidently moved root partition by error

cb@coreboot-bm-4:~$ pwd /home/cb cb@coreboot-bm-4:~$ sudo mv /* ADL-P/ and now I can't do anything when I try something like: cb@coreboot-bm-4:~$ ls -bash: /bin/ls: No such file or directory
Saurabh Mishra's user avatar
0 votes
1 answer
78 views

Increase root disc space and gain access to existing hard drives

I have an issue on my CentOS machine with hard drive space on root. df -h returns Filesystem Size Used Avail Use% Mounted on devtmpfs 126G 0 126G 0% /dev tmpfs ...
Tom Waits's user avatar
  • 161
2 votes
1 answer
669 views

Why use relative symlinks in the root directory?

I have a question about symlinks in (or very close to) the root directory. My kernel version is 5.16.11-arch1-2 at the moment. When I run ls -l / it prints this: lrwxrwxrwx 1 root root 7 Dec 6 ...
maallaard's user avatar
0 votes
0 answers
561 views

root filesystem on usb drive

I am trying to move my linux partition (ext4) to usb drive and boot from this drive and not my hdd. I have slackware64-14.2 with kernel 5.15.25 and usb driver (xhci) built in kernel. I have made the ...
14f6A21's user avatar
  • 11
1 vote
1 answer
4k views

How to fix Debian 11 not booting after kernel upgrade?

My Debian 11 shipped with version 5.10 of the Linux kernel. I wanted a newer one, so I downloaded 5.15 from here, extracted the tar file, copied over the existing configuration, ran make menuconfig, ...
cocomac's user avatar
  • 423
2 votes
1 answer
762 views

How is /tmp linked to /var/tmp

I've already read up on the differences between /tmp and /var/tmp, so note that this is not what this question is about. When I create a file in /tmp, it shows up in /var/tmp; however, neither ...
JayRugMan's user avatar
  • 116
1 vote
1 answer
5k views

Creating a bootable iso image from my current installation

We have an old physical machine with Ubuntu distro 20.04 and that physical machine has a total of 103GB /root partition and 10GB as swap memory. We have currently utilized up to 45GB. We want to ...
BSivakumar's user avatar
0 votes
2 answers
3k views

Installation Destination (Kickstart insufficient)

I am installing RHEL using a KS file. The installation stalls because of the Installation destination not being properly set, the message I'm getting is the following: You have not defined a root ...
Danilo Patrucco's user avatar
0 votes
1 answer
770 views

Is it necessary to separate /home and / to different partitions?

Is it necessary to separate /home and / to different partitions? Here are my guesses of two benefits of separation. Suppose /home is in the partition for /. Is it still possible to reinstall a Linux ...
Ben's user avatar
  • 101
1 vote
0 answers
6k views

mount: /: mount point not mounted or bad option (fresh Gentoo installation)

Just rebooted gentoo install from livecd, and it seems like nothing is writable. On boot I get this error as it tries to remount the root filesystem read/write: mount: /: mount point not mounted or ...
J H's user avatar
  • 21
-1 votes
1 answer
53 views

What's the difference between the pile paths '/' and '//'? [duplicate]

I noticed in Ubuntu that the following commands go to seemingly different locations in the file system, but the locations have the same files: cd / cd // ls-ing from both locations produces the same ...
tuskiomi's user avatar
  • 117
-2 votes
1 answer
2k views

Permissions denied in Kali Linux

I cannot get into /root and even when i use "sudo ls /root" it asks me for the password then nothing happens. Im new to linux and when I was testing out Kali linux i tried using permission ...
mossmich's user avatar
0 votes
0 answers
538 views

Better alternative to alpine rootfs

I am using Alpine linux rootfs for playing with namespaces. But, I am running into a major issue - Bash is no available as part of the minimal root filesystem. "Busybox bash" does not work ...
user1689430's user avatar
0 votes
1 answer
1k views

/root partition is filled up

Recently, my EndeavourOS install has been sending me a notification saying that my root filesystem was filled up, with 0 MiB remaining. What could be done to clean up the root system? Output of sudo ...
Dion's user avatar
  • 113
0 votes
0 answers
297 views

Centos, How to delete files with full root (but not full file system), with out repartitioning

Nvidia has screwed me and kept every single old version of CUDA since cuda 10 including every minor version inside of root totaling up to nearly 30 gigabytes of my 50 gigabyte root partition, and upon ...
Krupip's user avatar
  • 131
0 votes
1 answer
266 views

the whole root file system went read-only

This problem first appeared when I was downloading a huge data archive(about 500GB) but I didn't keep the output and logs at the time. I rebooted the system and it entered emergency mode automatically....
MCUmbrella's user avatar
-6 votes
2 answers
20k views

What does ' sudo rm -rf /* ' do?

I ran this command on Fedora, which I anyway wanted to uninstall, so I decided to check out this command: sudo rm -rf /* just for fun. As soon as I ran this command, the GUI stopped working and ...
Austin Rojers's user avatar
0 votes
0 answers
78 views

How to perform a hot repair of a functioning, but limping rootfs with the switch_root command and a blank partition?

I have an extreme edge case that I may never see again, but I'd like to be prepared. I have an embedded system (u-boot) whose primary disk has 4 partitions. One of the partitions is the rootfs (ext4) ...
Liam Kelly's user avatar
0 votes
1 answer
3k views

Root partition full after 2 hours of usage

I recently received a message indicating space was running low in my root partition, so I decided to increase my partition's size from 9GB to 30GB (just to be sure) I wouldn't have to deal with this ...
Jeremy's user avatar
  • 101
1 vote
0 answers
227 views

squashed then re-squashed give different size?

I extracted a firmware.bin using fmk mod kit and gave me 3 files: header.img , rootfs.img and footer.img now whenever I cat and repack all the files together in firmware2.bin again, it works and it ...
Abrahim Hussein's user avatar
0 votes
1 answer
39 views

Remove or change "Details" in debian

Debian 10, Gnome. VMWare Workstation 16.1.1 In the settings menu. The details you can find for Debian. See screenshot. Is there anyway to change these, remove the option or to remove certain ...
BhooshanAJ's user avatar
0 votes
1 answer
887 views

Change init program location in linux

In the linux kernel I found the following lines in the main.c file: if (!try_to_run_init_process("/sbin/init") || !try_to_run_init_process("/etc/init") || !...
Hunny's user avatar
  • 5
1 vote
1 answer
7k views

Can the root filesystem be unmounted in Linux?

I am not talking about rootfs here. If there is only one process running in Linux and its working directory is /, then can it be unmounted? Will rootfs be what is left over? If it cannot be unmounted, ...
Melab's user avatar
  • 3,828

1
2 3 4 5 6