The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
52 views

No space left to free up on rootfs partition to upgrade kernel

I want to upgrade Linux kernel from 3.16 to 4.3. Unfortunately when I run aptitude install linux-image-4.3.0-1-amd64 installation fails due to no space on rootfs partition. 117MB left, 174MB needed. ...
1
vote
0answers
50 views

Cannot install packages using dnf in Fedora 22 on ARM platform

I have installed Fedora 22 (using rootfs) on an Android 5.0 device with ARMv7 processor using GNURoot app. This is working OK. All commands in the rootfs execute OK. However, I have a problem with ...
0
votes
1answer
19 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) ...
0
votes
1answer
54 views

Remount linux filesystem from ro to rw [duplicate]

I need to remount my linux filesystem from ro to rw. But nothing gonna work. I will be very grateful if someone help me. # mount /dev/mtdblock3 on / type squashfs (ro) proc on /proc type proc (rw) ...
5
votes
1answer
53 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 ...
3
votes
1answer
39 views

What is the proper way to unlock a root filesystem spanning two LUKS devices by only entering the password once, using systemd?

I have been having a lot of issues getting an encrypted multi-disk root filesystem to boot up reliably under systemd on Debian Jessie while only having to enter the password once. Previously I've ...
1
vote
1answer
76 views

Linux root on F2FS

I have my Linux root on an F2FS USB flash drive. The kernel is on another device accessible by the bootloader. I'm trying to start it with the parameters root=/dev/sda1 rootwait rootfstype=f2fs, but I ...
1
vote
1answer
36 views

Rezise root partition using other hard disk

I have a hd of 150GB and other of 300GB, both partitioned, the former with a root partition and the latter with some unused space. How can I use the unused space of the second to extend the root ...
5
votes
1answer
84 views

What is the purpose of listing the rootfs in /etc/fstab?

In BuildRoot 2015.08.1 /etc/fstab contains the following line. /dev/root / ext2 rw,noauto 0 1 On my encrypted Ubuntu laptop /etc/fstab contains the following line. /dev/mapper/ubuntu--vg-root / ...
0
votes
0answers
10 views

can't boot fedora live medium on my strange tablet

I can get it booting and can see the filling splash. However, my usb drive is attached through the tablet's OTG port which needs DWC3_XHCI to be on, which most kernels don't. Can I re-compile the ...
2
votes
0answers
34 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
80 views

Move root partition to another disk

Below is my df -h output. Filesystem Size Used Avail Use% Mounted on /dev/xvda1 20G 18G 1.2G 95% / tmpfs 2.0G 0 2.0G 0% /dev/shm /dev/xvda2 138G 4.4G ...
1
vote
0answers
67 views

Grub2 and mounting a rootfs

I am trying to boot a machine using a version of the kernel (linux-2.6.32.68 - unpatched) that I have compiled and mount a small root filesystem. I have created a small ext2 file system using the ...
0
votes
1answer
170 views

A Start Job is running for dev-md1.device

Hello everyone I'm with the following error on my CentOS 7 I restarted the server is now the boot time is with this message is already so minimum 40 minutes, what should I do? Please Help-me?
1
vote
1answer
24 views

how to avoid direct/network root login on the system and using some chroot to admin the system?

here the idea for which I seek a solution: I want to have a system with no way to log as root. I want to manage the system (edit /etc/files, (un)install something, etc.) by physically unplug the ...
2
votes
0answers
31 views

How do I prevent the kernel from pivoting and overwriting the initial file system?

How do I prevent the kernel from pivoting and overwriting the initial file system? What switches do I pass to the kernel? Do I need to add any code to the initramfs? I cross-compiled busybox and ...
0
votes
0answers
22 views

How to add package on this live distro?

I am working on hand made linux from this article /not sure from which distro it has been made, my best guess is ArchLinux/. I have Ubuntu 14 x64 where I am preparing this live distro using make. ...
1
vote
1answer
54 views

Why are the first inode of the `/` mounted partition and inode of `/` different?

[~]$ stat -c %i / 2 As you can see in above, the inode for / is 2. But the First inode of /dev/sda2 is 11. [~]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 ...
0
votes
0answers
40 views

Load root partition on embedded linux system

I'm using a zynq-7000 SoC, running a custom petalinux build, which is on an SD card. The boot partition contains a boot.bin (the bootloaders etc) and an image (containing the kernel). The root ...
2
votes
1answer
634 views

SquashFS+UnionFS as root filesystem?

What's an easy way to to use a union filesystem (read-only SquashFS + R/W overlay) as /? I'm thinking of using a custom boot script as the kernel init= argument. The script would mount the SquashFS + ...
2
votes
2answers
499 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 ...
0
votes
1answer
81 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 ...
1
vote
2answers
55 views

Create mount points automatically in /mnt, even though / is read-only

I have a requirement of changing my root partition to Readonly. After changing / to readonly in /etc/fstab, I rebooted the system. Mount points of USB devices is /mnt. But after above changes USB ...
1
vote
0answers
55 views

Mounting real rootfs after initial booting using initrd

I'm booting kernel with root=/dev/ram0 on a embedded environment. After initial booting, how can I mount real rootfs present at /dev/mtd3 and make it as the only rootfs. I'm using root=/dev/ram0 ...
1
vote
1answer
191 views

I've moved my root directory accidentally to a folder, can't figure out how to move it back using busybox [closed]

I've moved my root directory into a website folder in /var/www. Have rebooted my server and am now in a Busybox rescue environment where I have found my root files in the website folder that I tried ...
1
vote
1answer
101 views

