The initramfs tag has no wiki summary.
1
vote
1answer
33 views
Excluding kernel modules through /etc/modprobe.d/blacklist.conf does not work
I don't want to load the kernel module nouveau on my debian box at startup, so I put the following in /etc/modprobe.d/blacklist.conf:
blacklist ttm
blacklist drm
blacklist nouveau
I even did a ...
2
votes
1answer
65 views
How can I force a Ubuntu kernel to fail mounting / and drop into the initramfs rescue shell?
I am trying to customize the initramfs rescue environment and would like to force the kernel to fail mounting / and drop into the (initramfs) rescue shell, as opposed to single user mode.
How can I ...
1
vote
0answers
47 views
unionfs filesystem
I recently learned about unionfs and aufs and would like to put it to some real use. The scenario I have in mind is the following. Boot a machine with ubuntu on it which will serve as our base. Make ...
2
votes
1answer
110 views
Adding dropbear to initramfs with dracut on Fedora
I'm trying to add dropbear to my initramfs so I can unlock the encrypted disk through a remote SSH session (as described here). I'm running Fedora 16 which apparently uses dracut to generate the ...
0
votes
1answer
132 views
How do I build a read-only Linux system that only writes to the RAM?
This is my current partition structure:
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 127428 0 127428 0% /lib/init/rw
udev ...
1
vote
2answers
104 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) ...
0
votes
1answer
46 views
Initrd : Were can I found the code for real-root-dev
I'm trying to customize my initrd on kernel 2.4.
At some point, inside the file linuxrc, I have the opportunity to set my root device setting the /proc/sys/kernel/real-root-dev variable
The example ...
5
votes
3answers
111 views
Is making /etc directory read only a bad idea?
I have an embedded system setup built using buildroot and using initramfs. It runs on compact flash device where I have created separate ext3 partitions to mount /etc/ and /var directories as well as ...
0
votes
1answer
117 views
What happens with /etc/fstab when using an initramfs?
I have a simple embedded setup as follows: x86 target, kernel and root file system built using buildroot. Syslinux is the bootloader configured to boot with an initramfs which points to a .cpio file ...
3
votes
1answer
113 views
Using ramfs on embedded system
I am required to write some software to run on Linux installed on an x86 based embedded setup that has a 8GB compact flash drive for data storage. The critical requirements are logging measurement ...
1
vote
3answers
243 views
after replacing motherboard, Debian gets blank screen while booting
I have Debian installed on one computer. I just replaced its motherboard and CPU. And graphics card, because I use onboard one. I kept my old hard disk. Now machine boots well, grub starts well, ...
2
votes
0answers
191 views
Booting over the LAN using uboot
I am trying to boot my beaglebone over the LAN. I am able to download the Kernel uImage from the TFTP server. Here is what I did -
U-Boot SPL 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55)
Texas ...
4
votes
2answers
251 views
How is a Linux kernel capable of accessing its assigned initramfs/initrd?
I'm trying to understand the boot process of a machine as a whole from the time you hit the power button. There's this one piece from bootloader to initramfs stage I don't quite understand among some ...
2
votes
2answers
99 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
321 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
767 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, ...
1
vote
1answer
645 views
How to make an entry of Slackware into grub2
I want to manually add the Slackware entry into the GRUB2 configuration file /boot/grub/grub.cfg. But the problem is that there is no initrd or initramfs present in /boot directory of Slackware. I saw ...
5
votes
3answers
603 views
Does /init (or /linuxrc) script creates temporary device nodes in /dev?
Considering that GRUB executes following lines:
kernel /vmlinuz root=/dev/sda1 ro
initrd /initrd
On boot, how does the Linux kernel finds out about /dev/sda1 device node?
I know that ...
5
votes
1answer
230 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 ...
0
votes
1answer
161 views
kexec from within initramfs
Can kexec be used from within initramfs to load up a new image and kernel?
It seems that kexec calls shutdown which then looks for /dev/initctl, which is missing from a busybox initramfs image.
Any ...
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
...
3
votes
2answers
107 views
Where to install local software that runs before /usr is available?
I'm writing a local program to be called by a udev IMPORT{program} rule. Normally, I'd install local software in /usr/local, but these udev rules are run when block devices appear. So they're running ...
2
votes
1answer
197 views
Fedora location of /usr/share/v86d/initramfs
I compiled and installed v86d, yet I can only locate one binary file in /sbin. There is supposed to be the initramfs file in /usr/share/v86d, but this directory does not exist. I don't think that the ...
2
votes
2answers
553 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
596 views
Compiled a Kernel (2.6.39-rc1), where is the corresponding initramfs?
as I've already wrote in the topic, I compiled a new Kernel with make defconfig, the bzImage is where it there, so is vmlinux.bin. I've installed modules with make modules_install.
Now, what is the ...
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 ...
2
votes
2answers
697 views
Why use cpio for initramfs?
I am making my own initramfs following the Gentoo wiki. Instead of the familiar tar and gzip, the page is telling me to use cpio and gzip. Wikipedia says that cpio is used by the 2.6 kernel's ...
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 ...