Thang,

# mkdir /tmp/initrd
# cd /tmp/initrd
# cp /boot/initrd-2.6.16.60-0.58.1.-default /tmp/initrd/initrd.cpio.gz
# gunzip initrd.cpio.gz
# file initrd.cpio
initrd.cpio: ASCII cpio archive (SVR4 with no CRC)
# cpio -icduv < /tmp/initrd/initrd.cpio
# ls
bin  dev  etc  init  initrd.cpio  lib  lib64  proc  root  sbin  sys  tmp
var
# file init
init: Bourne-Again shell script text
                                                                       
                                                                       
                                                                       
 Mike O'Reilly                                                         
 IBM Linux Change Team                                                 
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       





                                                                       
             Thang                                                     
             Pham/Poughkeepsie                                         
             /i...@ibmus                                                 To
             Sent by: Linux on         [email protected]         
             390 Port                                                   cc
             <[email protected]                                         
             ist.edu>                                              Subject
                                       ramdisk init script             
                                                                       
             05/10/2010 01:39                                          
             PM                                                        
                                                                       
                                                                       
             Please respond to                                         
             Linux on 390 Port                                         
             <[email protected]                                         
                 ist.edu>                                              
                                                                       
                                                                       




Is there a way to view the contents of the init script contain within the
ramdisk (initrd)?  I tried to view it, but it is not readable and looks to
be encrypted or something.  I viewed the init script found in the SLES 10.3
DVD1.

Thanks,
---------------------------------
Thang Pham
IBM Poughkeepsie
---------------------------------

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

<<inline: ecblank.gif>>

<<inline: graycol.gif>>

<<inline: pic07187.gif>>

Reply via email to