Fred, Assuming /dev/sdd is your CF drive.
# gunzip -c runnix.img.gz | dd of=/dev/sdd bs=16k No need to pre-partition the CF card, this blows away everything. And creates a 128M FAT16 bootable partition as part of the runnix image. Lonnie On Jan 22, 2008, at 10:16 AM, Fred wrote: > Lonnie > > Thanks for the precious infos, but you're using MacOSX and I'm > using Linux > CentOS so there are differences, and I also have a question below > about > how/whether to put a bootloader on the CF card. > > Here's what I understood I should do: > > ========= > 1. Download Darrick's Runnix image # wget > http://www.djhsolutions.com/astlinux/runnix.img.gz > > 2. Using fdisk, delete all partitions on the CF card, and create a > 128MB > FAT16 partition +128M ; t 6; a to make active/bootable ; w to write > > 3. Copy runnix.img.gz to the CF card: > > [EMAIL PROTECTED] tmp]# gzcat runnix.img.gz | dd of=/dev/sdd1 bs=16k > -bash: gzcat: command not found > 0+0 records in > 0+0 records out > 0 bytes (0 B) copied, 2.7798e-05 seconds, 0.0 kB/s > > So I tried this: > > [EMAIL PROTECTED] tmp]# gunzip -c runnix.img.gz > /dev/sdd1 bs=16k > gunzip: stdout: No space left on device > ^C > > So I tried this next: > > [EMAIL PROTECTED] tmp]# gunzip -c runnix.img.gz | dd of=/dev/sdd1 bs=16k > dd: writing `/dev/sdd1': No space left on device > ^C > ========= > > Obviously, I'm doing it wrong :-/ > > An extra question for good measure: When dd'ing an image to /dev/sdd > instead of /dev/sdd1, does it mean that the CF card has no > bootloader, so > that the single partition must be bootable/active for the BIOS to > use it? > Otherwise, where is the bootloader? > > Thank you. > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Astlinux-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > [EMAIL PROTECTED] > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
