2
votes
1answer
29 views

How can I remotely debug a broken initrd?

Background I have a system that runs Linux. It's a NAS, and does not have any monitor, keyboard, or serial port. It does have a network port. I'm not happy with the software running on it, and am ...
1
vote
1answer
26 views

Built new kernel, LVM won't mount from initrd

I need to upgrade my kernel on a RHEL 5 system to build with some experimental drivers. I have configured the kernel with module loading for LVM (dm_* modules). Once the initrd runs the /init ...
1
vote
2answers
32 views

Unpack, modify and pack initrd as a user

I've got a problem with rebuilding the initrd image as a user. Firstly, when I try to "unpack" the original initrd image: cpio -idm < initrd-base cpio: dev/tty8: Cannot mknod: Operation not ...
1
vote
0answers
30 views

Build Mini Linux and Embedded Linux

How to build Mini Linux with Busybox, Kernel-3.15.3, Syslinux? I've built my Mini Linux using these steps: Steps in Building Base Mini Linux Distro 0 . Compile the kernel and see ...
3
votes
0answers
39 views

Are there any canned solutions for running sshd in the initrd?

This is mostly aimed at Debian/Ubuntu, but I feel savvy enough on a variety of distros to be able to adapt the solution for one distro to another. Here's my scenario. There are a few situations when ...
0
votes
1answer
81 views

How are the services exactly starting in (K)Ubuntu?

I have latest Kubuntu. I have installed mysql. I was looking into the /etc/init. I see the following: In /etc/init/mysql.conf description "MySQL Server" ...
4
votes
1answer
225 views

How do I load initrd into memory to be passed to kernel when using kexec?

As the MIPS port of kexec doesn't support the --initrd param, I'm looking for workarounds to imitate the feature. According to Linux/MIPS wiki, MIPS kernels support rd_start and rd_size kernel command ...
3
votes
2answers
1k views

How does Linux load the 'initrd' image?

I've been trying to understand the booting process, but there's just one thing that is going over my head.. As soon as the Linux kernel has been booted and the root file system (/) mounted, ...
1
vote
1answer
437 views

Measurement of free ram through /proc/meminfo with ramdisk (initrd)

I am booting a disk image via PXE, it is a full system on an initrd ramdisk. I would like to measure the actual free memory of the system (not including buffers and file system caching). I was told ...
3
votes
2answers
3k views

Ubuntu: How do the md devices get assembled at bootup?

How do the md devices get assembled at bootup in Ubuntu? Is /etc/mdadm/mdadm.conf truly the relevant factor here? My mdadm.conf is sound and I checked that while I was in the rescue CD environment. ...
0
votes
0answers
17 views

Preparing an initrd for qemu [duplicate]

I have compiled a bzImage but when I try to run it in qemu I get a kernel panic because I don't have an initrd file. So I create one by following the steps in this question but I cannot get it to ...
1
vote
2answers
366 views

Adding commands to initrd image [closed]

Whenever I enter into initrd prompt, I know that not every command is executed in that prompt. Can somebody tell me how I can add more commands support in that initrd prompt. It would be nice if you ...
1
vote
0answers
258 views

Configure vmware-tools without an initrd image?

Is it possible to run vmware-tools without an initrd? I don't know why I should use an initrd and it makes my kernel compilation more complicated. I can boot into my kernel without initrd but when I ...
3
votes
1answer
2k views

vmlinuz and initrd not found after building the kernel?

After configuring and building the kernel using make, why don't I have vmlinuz-<version>-default.img and initrd-<version>.img, but only got a huge vmlinux binary (~150MB)?
5
votes
1answer
678 views

Adding files to initrd makes linux not be able to read it

I'm using clonezilla-1.2.12 and need to add the Broadcom firmware to the initrd so it can netboot. (clonezilla is debian-based and debian no longer includes the firmware blobs as they're non-free. ...
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 ...
4
votes
1answer
776 views

Booting without initrd

Is it possible to boot linux without a initrd.img ? I am planning to add default drivers as a part-of-kernel itself and avoid initrd completely. What are the modules that should be made ...
2
votes
1answer
959 views

Creating new initrd without installing kernel

How can i create initrd image for a new(experimental) kernel without actually installing it. (Existing tools to create initrd based on config and details from installed kernel.) Say i compile a new ...
6
votes
2answers
2k views

What does mkinitrd change when it adds kernel modules to the initrd?

When creating an initrd using mkinitrd (CentOS 5.5), the kernel modules it adds to the initrd get modified in the process. For example, the initrd's /lib/sata_via.ko is not binary identical to ...
4
votes
1answer
757 views

Will a “customized” initrd survive a kernel update via yum?

I have a CentOS 5.5 installation with the stock CentOS 5.5 kernel. I have modified the init script in the initrd, commenting out some unneeded modules, lowering the interval time of the "stabilized" ...
6
votes
1answer
999 views

Is Ramdisk and initrd the same?

While reading through the kernel documentation on ramdisk in ramfs-rootfs-initramfs.txt i was having a doubt like the ramdisk explained there is same as the initrd features described in the post at ...
2
votes
1answer
1k views

initramfs image compression other than gzip

can the initramfs image be compressed by a method other than gzip, such as lzma?