Results 1 to 1 of 1
Hi, 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 copied vmlinuz & initrd ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-02-2007 #1
- Join Date
- Jan 2007
customizing initrd to run custom application once vmlinuz loads initrd
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 copied vmlinuz & initrd from RHEL4 ISO.
renamed 'linuxrc' exe to linuxrc1
created new script linuxrc
called linuxrc1 from linuxrc script
called my application from linuxrc script.
But I receive "kernel panic" error:
EXT2-fs: unable to read superblock
isofs_fill_super: bread failed. dev=md1. iso_blknum=16. block=32
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown block(9,1)
I also tried creating initrd from scratch using link:
I still receive similar error.
Can someone please guide me or point me at appropriate url.
Im here trying to create customize initrd for recovery purpose.