LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   opened my initrd (https://www.linuxquestions.org/questions/linux-software-2/opened-my-initrd-593870/)

tkmsr 10-23-2007 04:02 AM

opened my initrd
 
I copied the initrd from the installation DVD
and as root run following command
gzip -dc initrd | cpio -id

as an output I got following files and directories


drwxr-xr-x 2 root root 4096 Oct 23 14:31 bin
drwxr-xr-x 2 root root 4096 Oct 23 14:31 dev
-rw-r--r-- 1 root root 10761 Oct 23 14:31 devz
drwxr-xr-x 2 root root 4096 Oct 23 14:31 download
drwxr-xr-x 9 root root 4096 Oct 23 14:31 etc
-rwxr-xr-x 1 root root 580988 Oct 23 14:31 init
-rw-r--r-- 1 root root 5604 Oct 23 14:31 installkey.gpg
drwxr-xr-x 5 root root 4096 Oct 23 14:31 lib
-rw-r--r-- 1 root root 257 Oct 23 14:31 linuxrc.config
drwxr-xr-x 2 root root 4096 Oct 23 14:31 mnt
lrwxrwxrwx 1 root root 38 Oct 23 14:31 modules -> lib/modules/2.6.18.2-34-default/initrd
drwxr-xr-x 2 root root 4096 Oct 23 14:31 mounts
drwxr-xr-x 2 root root 4096 Oct 23 14:31 proc
drwxr-xr-x 2 root root 4096 Oct 23 14:31 root
drwxr-xr-x 2 root root 4096 Oct 23 14:31 sbin
drwxr-xr-x 2 root root 4096 Oct 23 14:31 sys
drwxrwxrwt 2 root root 4096 Oct 23 14:31 tmp
drwxr-xr-x 7 root root 4096 Oct 23 14:31 usr
drwxr-xr-x 10 root root 4096 Oct 23 14:31 var


I thought of reading the init script here which I thought was having linuxrc to start the installation but


it was : ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), for GNU/Linux 2.6.4, stripped

which I could not read can any one tell me how can I read this script or if not then how can I make my own init script that starts for installation may be some where I can get a sample init that has linuxrc for installation


All times are GMT -5. The time now is 09:06 PM.