The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
893 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
1k 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
362 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
307 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
184 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 ...
7
votes
3answers
2k 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
119 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
257 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
697 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
858 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
4k 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 ...
6
votes
2answers
938 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 ...
6
votes
3answers
3k 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 ...