Gary G. Hendershot wrote:
> I kind of know how to use "cat" but have been successfully pushing my images
> to media using the "dd" command.  Then again, I still use rotary dial
> phones.  Has there been a discussion of the pros/cons?  "dd" seems to work
> for me, is there a compelling argument to switch to "cat"?
>   
Either will work fine.  You shouldn't write to the individual partition 
though.  You'd want to write to the entire device.  eg. instead of 
/dev/sda1 use /dev/sda.  If you keep the disk image the same size, it 
shouldn't matter, but if you modify the disk size (say 64mb instead of 
48mb) then you'll have issues if you use existing partitions on the CF.  
That's probably more why you have issues rather than makeimage.sh (see 
more below)
> I have also found that when running "makeimage.sh" it seems to work more
> reliably if any pre-existing partitions are first removed from the CF card
> using "fdisk".  To do this, I run "fdisk /dev/<name of device>".  Then
> select "d" to delete a partition.  Normally, there is only a single
> partition so fdisk removes partition "1" by default.  I then select "w" to
> write the changes.
>   
makeimage.sh does not write directly to the CF card.  If you use it the 
way it is designed, it writes to a loopback device and copies the output 
to disk.img.  You then write the disk.img to your device of choice (CF, 
usb etc).  makeimage.sh does not care what is on your CF card.  Any 
reliability issues you're seeing are unrelated to what is on your CF card.

Darrick

-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com

_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to