[OLUG] dd

Chad S. Lauritsen csl at plconline.com
Tue Apr 18 17:09:28 UTC 2000


you couldn't just 'dd' the iso image to a windows partition...but you
could mount the image as a filesystem...

say you have an iso image: /tmp/windowsdrive.img

and a windows-vfat-formatted partition mounted at /windows

you mount the image as to the /mnt dir of your root filesystem (so you
can access via 'cp')

mount -t iso9660 -o loop /tmp/windowsdrive.img /mnt

Then, copy your files:
cd /mnt
cp -R * /windows



mesc wrote:
> 
> I don't have a cd burner yet,could I keep the iso on my hd and if so how
> could I put it back on /dev/hda1 like it was originally?Just copy it back?
> 
> Thank you,Gary Martin.
> 
> brian at bstc.net wrote:
> 
> > just make it an iso file image.... `man mkisofs`
> >
> > that way, you can just write it to a cd instead of your hd.
> >
> > -----Original Message-----
> > From: mescie [mailto:mescie at home.com]
> > Sent: Tuesday, April 18, 2000 11:20 AM
> > To: olug
> > Cc: mescie
> > Subject: FW: [OLUG] dd
> >
> > I think when I try dd it tries to copy the whole /dev/hda1(2.0 GB
> > instead of just it's contents,the win dir(672 MB)I've tried the size
> > option (ibs&obs)in the dd man page but I must be doing something
> > wrong.How can I use dd to copy just my win dir on /dev/hda1 not the
> > whole partition?
> >
> >                 Thank you,Gary Martin.
> >
> > ------------------------------------------------------------------------
> > -
> > Sent by OLUG Mailing list Manager, run by ezmlm.  http://olug.bstc.net/
> > To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net`
> 
> -------------------------------------------------------------------------
> Sent by OLUG Mailing list Manager, run by ezmlm.  http://olug.bstc.net/
> To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net`

-- 
* Chad S. Lauritsen, Systems Administrator                       *
* Perfection Learning Corporation                                *
* 1000 North Second Avenue, Logan, IA 51546 712.644.2831 x 223   *
"Out of the overflow of the heart, the mouth speaks." --Jesus

-------------------------------------------------------------------------
Sent by OLUG Mailing list Manager, run by ezmlm.  http://olug.bstc.net/ 
To unsubscribe: `echo unsubsribe | mail olug-unsubscribe at bstc.net` 



More information about the OLUG mailing list