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
1answer
62 views

Building arm / aarch64 rootfs

I am interested to generate a Debian rootfs for aarch64 machine from an x86_64 workstation. What are the required steps to achieve this ? As far as I know the proper way is to use debootstrap: https:...
1
vote
1answer
57 views

Which directories can be on a different partition outside of root?

This question has surely been answered somewhere else but I'm having trouble finding it. I'm in a situation where I'm moving my root file system from a Debian install off of a hardware RAID and onto ...
1
vote
1answer
377 views

VFS: Cannot open root device mmcblk1p1 or unknown-block(179,33)

I am trying to run Linux on custom board based on Nvidia TK1. When I try to boot the board from SD card, I get following error: VFS: Cannot open root device "mmcblk1p1" or unknown-block(179,33): ...
1
vote
1answer
2k views

Move mount or increase space in /var/log

I am using CloudLab to create an openstack setup, and the filesystem structure on the controller node looks like this: root@ctl:/users/Jasim9# df -h Filesystem ...
1
vote
1answer
972 views

Kernel Boot over NFS

I'm trying to boot the 4.13.0-rc2 mainline kernel on the Beaglebone Black (rev C) with omap2plus_defconfig over NFS. I've enabled CONFIG_NFS_ROOT along with the following options: CONFIG_NFS_FS=y ...
1
vote
2answers
1k views

Is the root filesystem unmounted during a Linux shutdown?

If the root filesystem is unmounted, then how can init be accessed to run the last few steps that occur afterwards?
1
vote
1answer
794 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
1answer
2k 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
66 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 ...
1
vote
1answer
4k 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
38 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 ...
1
vote
2answers
583 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
1answer
776 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 ...
1
vote
1answer
3k 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
1answer
941 views

WARNING: at kernel/irq/handle.c - after changing rootfs, but why?

today I changed from an image with initramfs to an image with separate kernel and rootfs. Theses images are used for an Embedded System (ARM9 SAM9G25), that is runnging with an Linux 2.6.39. During ...
1
vote
1answer
771 views

What is the correct approach to reduce the size of the rootfs.cpio?

I use cpio -idv <rootfs to extract what all is inside my rootfs.cpio file. Following are the contents of a defualt rootfs.cpio that I get after compiling petalinux: [root@xilinx ourput]# ...
1
vote
1answer
5k views

Difference between initramfs.cpio and rootfs.cpio

What are the differnces between the two? Can I just use initramfs.cpio or do I need to use both? Actually my rootfs.cpio file is 7 Mb and initramfs.cpio is just 0.5mb, so I was thinking if I can use ...
1
vote
0answers
17 views

Creating a grow-on-demand loop filesystem without sparse files

I wish to create a file to loop mount as a root filesystem that grows dynamically as required (up to a limit). The commonly quoted solution to this is to use a sparse file, which would do exactly ...
1
vote
0answers
45 views

Switch root filesystem after copy

I currently have a script that copy the content of a microSD card to the eMMC of a BeagleBone Black. Once the copy is done, I would like to switch root filesystem for the eMMC and finish installing ...
1
vote
1answer
536 views

Adding ZFS to a Preseeded Debian Installer

I'm looking to create an (internal, for legal reasons) preseeded debian (stretch) installer that will automatically create a root zpool from all available HDs instead of going through (whether ...
1
vote
0answers
189 views

du command shows larger size than nand erase block size in ubifs. How to check the exact size in ubifs?

I use UBIFS for rootfs. I would like to check the size of each direcotries in /. When I checked with du command, it shows larger than mtd size. Would you tell me the way how can I check the correct ...
1
vote
1answer
620 views

Updating root filesystem remotely in-place

Let's say one has only remote access (SSH) to an embedded Linux device and the goal is to upgrade the OS to a new version. The device has only one partition, but there's easily more than 50% unused ...
1
vote
0answers
405 views

Strange inode count with /dev/vzfs

I am using Plesk on an Ubuntu 14.04 server and experiencing some strange problems: I checked mount: /dev/vzfs on / type reiserfs (rw,usrquota,grpquota) Then stat /dev/vzfs: stat: cannot stat ‘/dev/...
1
vote
0answers
88 views

Making root being bind mounted

I have XUbuntu and Arch on a laptop, I'm sharing /boot partition between these distros mounting it on /mnt/boot and bind-mounting /mnt/boot/xubuntu or /mnt/boot/arch onto /boot; it works fine even ...
1
vote
0answers
658 views

ARM system booting from SD card with uboot - how to put everything in one FAT partition?

I am working on an ARM system running linux, which has an eMMC and an SD card slot. I've been booting from the SD card during development, with just the first stage bootloader of uboot in the eMMC and ...
1
vote
1answer
309 views

How to specify an alternative root file system at boot time

