Re: dd questions

2007-03-14 Thread Gordon Turner
> And I want to rip out just "a" to write to another disk. First, its > imperative to have the fdisk setup correctly, though for a flash device, > creating a whole partition on 3 works well, (fdisk -e sd0, e 3, A6, > follow prompts). > > Once you've got your partition created, remember to dd out

Re: dd questions

2007-03-13 Thread Mike Lockhart
=-= -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Turner Sent: Tuesday, March 13, 2007 2:44 PM To: [EMAIL PROTECTED] Cc: OpenBSD misc mailing list Subject: Re: dd questions On Tue, 13 Mar 2007 20:11:24 +0200, [EMAIL PROTECTED] wrote: > On Tu

Re: dd questions

2007-03-13 Thread Gordon Turner
On Tue, 13 Mar 2007 20:11:24 +0200, [EMAIL PROTECTED] wrote: > On Tue, Mar 13, 2007 at 01:31:53PM -0400, Gordon Turner wrote: >> I have three questions for the dd savants out there, consider an image > being dd'd that is created with a dd statement like: >> >> dd if=/dev/zero of=imageFileName.img b

Re: dd questions

2007-03-13 Thread Gordon Turner
On Tue, 13 Mar 2007 14:09:09 -0400, "Nick !" <[EMAIL PROTECTED]> wrote: >> Then the step that I was asking about was actually dd'ing the > imageFile.img to the sd0 device. >> >> ie, which of these is correct: >> >> dd if=imageFileName.img of=/dev/rsd0c >> or >> dd if=imageFileName.img of=/dev/rsd0a

Re: dd questions

2007-03-13 Thread a . velichinsky
On Tue, Mar 13, 2007 at 01:31:53PM -0400, Gordon Turner wrote: > I have three questions for the dd savants out there, consider an image being > dd'd that is created with a dd statement like: > > dd if=/dev/zero of=imageFileName.img bs=512 count=1014049 It's quite silly to fill up your disk will

Re: dd questions

2007-03-13 Thread Nick !
On 3/13/07, Gordon Turner <[EMAIL PROTECTED]> wrote: dd if=/dev/zero of=imageFile.img bs=512 count=${SECTORCOUNT} vnconfig -c svnd0 imageFile.img fdisk -c ${CYLINDERS} -h ${HEADS} -s ${SECTORSPERTRACK} -f /usr/mdec/mbr -e svnd0 disklabel -E svnd0 newfs -S 512 -u ${SECTORSPERTRACK} -z ${HEADS} -

Re: dd questions

2007-03-13 Thread Gordon Turner
On Tue, 13 Mar 2007 13:41:43 -0400, "Nick !" <[EMAIL PROTECTED]> wrote: > On 3/13/07, Gordon Turner <[EMAIL PROTECTED]> wrote: >> I have three questions for the dd savants out there, consider an image > being dd'd that is created with a dd statement like: >> >> dd if=/dev/zero of=imageFileName.img

Re: dd questions

2007-03-13 Thread Nick !
On 3/13/07, Gordon Turner <[EMAIL PROTECTED]> wrote: I have three questions for the dd savants out there, consider an image being dd'd that is created with a dd statement like: dd if=/dev/zero of=imageFileName.img bs=512 count=1014049 and then mounted and prepared to be a fully functioning boo

dd questions

2007-03-13 Thread Gordon Turner
I have three questions for the dd savants out there, consider an image being dd'd that is created with a dd statement like: dd if=/dev/zero of=imageFileName.img bs=512 count=1014049 and then mounted and prepared to be a fully functioning boot drive and unmounted. Question 1. Writing this ima