Questions tagged [root-filesystem]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
302 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
121 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 ...
0
votes
1answer
958 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 ...
0
votes
1answer
899 views

How to build a readonly root filesystem in Arch-ARM

I have the following set-up: hw: RPi 3 Model B os: 4.4.37-1-ARCH #1 SMP armv7l GNU/Linux file system: /boot(vfat), /(ext4), /var(ext4) partitions: three; mounted: /boot, /, /var storage: mlc nand ...
0
votes
1answer
105 views

How does JetBrains PyCarm IDE put files into directories outside of ~/ despite being run without sudo?

PyCharm is a lovely Python IDE by JetBrains that can be downloaded here. I have downloaded the free community edition, extracted (with sudo) it into /opt/jetbrains/pycharm and run (without sudo) /opt/...
0
votes
1answer
317 views

Move Root Folders to DRBD

What folders in the root folder ( "/" ) cannot be moved to a clustered file system (using DRBD and probably GFS2)? Would like to setup a basic cluster to increase uptime for our file server, web ...
0
votes
1answer
2k views

How can I boot with a compressed rootfs?

My problem is: I cannot use compressed rootfs (the kernel crashes during boot) but uncompressed ones work fine. What I did: I'm using Buildroot 2013.11 to generate Images for my embedded Linux (2.6....
0
votes
0answers
8 views

install Veracrypt on Ubuntu root partition

Is it possible to encrypt with Veracrypt root partition of already installed Ubuntu without data loss? I think I need to use boot flash cause impossible to encrypt mounted root partition, right? Do I ...
0
votes
0answers
22 views

Unable to mount root file system as read-only at boot

I am running Raspbian Buster on a raspberry pi, and I have tried to make the filesystem read-only as I don't need to write data and I want to spare my sdcard. I have followed a guide that basically: ...
0
votes
1answer
18 views

ownership & permissions inside /var for systemd service

I'm working on an application that needs to read some config files under /etc and write to a db file under /var/lib I'm working on a .service file in order to enable this application to be executed ...
0
votes
0answers
30 views

Why does user_namespace isolate the root directory?

User namespaces isolate [...] the root directory [...]. http://man7.org/linux/man-pages/man7/user_namespaces.7.html I thought root is more of a concept like we build houses on the floor. So if I ...
0
votes
0answers
40 views

Is it possible to export/save Docker's full Linux OS system as a rootfs.tar.gz?

I would like to export or save the full Linux OS, i.e, all root directories – /bin, /home, /usr, etc. as a rootfs.tar.gz and to view and access all full root directories. If I mount the Docker's ...
0
votes
1answer
117 views

Is there a way to automatically restore system files from lost+found

I am running Debian Buster, and out of nowhere the file system of the root partition got corrupted. I wasn't doing anything out of the ordinary, just surfing the net basically, and at some point i ...
0
votes
0answers
35 views

mmcblk mounted as 1 -> root=UUID fail finding rootfs

I just upgraded Linux kernel (from 3.10 to 4.14), and now mmcblk rootfs partition as mmcblk1 (while in the older kernel in mmcblk0). I would have assumed that things should yet boot correctly from ...
0
votes
0answers
88 views

How do I create an ethernet device file in unix - debian based embedded systems?

In my root file system, I can see that I have a directory /sys/class/net/eth0/. However, I want to create another interface /sys/class/net/eth1 and /sys/class/net/eth2. How can I do so? I am ...
0
votes
0answers
34 views

backup privileged data on remote servers without root ssh

I'm sufficiently new to Linux that I don't understand how to do what I think I want. If you think you know what I actually want, please tell me. I would like to use Duplicity to backup privileged ...
0
votes
0answers
32 views

Got stuck in Emergency mode with ACPI Error

I am using ubuntu 16.04. I probably have done sth which damaged the system file. After reboot, I am stucked in emergency mode. The error is about ACPI like below. I am not sure what is wrong here. ...
0
votes
1answer
113 views

move system partitions to different physical drive with different filesystem

My RHEL7 system is configured like this: Filesystem Size Used Avail Use% Mounted on /dev/mapper/rhel-root 50G 18G 33G 36% / /dev/mapper/rhel-home 504G 147G 357G 30% /home /...
0
votes
0answers
95 views

How to configure embedded linux kernel so that the file system is visible on the host linux

I am using a powerpc, and after building and flashing the linux kernel on the device I can see the file system. But if I try to create a user or make any changes they get erased and resets to default ...
0
votes
1answer
499 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 ...
0
votes
0answers
367 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
1answer
169 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
46 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 ...
0
votes
1answer
49 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
0answers
206 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 /...
0
votes
1answer
17 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
1k views

Mount new disk to existing root mountpoint using mhddfs (merging filesystems)

I have a new disk on server (sdb) and I want to mount it to existing root mountpoint (sda1 mounted on /) to merge it. There is an utility called mhddfs which is doing exactly what I want. But the ...
0
votes
0answers
469 views

/proc not mounted as expected inside chroot?

I set chroot for my project folder ~/workspace/apollo.0 to create a security JAIL. After running chroot command, fake root filesystem is created in my project folder to make it as security JAIL. To ...
0
votes
3answers
1k views

how do I copy an .iso file to root in Ubuntu

How can i copy an .iso file to the root directory in Ubuntu? Unetbootin cannot detect my ubuntu.iso unless it will be moved to the root. When I attempt to move it, into the root, the system tells me ...
0
votes
2answers
44 views

What is the meaning of the directory specified by '//'? [duplicate]

What is the meaning of the directory specified by '//'? It can be accessed by typing in 'cd //' at the comand prompt. I have tried this on mac 10.9.5 and Centos 6. It shows the contents for the ...
0
votes
1answer
2k views

How to put isolinux on an sd card

Hey I need to put the isolinux bootloader on an sd card but how do I properly do that?
0
votes
1answer
4k 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 ...
-1
votes
1answer
27 views

Building Kernel Image for Embedded Linux Platform

I am interested in compiling a linux image for Ingenic SoC based platform. The vendor vaguely provided instruction on how to compile the linux kernel for the target SoC. So based on vendor ...
-1
votes
2answers
102 views

Contents of /var/run persist across reboots

Does it mean my distro is broken (it's a custom distro for a board I'm using, it could easily be buggy)? Can I tweak this behaviour?

1 2 3 4