initrd is a method for loading a temporary file system into memory, during the process of booting the Linux kernel.
1
vote
1answer
30 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 ...
2
votes
1answer
78 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 ...
2
votes
2answers
131 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. ...
3
votes
1answer
82 views
Mount /etc from disc into squashfs
I've created a gentoo-live system which should be booted from a CF-card. The whole file-system is in a squashfs. I've created a custom initrd which first mounts the CF-card and from there the squashed ...
0
votes
2answers
127 views
Kernel/grub : how override root parameter inside initrd script
I have an old kernel ( 2.4.37.9 ) and I want to override or substitute the root=XXXXX parameter to send to the kernel inside the initrd script.
I already made some attempt to do that but it seems ...
1
vote
0answers
110 views
How customize initrd via linuxrc
I have the need to use the same disk and so the same bootloader on devices with different motherboard.
Each motherboard has it's own way of mapping devices so sometime the bootdisk is mapped ad hda ...
3
votes
1answer
143 views
Getting keyboard to work in debian 6.0 in order to unlock root partition
I just installed Debian 6.0, encrypted / and now I'm trying to boot. When GRUB comes up, I select Debian, it loads the initrd and asks for the root password, however I can't enter anything, because ...
2
votes
1answer
149 views
Booting grub-2.00 with 2 initrds, crashes with RAMDISK: incomplete write
So, I'm trying to split my initrd into two initrd's. There's some pretty significant scripts that run in the initrd, and we wanted to split the initrd so we could rev the just the logic or just the ...
1
vote
0answers
143 views
not all initrd.img's are born equal?
I am trying to get a Red Hat 5.8 box booting via pxe. The box is a virtual machine on ESX5.0 it has a Paravirtual SCSI Controller and VMXNET3 network driver. Now these drivers do not come default in ...
2
votes
2answers
965 views
building my own initrd, how to populate dev directory
I am trying to learn stuff about initrd. I have followed this tutorial to build my own initrd from scratch, and I installed busybox on it. Then I made an .iso from it with isolinux, so I could test it ...
0
votes
0answers
47 views
Help compiling Fedora kernel [closed]
I wan to know how to compile the kernel image which is under the CDROM:isolinux/ dir named vmlinuz and how to make the other files like initrd.img in the same directory.
5
votes
3answers
607 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 ...
1
vote
2answers
212 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
163 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 ...
0
votes
1answer
414 views
Linux ubuntu/mint livecd user-home customization
I'm trying to customize Linux Mint livecd with these instruction (uck doesn't work for me).
What I want is to have more icons at its livecd user (/home/mint/Desktop) but I can't find /home/mint on ...
3
votes
1answer
158 views
Create Logical Volume Snapshot at boot and before mount
I'm using Kubuntu 11.10 and before I upgrade to 12.04, I want to make snapshots of my filesystems. Coming to think of that, I realized that it can be very useful to create snapshots of logical volumes ...
5
votes
1answer
384 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. ...
0
votes
1answer
380 views
How to create initrd.img from initrd.lz
I need to create initrd.img file from initrd.lz file. How may I do this?
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
1answer
682 views
Why is my initial ramdisk so big?
I'm running Ubuntu 11.10, which came with kernel version 3.0.0-14. I downloaded and built a kernel from the 3.1.0 branch. After installing the new kernel, I see that my /boot/initrd.img-3.1.0 file is ...
1
vote
1answer
333 views
Script that unpacks a initrd, allows editing of the preseed.cfg and the packs it to cpio and gzip again
I want to program a script that allows what is said in the title. So basically I gunzip the initrd, than unpack the cpio, open vi to allow editing, save, pack with cpio, and gzip again, so nothing ...
1
vote
2answers
199 views
How to log the output of a daemon application?
I have a Java program running as a daemon (thanks to YAJSW, a wrapper for java).
The thing is that this java application writes several lines of console text, (simply imagine a Hello World App). If I ...
3
votes
3answers
655 views
Avoid pause during dm-raid initialization
On my CentOS 5 workstation I get a few seconds wait after dm-raid45 has been loaded ("Initializing Driver" or something like that).
This seems to be part of the initrd. After that the system boots ...
2
votes
1answer
109 views
How do i run a process in a specific directory?
In an init.d file i wrote the below. Now i need to make the bin run in a specific directory. How do i tell it which directory to use?
mono --debug /path/bin &
4
votes
1answer
616 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 ...
1
vote
1answer
747 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 ...
5
votes
2answers
752 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
591 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
648 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 ...
7
votes
2answers
4k views
Add Apache to Ubuntu's startup
I'm currently learning the Linux environment, and decided to manually install the Apache server. For educational purposes, I've compiled it into:
/server/apache
The http.conf location is configured ...
6
votes
5answers
4k views
Is it possible to put root in LVM without using initrd?
I have just set up a Gentoo base system (which means I can boot and log in and do stuff with it now). My root partition is in an LVM2 virtual group (with a separated /boot partition). In order to boot ...
2
votes
1answer
799 views
initramfs image compression other than gzip
can the initramfs image be compressed by a method other than gzip, such as lzma?
