dd command on a compact flash

2011-04-20 Thread OpenBSD Geek
Hi, 

I prepared a file : "disk.image"(4GB sectors as my compact flash) ...
doing
it using dd/vnconfig/fdisk/disklabel/newfs/instalboot steps. 

(I followed this : http://glozer.net/soekris/cf-install.html) 

disk.image contain OpenBSD system 4.8-stable 

Now i want to put it on my compact flash (4GB 133x) using : dd
if=disk.image of=/dev/rsd0c bs=512 ; doing it, process(top command ; 100%
IDLE) dd STATE is "SLEEP", and take a long time... doesn't finish. 

Any idea ? 

Thank you very much !



Re: dd command on a compact flash

2011-04-20 Thread Jan Stary
On Apr 20 20:48:58, OpenBSD Geek wrote:
> Hi, 
> 
> I prepared a file : "disk.image"(4GB sectors as my compact flash) ...
> doing
> it using dd/vnconfig/fdisk/disklabel/newfs/instalboot steps. 
> 
> (I followed this : http://glozer.net/soekris/cf-install.html) 
> 
> disk.image contain OpenBSD system 4.8-stable 
> 
> Now i want to put it on my compact flash (4GB 133x) using : dd
> if=disk.image of=/dev/rsd0c bs=512 ; doing it, process(top command ; 100%
> IDLE) dd STATE is "SLEEP", and take a long time... doesn't finish. 
> 
> Any idea ? 
> 
> Thank you very much !

Why don't you just install on the CF directly?
http://www.openbsd.org/faq/faq14.html#flashmemBoot

Oh, it's him ...



Re: dd command on a compact flash

2011-04-20 Thread Ted Unangst
Use a larger block size. 

On Apr 20, 2011, at 12:48 PM, OpenBSD Geek  wrote:

> Hi, 
> 
> I prepared a file : "disk.image"(4GB sectors as my compact flash) ...
> doing
> it using dd/vnconfig/fdisk/disklabel/newfs/instalboot steps. 
> 
> (I followed this : http://glozer.net/soekris/cf-install.html) 
> 
> disk.image contain OpenBSD system 4.8-stable 
> 
> Now i want to put it on my compact flash (4GB 133x) using : dd
> if=disk.image of=/dev/rsd0c bs=512 ; doing it, process(top command ; 100%
> IDLE) dd STATE is "SLEEP", and take a long time... doesn't finish. 
> 
> Any idea ? 
> 
> Thank you very much !



Re: dd command on a compact flash

2011-04-20 Thread Bahador NazariFard
Hi
I think dd is not a good solution for you.
I suggest you visiting this link.
 http://www.nmedia.net/flashdist/flashdist-20090216.tar.gz

 flashdist.sh and growimg.sh in this package are very very usefull for you.
you can write your new script ;)



You should read  and save partition table
Then you can careate a new
On Wed, Apr 20, 2011 at 9:18 PM, OpenBSD Geek wrote:

> Hi,
>
> I prepared a file : "disk.image"(4GB sectors as my compact flash) ...
> doing
> it using dd/vnconfig/fdisk/disklabel/newfs/instalboot steps.
>
> (I followed this : http://glozer.net/soekris/cf-install.html)
>
> disk.image contain OpenBSD system 4.8-stable
>
> Now i want to put it on my compact flash (4GB 133x) using : dd
> if=disk.image of=/dev/rsd0c bs=512 ; doing it, process(top command ; 100%
> IDLE) dd STATE is "SLEEP", and take a long time... doesn't finish.
>
> Any idea ?
>
> Thank you very much !
>
>


-- 
Gula_Gula =;=; BNF