[lkml]   [1997]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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...


// Alexandre Maret -- Linux : The choice of a GNU generation //
\\ -- \\

 \ /
  Last update: 2005-03-22 13:38    [W:0.030 / U:3.964 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site