lkml.org 
[lkml]   [1997]   [Jan]   [11]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 11 Jan 1997 22:06:57 +0100
FromAlexandre Maret <>
SubjectRe: copy zImage _from_ floppy to disk
Steve Cahill wrote:
> 
> I seemed to have misplaced my zImage, but have it on the (simple) boot
> floppy.
> 
> How can one use 'dd' to copy the boot zImage from the floppy to disk?

dd if=/dev/fd0 of=/zImage bs=1024 count=450

This is assuming that the kernel image is smaller than
450k (simple assumption). This will create a file bigger
than needed, but will work. I think that you could find
out the exact size of the kernel, but I'd have to look
at the sources...

  alex

-- 
\\-----------------------------------------------------------\\
// Alexandre Maret -- Linux : The choice of a GNU generation //
\\ amaret@infomaniak.ch -- http://www.infomaniak.ch/~amaret  \\
//-----------------------------------------------------------//
\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.135 / U:0.120 seconds]
©2003-2008 Jasper Spaans