Tagged Questions
1
vote
2answers
108 views
Is it a bad idea to not have a swap partition on an embedded linux setup?
I have a small embedded linux kernel and file system created via buildroot that is installed onto a compact flash drive running on an x86 board. I am using an initramfs (due to power loss concerns) ...
2
votes
2answers
100 views
Can I make low-level changes on a root fs mounted RO?
Related to this question: having a root file system that had to be mounted read-only (say it's completely broken), can I reformat the partition or dd a older backup image on top of it (and then ...
2
votes
1answer
336 views
Where is fsck startet for the root filesystem at boot?
I want to extend an existing Debian 6.0 system so that it is able to automatically fix a corrupt root file system by restoring a separate image. That process should start automatically instead of the ...
2
votes
3answers
776 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, ...
5
votes
1answer
231 views
Does the kernel delete entries in /dev on an initramfs?
I have a fully custom, minimal, embedded Linux (vanilla, 3.3.8, i486, Vortex86dx) system that boots from an initramfs image. No standard distribution scripts are used, just a single rcS file that does ...
2
votes
1answer
111 views
When would an initrd be necessary?
I've read that I can boot the kernel without initrd, and I've also read that additional modules are loaded during the initrd stage -- as I understand it, for necessary drivers that weren't included in ...
5
votes
3answers
1k views
Why does initramfs mount the root filesystem read-only
What is the reason for the root filesystem being mounted ro in the initramfs (and in initrd).
For example the Gentoo initramfs guide mounts the root filesystem with:
mount -o ro /dev/sda1 /mnt/root
...
2
votes
2answers
554 views
dracut and separate /usr?
I would like to use systemd on my Gentoo box. Unfortunately, I have /usr on a separate partition and Gentoo puts libdbus into /usr/lib, leading to a segfault on boot, since systemd relies on dbus.
...
1
vote
1answer
2k views
RAMDISK incomplete write error kernel panic
I am building Linux Kernel 2.6.36.4 on a Dell Laptop which has Linux Kernel 2.6.35.11 running.
BTW I got the source from kernel.org.
The source had few syntax errors which I fixed in the process and ...
5
votes
3answers
2k views
How to generate initramfs image with busybox links?
Having been directed to initramfs by an answer to my earlier question (thanks!), I've been working on getting initramfs working. I can now boot the kernel and drop to a shell prompt, where I can ...