The tag has no wiki summary.

learn more… | top users | synonyms

8
votes
1answer
2k 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
973 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 ...
7
votes
1answer
183 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 ...
6
votes
3answers
70 views

What are the minimum root filesystem applications that are required to fully boot linux?

It's a question about user space applications, but hear me out! 3 'applications', so to speak, are required to boot a funcitonal distro of Linux: Bootloader - For embedded typically that's U-Boot, ...
4
votes
2answers
1k 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
872 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
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, ...
3
votes
1answer
153 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
49 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 ...
3
votes
1answer
34 views

Does the Linux loader (ld.so) follow symlinks?

I have stumbled upon a problem by trying to move the ld.so.cache file to another location. I have tried to create a symlink for it in its previous location -- /etc/ -- but it seems that the loader ...
3
votes
1answer
826 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
98 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
967 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 ...
3
votes
1answer
326 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
85 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
83 views

LVM RAID 1 for root [closed]

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
801 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
1answer
19 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 ...
2
votes
3answers
466 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
562 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
454 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
0answers
124 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
156 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
77 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
3k 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
231 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
54 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
28 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
290 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
82 views

How can I resize my encrypted root and home partitions, to give root more space?

I need to enlarge my / (root) partition, I have a lot of space on my /home partition so how can I do this? The drive is encrypted with LUKS. My system is Fedora 20. I have another thread here which ...
1
vote
1answer
94 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
90 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
305 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
166 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
71 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
1answer
99 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 ...
0
votes
0answers
185 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
1k 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?