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, the image is a file on the file system on the cdrom. The cdrom
needs to be mounted so linux can access the files on the cdrom.
> mount -t ext2 /dev/fd0 /floppy
No. The image contains the file system that should go on the floppy,
and needs to be copied to the raw floppy device.
> dd if =/dev/hdb/bare.i of=/dev/fd0
> dd if=/dev/hdb/color.gz of=/dev/fd0
No. You have just mounted the cdrom device /dev/hdb on the directory
/cdrom. All the files on the cdrom's file system are now visible under
/cdrom, so you need to do
dd if=/cdrom/bare.i of=/dev/fd0
[ insert another floppy in the drive ]
dd if=/cdrom/color.gz of=/dev/fd0
You will probably need root permission to do this, or be a member of the
disk group.
HTH,
Eric Meijer
--
E.L. Meijer (tgakem@chem.tue.nl) | tel. office +31 40 2472189
Eindhoven Univ. of Technology | tel. lab. +31 40 2475032
Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax +31 40 2455054
Reply to: