Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Im trying to create a customized initrd image for
either recovery or installing OS on bare-metal
I want to customize initrd so that I can run my
application once vmlinuz loads initrd. (similar to dos
booting - dos runs autoexec.bat)
I followed following steps, but could not succeede:-
- downloaded & built linux 2.4 kernel source code.
- Built initrd using mkinitrd.
Now I want to customize initrd - so that i can modify
linuxrc script inside it to run my custom application
once initrd gets loaded.
To modify initrd - i tried mounting initrd image
at /mnt/initrd folder,
but received error
[root@rhel40-junk pt]# mount initrd /mnt/initrd -t
mount: wrong fs type, bad option, bad superblock on
or too many mounted file systems
(could this be the IDE device where you in fact
ide-scsi so that sr0 or sda or so is needed?)
I also tried network booting machine with built
bzImage & initrd, but
Kernel panic: VFS: Unable to mount root fs on 08:01
- Then I searched for ready to download initrd
recovery images on net:-
when i try to mount the initrd image downloaded from
It does not give me errors.