How to transfer a rootfs folder?

I just created a rootfs with debootstrap in a Debian Jessie VirtualBox VM. Now I would like to transfer this to the host, by first compressing the directory to a tar archive, so I can upload it and ...
0
votes
0answers
11 views

What folders do I leave out when trying to setup a backup for a Raspbian (Debian) install on a Raspberry Pi 2? [duplicate]

More specifically I'm going either with rSync or something similar to backup the root of the file system to another computer remotely. What do I leave out?
1
vote
1answer
799 views

What is this file: .readahead doing in my root directory?

When I do: ls -a / on Fedora 21 there is a hidden file named: .readahead and it's 104092k What is this file?.... is it suppose to be there? I found this on google: readahead system call on ...
1
vote
1answer
126 views

Fault-tolerant iSCSI root fs for Linux

I am in the process of moving some Linux servers onto a virtualized environment with their filesystems mounted from LVM volumes, which are in turn hosted on a remote NAS via iSCSI. I am able to start ...
0
votes
1answer
287 views

Accidentally removed execute permission from root directory.

I accidentally did chmod 770 / which removed all access to the system. I booted to rescue mode, dropped to root shell and tried to chmod 755 /, but I get message changing permissions of /: read-only ...
5
votes
1answer
672 views

what does mount -o remount,ro / actually do (under the hood)

To remount a mounted filesystem to read-only, I can use following command: mount -o remount,ro /foo This is used for example in the shutdown sequence, where root filesystem (/) is remounted ...
0
votes
0answers
25 views

Standard/Common location for cross compilation toolchain

Does a standard or common location exist for installing cross compilation tools? I can easily pick my own location and it works fine, so I'm just looking to find the most ideal location. Based on ...
0
votes
2answers
27 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 ...
1
vote
2answers
4k views

mount: warning: /etc/mtab is not writable (e.g. read-only filesystem)

Working on my system I noted that the root filesystem is mounted read-only. My system worked for months, today I get this error: mount: warning: /etc/mtab is not writable (e.g. read-only filesystem). ...
3
votes
2answers
706 views

Are Linux drivers part of the kernel or the rootfs

I have been working on a board with an embedded ARM processor. To get it to boot I have to add a bootloader, a linux kernel and a disk image containing the root file system. This disk image is ...
2
votes
1answer
162 views

Free-ing up unused space on a partition that is unaccessible after a mount

Originally I had a 50GB disk where the root / was mounted to a 6 GB partition on it. The partition was running out of room so I created a second partition with the rest of the free space (44 GB). ...
3
votes
1answer
36 views

Is is possible to recover from the unexpected removal of the root device?

As it says on the tin, is it possible to recover from the entire removal and reinsertion of the root device (I.E. remounting it after reinsertion)? The reason I'm asking is I'm attempting to teach a ...
0
votes
1answer
189 views

why are /media and /home /mnt/home so large?

I am trying to get hplip-3.14.10 on a desktop. I found out that the setup returns a make command failed with status code 2 which is caused by insufficient disk space. I used disk usage analyzer to ...
1
vote
1answer
146 views

At Backup, when would the filesystems inode numbers matter?

background: Being somewhat of a coward I have up to now dd whole filesystems for backup. Major drawback has become the excessive use of memory for those complete backups (which unfortunatelly also ...
2
votes
1answer
72 views

Booting Linux minimally

I am trying to boot just linux itself. It's mostly for the learning experience. I got a small HDD with only one ext4 partition looking like this: /bin/bash /dev/console /boot/vmlinuz ...
0
votes
1answer
970 views

Debian: Can I remount / read-only in single user mode?

I'd like to use fsarchiver in the safest way possible but have no live medium for booting from. I vaguely remember having read something like this though: Is it possible to remount / readonly when in ...
2
votes
0answers
62 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 ...
2
votes
1answer
110 views

What can I (not) shred from root while it is mounted?

I am performing a test migration from old server to new one. Part of the procedure involves cleaning up the old server of any traces of passwords, php scripts and custom configurations while remotely ...
0
votes
1answer
2k views

Unable to mount root fs over NFS

I am attempting to set up the first (of many) Raspberry Pis running Pidora (a Fedora Remix) to boot from an NFS share. It is my goal to eventually place a dozen or more Raspberry Pis in the datacenter ...
1
vote
0answers
166 views

How can I replace root / filesystem with another filesystem?

When the Linux kernel starts up, it uses initrd as the root / filesystem, then replaces that with a filesystem partition in fstab. Based on a test in an early init script, I want to replace that root ...
0
votes
0answers
105 views

Mount var to another directory, Mysql Database not found

I had an issue with rootfs and /dev/root/ because it was full at 100%. I did this command: du -h So I read this post: How to increase the size of rootfs? And I decided to mount /var to ...
4
votes
2answers
2k 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 ...
1
vote
0answers
242 views

Encrypt root file system and decrypt using U-Boot with key stored in FPGA

We are using Cyclone V, which essentially is a SOC comprised of FPGA + ARM core. Is it possible to encrypt the root file system and decrypt it by using U-Boot with a key which is located in the FPGA?
2
votes
1answer
47 views

/bypass folder on ArchBang - safe to delete?

Anyone know what is this folder for, and if it's safe to delete it? It's an ArchBang box, and this folder was there ever since install. I'm not really sure if it's just some junk left after ...
4
votes
1answer
2k 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 ...