06-28-2011
That would have worked if your kernel was earlier than 2.6.30. The clue is bzImage. Have a look at a script called extract-ikconfig which you can find at kernel.org and elsewhere on the Internet. It does other things besides extracting a bzImage kernel but if you read the script, it extracts the kernel image to a temporary file for other purposes. You can modify this script to do what you want.
This User Gave Thanks to fpmurphy For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear friends, i'm trying to uncompress an "...... tar.z" file.
I'd readen that using the "uncompress" command it could be made but............... God! I can't!!!!!
I tried a lot of times using the Terminal but the uncompress command doesn't obeys!!! :):) .
Please i need to know how to... (3 Replies)
Discussion started by: gussiglo21
3 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I have compressed a file in windows platform using 7zip into tar.z format. I try to uncompress in Unix using uncompress command. It doesn't work. Can anyone tell me wether there is any tools I can use in windows to generate a Tar.Z file which can be uncompress in unix.
From
Icestone (1 Reply)
Discussion started by: icestone
1 Replies
3. UNIX for Dummies Questions & Answers
I did an ftp to copy a tar file from a main server area to the backup server area. I need to get that tar file to uncompress it in backup server. How do I go about it.
Please any suggesstion will be greatly appreciated (1 Reply)
Discussion started by: nkem22
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Can any one give me the shell command to rename more than one files to .Z extension in a directoy or path.
As well as how can i uncompress a whole directory with a single shell command?
rEgards,
Tayyab (5 Replies)
Discussion started by: tayyabq8
5 Replies
5. Programming
When I gzopen & gzread from a gzip file, it works OK. But I when I try to uncompress the same data from memory (either by reading to memory with fread or mmap()ing) using decompress, I get Z_DATA_ERROR. Is it because gzip file has some kind of headers that uncompress doesn't want?
How can I get... (3 Replies)
Discussion started by: rayne
3 Replies
6. UNIX for Advanced & Expert Users
Hi All,
is it possible to uncompress on another directory ? At the moment I have my file to uncompress on /u07 that has 5GB free. When uncompressed it would be more then 6G , I want to send uncompressed file on another directory where I have more free space. is it possible ? How ?
Many thanks... (3 Replies)
Discussion started by: big123456
3 Replies
7. UNIX for Advanced & Expert Users
on my suse linux, there is no compress and uncompress command. however, a program need these command to be installed properly. my question is how i can install these command and where to find them, thanks! (6 Replies)
Discussion started by: fredao
6 Replies
8. UNIX for Advanced & Expert Users
Hi all,
I try to run command:
$ crash -s System.map-2.6.11-1.1369_FC4 vmlinuz-2.6.11-1.1369_FC4
in my Fedora core 4, but it do not work :(
"crash: vmlinuz-2.6.11-1.1369_FC4: not support a file format?"
can anyone explain to me how to use crash command in fedora? (1 Reply)
Discussion started by: kholostoi
1 Replies
9. Shell Programming and Scripting
Hi,
I am restoring the database backup using compress utility(/usr/bin/compress) which takes around 1 hour.For restoration i use uncompress utility(/usr/bin/uncompress) which is taking nearly 6-7 hours.Can someone let me know how to reduce this time.I have pasted below the line from script... (2 Replies)
Discussion started by: santtarius
2 Replies
10. Solaris
I've downloaded the tomcat from http://archive.apache.org/dist/jakarta/tomcat-5/v5.0.30/bin/
at window 2000 and then ftp to Solaris 5.9 in binary mode.
gunzip -c jakarta-tomcat-5.0.30.tar.gz | tar -xvf -
tar: directory checksum error
if try this one,
gzip -d jakarta-tomcat-5.0.30.tar.gz... (2 Replies)
Discussion started by: sbox
2 Replies
DDB(8) BSD System Manager's Manual DDB(8)
NAME
ddb -- configure DDB kernel debugger properties
SYNOPSIS
ddb capture [-M -core] [-N -system] print
ddb capture [-M -core] [-N -system] status
ddb script scriptname
ddb script scriptname=script
ddb scripts
ddb unscript scriptname
ddb pathname
DESCRIPTION
The ddb utility configures certain aspects of the ddb(4) kernel debugger from user space that are not configured at compile-time or easily
via sysctl(8) MIB entries.
To ease configuration, commands can be put in a file which is processed using ddb as shown in the last synopsis line. An absolute pathname
must be used. The file will be read line by line and applied as arguments to the ddb utility. Whitespace at the beginning of lines will be
ignored as will lines where the first non-whitespace character is '#'.
OUTPUT CAPTURE
The ddb utility can be used to extract the contents of the ddb(4) output capture buffer of the current live kernel, or from the crash dump of
a kernel on disk. The following debugger commands are available from the command line:
capture [-M core] [-N system] print
Print the current contents of the ddb(4) output capture buffer.
capture [-M core] [-N system] status
Print the current status of the ddb(4) output capture buffer.
SCRIPTING
The ddb utility can be used to configure aspects of ddb(4) scripting from user space; scripting support is described in more detail in
ddb(4). Each of the debugger commands is available from the command line:
script scriptname
Print the script named scriptname.
script scriptname=script
Define a script named scriptname. As many scripts contain characters interpreted in special ways by the shell, it is advisable to
enclose script in quotes.
scripts
List currently defined scripts.
unscript scriptname
Delete the script named scriptname.
EXIT STATUS
The ddb utility exits 0 on success, and >0 if an error occurs.
EXAMPLES
The following example defines a script that will execute when the kernel debugger is entered as a result of a break signal:
ddb script kdb.enter.break="show pcpu; bt"
The following example will delete the script:
ddb unscript kdb.enter.break
For further examples, see the ddb(4) and textdump(4) manual pages.
SEE ALSO
ddb(4), textdump(4), sysctl(8)
HISTORY
The ddb utility first appeared in FreeBSD 7.1.
AUTHORS
Robert N M Watson
BUGS
Ideally, ddb would not exist, as all pertinent aspects of ddb(4) could be configured directly via sysctl(8).
BSD
December 24, 2008 BSD