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"?

The "dd" command I use is "dd if=disk.img of=/dev/<name of device>" ...

To get the "name of device" I will normally run the "fdisk -l" command to
see what device are available.  I use a USB reader/writer for my CF cards so
it normally returns the device as "/dev/sda1".  But I have also used an IDE
to CF adapter on the slave IDE channel which returns the device name
"/dev/hdb1".

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.

I have a peculiarity on my CentOS machine where it doesn't always
"autodetect" the CF card when I insert it into the USB reader.  Often I have
to reboot a couple times, pull the card and re-insert it, run "fdisk -l" a
couple times and sprinkle holy water on it.  Eventually it seems to find the
CF card and let me burn the image.  When it doesn't, I move the CF card to
the slave IDE channel and burn it that way.  This always works but requires
re-booting at each step of the burn.

I am sure this is an oddity that is unique to my workstation so I have not
bothered the list with this one.  But if this is common and someone has an
"idiot proof" technique for getting the workstation to always see the CF
card on insertion, I would sure like to hear it.

I hope these observations might prove helpful.

Thanks

G.Hendershot



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ingmar Schraub
Sent: Tuesday, August 29, 2006 1:43 PM
To: Discussion of AstLinux - Asterisk on Compact Flash
Subject: Re: [Astlinux-users] Quick rundown on the usageof mkimage.sh
anyone?

Hello Michael,

> FYI, I've combined and added this great info to the wiki at:
> 
> http://www.voip-info.org/wiki/view/AstLinux+Development+Environment

Great stuff! It's really great that someone picked up the topic
"documentation" :)

BTW, I just added two lines. One to provide a simple example how to do this
"cat" stuff. Secondly you should always run make menuconfig and specfiy the
correct target, select packages, etc.

cheers Ingmar
_______________________________________________
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]

_______________________________________________
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