3
votes
0answers
23 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
49 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
147 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 ...
2
votes
2answers
815 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
328 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
2k 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. ...
1
vote
2answers
323 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
234 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 ...
5
votes
1answer
592 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
160 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
750 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
917 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
1k 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
711 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
908 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?