All pastes #868221 Raw Edit

Stuff

public text v1 · immutable
#868221 ·published 2008-01-22 07:42 UTC
rendered paste body
Copying the image to the CF with with dd (Note: the CF card already had a Linux partition as /dev/sdd1 that I didn't delete before dd)

[root@centos astlinux-trunk]# ll
total 211848
drwxrwxr-x  11 compile     4096 Jan 22 08:26 .
drwx------   4 compile     4096 Jan 22 07:45 ..
-rw-rw-r--   1 compile    11048 Jan 22 06:54 astlinux.config
-rw-rw-r--   1 compile 31078400 Jan 22 08:23 astlinux.iso
-rw-rw-r--   1 compile     8564 Jan 22 06:54 astlinux-openser.config
drwxrwxr-x   2 compile     4096 Jan 22 08:21 astlinux-trunk-1540
-rw-rw-r--   1 compile 25372480 Jan 22 08:21 astlinux-trunk-1540.tar.gz
-rw-rw-r--   1 compile       69 Jan 22 08:21 astlinux-trunk-1540.tar.gz.sha1
drwxrwxr-x  79 compile     4096 Jan 22 08:23 build_i586
-rwxrwxr-x   1 compile    12368 Jan 22 06:54 bximage
-rw-r--r--   1 root         638 Jan 22 08:26 bximage.out
-rw-rw-r--   1 compile    11096 Jan 22 06:57 .config
-rw-rw-r--   1 compile     6322 Jan 22 06:57 .config.cmd
-rw-rw-r--   1 compile     5955 Jan 22 06:54 Config.in
-rw-rw-r--   1 compile    11161 Jan 22 06:55 .config.old
-rw-r--r--   1 root    67092480 Jan 22 08:26 disk.img
drwxrwxr-x   3 compile    12288 Jan 22 08:23 dl
drwxrwxr-x   4 compile     4096 Jan 22 06:53 docs
-rw-rw-r--   1 compile    12277 Jan 22 06:54 gumstix.config
-rw-rw-r--   1 compile   188309 Jan 22 08:20 initrd.img.gz
-rw-rw-r--   1 compile     6189 Jan 22 06:54 Makefile
-rwxrwxr-x   1 compile     3479 Jan 22 06:54 makeimage.sh
drwxrwxr-x 196 compile     4096 Jan 22 06:54 package
-rw-rw-r--   1 compile 82907136 Jan 22 08:20 rootfs.i586.ext2
-rwx------   1 compile 25251840 Jan 22 08:21 rootfs.i586.squashfs
drwxrwxr-x   6 compile     4096 Jan 22 06:54 .svn
drwxrwxr-x  18 compile     4096 Jan 22 06:53 target
drwxrwxr-x  13 compile     4096 Jan 22 06:53 toolchain
drwxrwxr-x  18 compile     4096 Jan 22 08:20 toolchain_build_i586

[root@centos astlinux-trunk]# fdisk -l

Disk /dev/sda: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4844    38909398+  83  Linux
/dev/sda2            5100       20023   119877030    f  W95 Ext'd (LBA)
/dev/sda3            4845        5099     2048287+  82  Linux swap / Solaris
/dev/sda5            5100       20023   119876998+   7  HPFS/NTFS

Partition table entries are not in disk order

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         993     1000912+  83  Linux

[root@centos astlinux-trunk]# dd if=disk.img of=/dev/sdd
131040+0 records in
131040+0 records out
67092480 bytes (67 MB) copied, 29.7023 seconds, 2.3 MB/s

[root@centos astlinux-trunk]# sync
[root@centos astlinux-trunk]# sync

[root@centos astlinux-trunk]# fdisk -l

Disk /dev/sda: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4844    38909398+  83  Linux
/dev/sda2            5100       20023   119877030    f  W95 Ext'd (LBA)
/dev/sda3            4845        5099     2048287+  82  Linux swap / Solaris
/dev/sda5            5100       20023   119876998+   7  HPFS/NTFS

Partition table entries are not in disk order

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         130       65488+  83  Linux