I had some problem with the default rootfs and always writing out kernel panic. I want to fixed it in the kernel, so I tried many ways to solve this problem. I had base idea to fix , that is before ...
1
vote
0answers
263 views

/dev/console missing when mounting nfs

I'm trying to boot linux on a remote device. I load a uImage of the kernel via tftp: boot -uboot -tftp TFTP_SERVER:uImage and tell him where to find the root fs: console=ttyS0,9600 ip= {IPs here} ...
1
vote
1answer
238 views

Add parameters to NFS mount

I try to start Android on device via NFS and TFTP. Everything goes good until Android system starts booting. Something happens with network parameters and connection falls and boot freezes [ 60....
1
vote
0answers
366 views

Different mount output with and without initramfs

I need to create an initramfs to load a driver to access EMMC which contains the root filesystem. In my current kernel build, the EMMC driver is modular (sorry, can't change this). After the kernel ...
1
vote
1answer
692 views

How to encrypt a live root fs remotely and unlock it via ssh

I have a Linux Arch system running on a VPS. The rootfs is installed on a LVM partition. I would like to overlay an encrypted container on this partition, then reinstall the rootfs on it and enable ...
1
vote
0answers
57 views

Why could I need to fsck check the root file system?

This could sound like a rather obvious question, but we all know that soft-checking of any partition is sometimes a need, and we perform it in cases like unstabilities found, lost files or (...
1
vote
0answers
635 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 ...
1
vote
0answers
367 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
2answers
395 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 ...
1
vote
0answers
91 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 ...
1
vote
1answer
928 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?
1
vote
0answers
2k views

Qemu: No file system could mount root (unable to mount roofs)

In Linux, I've created the root file system (rootfs) by following commands: dd if=/dev/zero of=ramdisk.img bs=1M count=4 mkfs.ext2 ramdisk.img sudo mount -o loop ramdisk.img rootfs sudo cp init ...
1
vote
1answer
205 views

/ is out of blocks, can't find out why [duplicate]

Possible Duplicate: How can I diagnose and repair missing drive space? root@database:/# treesize -x 2>/dev/null 1.1 GB . 757.1 MB ./usr 232.0 MB ./lib 97.2 MB ./var 29.0 MB ./boot 6.3 MB ./...
0
votes
1answer
4k 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) ...
0
votes
2answers
444 views

What are limitations chrooted system? [closed]

Chroot allows us to change the root directory, or rather root directory of specific process. Now obviously this does restrict the process to the specified tree (unless it doesn't relinquish the ...
0
votes
2answers
91 views

Is it accurate to say that the Linux partition is “mounted” to the “/” directory?

Say we have a partition called /dev/sda2, in order to use this partition, we have to mount it to some directory, for example we can mount it to the /mnt/sda2 directory. Now say that Linux is ...
0
votes
1answer
63 views

What makes debian different from other variants given they have same kernel? [closed]

In the recent project we have been asked to create a debain based system for a SOC. Doing some gooogling I did find guides that point to ways to use yocto to create a debian system [1]. But then I ...
0
votes
1answer
1k views

How do I replace Root Drive on Debian? [closed]

How do I replace the root drive on Debian? What is a comprehensive set of steps starting from old drive with a new empty drive ready to go to the new drive with a fully bootable install with grub and ...
0
votes
1answer
142 views

Permission automatically resets to root after using chown

I've got a samba shared directory which previously was setup normally but I noticed not being able to connect to it anymore. Turns out that permissions were reset to root and whenever I try to change ...
0
votes
1answer
87 views

Personal `usr` directory

I recently started to put all my dotfiles in a VCS, and just for complete organization, I thought of creating a personal "usr" folder, as in a folder within the home folder that gets "merged" with the ...
0
votes
1answer
4k 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 ...
0
votes
1answer
48 views

*** /dev/sda1 will be checked for errors at next reboot *** but it never is; remedy?

System: Linux Mint 19 "Tara" - Cinnamon (64-bit), based on Ubuntu 18.04, kernel 5.3.0-24-generic Problem duration: 1 month. Problem description: since this computer malfunctioned before my ...
0
votes
1answer
92 views

Linux permission denied

Every single command I run gives me permission denied as root, this happened shortly after I changed /etc/fstab and remounted ext4. The only commands I appear to be able to run is echo and cd, not ...
0
votes
1answer
54 views

Moving / directory in linux

I installed ubuntu with dual boot alongside Windows 8. While partitioning I allocated 9.8 GB to the root directory of linux.Now i am short on space with only 700MB space remaining in this root ...
0
votes
1answer
43 views

Is it possible/practical to use a Linux server to authenticate Windows devices?

I am from a small concern and we are currently looking into getting a server purely for authentication and saving user data's. I do not want to push software to the devices or anything like that. I ...