LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-23-2007, 04:02 AM   #1
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Rep: Reputation: 39
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to symbolic-link boot/initrd.img-2.6.18-4-486 to initrd.img Scotteh Linux - Software 8 06-01-2007 11:24 PM
what are the ports opened? ZAMO Linux - Networking 2 05-10-2007 05:49 AM
what happens to my mozilla? it can't be opened sometimes,why chuanweizuo Red Hat 4 03-06-2005 08:44 AM
Opened Recent mike35 Linux - Newbie 1 11-07-2003 12:00 AM
Which ports should be opened? ivanatora Linux - Security 8 09-28-2003 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration