[iyunv@instructormksd-new-14]# ./mksd-ti816x-sdx.sh /dev/sdc vfat/ rootfs/SD_rootfs.tar
All data on /dev/sdc now will be destroyed!Continue? [y/n]
y
[Partitioning /dev/sdc...]
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB) copied, 0.694147 s,1.5 MB/s
DISK SIZE - 7948206080 bytes
CYLINDERS - 966
Checking that no-one is using this diskright now ...
BLKRRPART: Device or resource busy
This disk is currently inuse - repartitioning is probably a bad idea.
Umount all file systems,and swapoff all swap partitions on this disk.
Use the --no-reread flagto suppress this check.
Use the --force flag tooverrule all checks.
[Makingfilesystems...]
[Copying files...]
[Done]
[iyunv@instructormksd-new-14]# umount /dev/sdc1
[iyunv@instructormksd-new-14]# umount /dev/sdc2
[iyunv@instructormksd-new-14]# ./mksd-ti816x-sdx.sh /dev/sdc vfat/ rootfs/SD_rootfs.tar
All data on /dev/sdc now will be destroyed!Continue? [y/n]
y
[Partitioning /dev/sdc...]
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB) copied, 0.983607 s,1.1 MB/s
DISK SIZE - 7948206080 bytes
CYLINDERS - 966
Checking that no-one is using this diskright now ...
OK
Disk /dev/sdc: 966 cylinders, 255 heads, 63sectors/track
/dev/sdc: unrecognized partition table type
Old situation:
No partitions found
New situation:
Units = cylinders of 8225280 bytes, blocksof 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sdc1 * 0+ 8 9- 72261 c W95 FAT32 (LBA)
/dev/sdc2 9 965 957 7687102+ 83 Linux
/dev/sdc3 0 - 0 0 0 Empty
/dev/sdc4 0 - 0 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
If you created or changed a DOS partition,/dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
[Making filesystems...]
[Copying files...]
[Done]