The tag has no wiki summary.

learn more… | top users | synonyms

8
votes
1answer
1k views

Is using a read only root file system a good idea for embedded setup?

I have been tasked with running Linux as an operating system on an embedded device. The target has an x86 processor and has 8 GB CompactFlash device for storage. I have managed to use buildroot to ...
7
votes
3answers
895 views

Any reason for encrypted /?

I am a big fan of linux and like trying out new distros now and then. I usually have my home folders and roots in a lvm atop an encrypted partition, but this tends to become cumbersome with every ...
6
votes
1answer
88 views

How is /etc/fstab accessed before root is mounted?

I was making some changes to /etc/fstab, when this chicken and egg question occurred to me - if /etc/fstab contains the instructions for mounting the file systems, including the root partition, then ...
4
votes
2answers
950 views

Multiple root options in Linux command line

My kernel command line looks like this: root=31:0 ro noinitrd console=ttyS0,115200 root=/dev/mtdblock2 rootfstype=squashfs I think the first root entry identifies a disk by its major and minor ...
4
votes
2answers
707 views

Not enough space on / to install new kernel update

During a recent update I received this: Installing: kernel-default-2.6.37.6-0.11.1 [error] Installation of kernel-default-2.6.37.6-0.11.1 failed: (with --nodeps --force) Error: Subprocess failed. ...
3
votes
1answer
99 views

Login when root filesystem is full

Will I be able to login into the system if the root filesystem is 100% full? Configuration: home is not a partition but is also placed on the root (i.e. /home is a directory on the partition holding ...
3
votes
5answers
2k views

How big should the rootfs partition should be on Arch Linux?

I've installed ArchLinux yesterday and set up a 10 GB partition for the root file system, 256 MB for swap, and the rest (456 GB) for my /home. However I still have 4.0 GB left on my root file system ...
3
votes
1answer
297 views

How creation of new USB device file in /dev/bus/usb/001/ directory work?

I noticed that every time I connect a USB device, a new device gets created in the /dev/bus/usb/001/ directory. Further on each reconnection of the same device, the "Device Number" and "ID" change. ...
3
votes
1answer
84 views

Richacl invalid argument when trying to set atributes

I've compiled a kernel to use richacls, and compiled the richacl's utility, (but not the e2fsprogs). I've mounted a loop file with richacl flags /root/fs_prueba_10mb on /media/ext4_con_richacl type ...
3
votes
1answer
275 views

How small can an embedded Linux file system get?

We have an embedded device running the Angstrom distribution - I'm trying to pare down the root file system to as small as possible. I've started by using Narcissus to generate the file system, but ...
3
votes
0answers
41 views

Changing a root file system from initramfs to JFFS2

I am running Linux on an ARM based development board from flash memory. The rootfs is initramfs. I chose this in the configuration utility under "file system". Then I realized that I need ...
3
votes
0answers
67 views

LVM RAID 1 for root

I have LVM RAID 1 (not mdadm RAID 1, but exactly LVM2 RAID 1) for my root partition. I would like to make my system boot without either of the HDDs where the underlying PVs of the root LVM partition ...
2
votes
3answers
2k views

Given vmlinuz and initrd.gz, how do I find out, where the kernel is going to load / (root) file system from?

I'm trying various ways of Linux installation (from iso, flash, iso on flash, kernel on flash, root FS in iso-file on flash...) and want to understand what's going on. My question is: is it possible, ...
2
votes
3answers
662 views

Root filesystem nearly full - should I be worried?

me@netbook:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda5 323M 292M 15M 96% / tmpfs 5.0M 4.0K 5.0M 1% /lib/init/rw tmpfs ...
2
votes
3answers
320 views

clone root directory tree using busybox

I have an TI DaVinci-based (ARM architecture kin to OMAP) system which netboots using TFTP and NFS-mounted root filesystem, and am trying to make it boot standalone without a netboot server. The ...
2
votes
3answers
449 views

Ensure that loopback root and host are unmounted on shutdown

I'm trying to setup a Linux system that runs from an LVM-formatted image file. After some tinkering with the initramfs and boot options I managed to make it up and running by mounting the host file ...
2
votes
1answer
316 views

Can virtfs/9p be used as root file system?

Is it possible to use a folder shared from the host to the guest via virtfs/9p as the root file system inside the guest? Loosely related to my previous question: Can virtfs/9p be used to share the ...
2
votes
1answer
809 views

What do you filter / exclude list when doing backup with rsync? [closed]

I'm trying to build a comprehensive filter / exclude file, to prevent backuping stuff that doesn't make sense do backup, such as temporary / cache data or easily recreatable files. I would appreciate ...
2
votes
0answers
114 views

What's status of btrfs as root fs? [closed]

What is the current status of btrfs being the root filesystem including /boot; meaning that you do not need to create a separate /boot partition. I ask because I noticed on Debian 7 you cannot setup ...
2
votes
0answers
148 views

What changed between kernels 3.7 and 3.9 that affects LVM/RAID root file systems?

I'm trying to fix a (very messy) system that the user hosed by running a kernel upgrade from 3.7.10 to 3.9.6. the root file system is on an LVM volume on top of a software RAID array. The boot manager ...
2
votes
1answer
67 views

Flashing rootfs on Embedded Linux with Limited RAM

I'm fairly new to the embedded world, so forgive me if this seems obvious. I'm working on a board based off of the AT91SAM9260. I have 256MB of flash and 64MB of RAM. The current setup flashes two ...
1
vote
2answers
1k views

How to increase the size of / with unallocated hdd space

So, I had run out of space on / (which was initially 9.3 GB). So I had some un-allocated space on my hdd (/dev/sda) that I wanted to assign to the / partition, which is also: /dev/sda1. For reference ...
1
vote
2answers
162 views

Moved some files unable to use mv now

I accidently used mv mymods /* * . Now i am unable to undo it or either use any command. How do i fix that? I was in directory name /home/nginx/crap [root@somehost /home/nginx/crap]# mv mymods /* * ...
1
vote
1answer
26 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
17 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
185 views

Adding files to Linux readonly-root

I've a netboot Linux server where the the /root is mounted as readonly. # Set to 'yes' to mount the system filesystems read-only. READONLY=yes # Set to 'yes' to mount various temporary state as ...
1
vote
1answer
16 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
54 views

Mounting root filesystem while booting through network

I have two systems, let say one is the server and the other is the client. I want to load kernel image from the server to the client through the network. I used dhcp (isc-dhcp-server) and tftp ...
1
vote
0answers
205 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
164 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
34 views

Google Chrome - no space on rootfs partition

I've managed to install google-chrome on Debian Wheezy. My rootfs is only 320MB because I didn't predict that some day I will install Google Chrome which has more than 100MB and installs in /opt (opt ...
0
votes
0answers
36 views

No filesystem could mount root, tried: jffs2

CPU: ARM Cortex A-9 This is the kernel command line that I appears in configuration menu root=mtd:jffs2 rw rootfstype=jffs2 console=ttyps0,115200 I have put three files in flash: BOOT.BIN in mtd0 ...
0
votes
0answers
22 views

Terminal data flows [duplicate]

When you press enter after entering information into the terminal, what path does the terminal take in order to determine what to do with the string? How can I inject a process at the front of that ...
0
votes
1answer
975 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?