[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rawrite for linux



> Jonathan Sprague dixit:
> > 
> > 
> > dd if=FILE.EXT of=/dev/fd0 (for floppy a:)
> 
> say I want to make an image of Slackware's boot & root disks from my cdrom
> to the floppy, would it be as follows?:
> 
> mount -t iso9660 /dev/hdb /cdrom
Yes, assuming you have an IDE cdrom as a slave on the first controller
> mount -t ext2 /dev/fd0 /floppy
No, don't mount the floppy drive.  Doing this will cause
the next commands to fail because the floppy is mounted.
> 
> dd if =/dev/hdb/bare.i of=/dev/fd0
Almost, but you can't use /dev/hdb.  Use /cdrom where you mounted it, i.e.
dd if=/cdrom/bare.i
> 
> dd if=/dev/hdb/color.gz of=/dev/fd0
Again, use cdrom instead of dev/hdb
dd if=/cdrom/color.gz of=/dev/fd0

This is assuming that "bare.i" and "color.gz" are disk image files.
I guess from the name that the color.gz thing is a gzipped file,
you will probably want to gunzip it first.

Helge Hafting


Reply to: