At 10:34 22/01/2008 -0600, Lonnie Abelbeck wrote:
># 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.
Ah, much better, but why can't I mount /dev/sdd1 once dd is through copying
the image? Notice the "dd: writing `/dev/sdd': No space left on device" I get:
=======
[EMAIL PROTECTED] tmp]# fdisk /dev/sdd
Command (m for help): p
Disk /dev/sdd: 1024 MB, 1024966656 bytes
16 heads, 63 sectors/track, 1986 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 249 125464+ 6 FAT16
Command (m for help): d
Selected partition 1
Command (m for help): p
Disk /dev/sdd: 1024 MB, 1024966656 bytes
16 heads, 63 sectors/track, 1986 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[EMAIL PROTECTED] tmp]# gunzip -c runnix.img.gz | dd of=/dev/sdd bs=16k
dd: writing `/dev/sdd': No space left on device
62560+0 records in
62559+0 records out
1024966656 bytes (1.0 GB) copied, 179.36 seconds, 5.7 MB/s
[EMAIL PROTECTED] tmp]# fdisk -l /dev/sdd
Disk /dev/sdd: 1024 MB, 1024966656 bytes
32 heads, 63 sectors/track, 993 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 125 125968+ 6 FAT16
[EMAIL PROTECTED] tmp]# mkdir /mnt/cf
[EMAIL PROTECTED] tmp]# mount /dev/sdd1 /mnt/cf
mount: special device /dev/sdd1 does not exist
[EMAIL PROTECTED] tmp]# mount -t vfat /dev/sdd1 /mnt/cf
mount: special device /dev/sdd1 does not exist
[EMAIL PROTECTED] tmp]# mount /dev/sdd /mnt/cf
mount: you must specify the filesystem type
[EMAIL PROTECTED] tmp]# mount -t vfat /dev/sdd /mnt/cf
mount: wrong fs type, bad option, bad superblock on /dev/sdd,
missing codepage or other error
=======
Thanks.
-------------------------------------------------------------------------
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]