Hi Friends,
We have 8GB SD Card of Transcend.
When running sudo ./mkmmc-android.sh /dev/sdb1 and we are having problem and SD Card. It going to corrupt and getting error like disk doeesnt contain a valid partition table.
Problem with "dd if=/dev/zero of=$DRIVE bs=1024 count=1024 &>/dev/null" command which is in mkmmc-android.sh file. After run this command we are having error like "Disk /dev/sdb1 doesn't contain a valid partition table". I have run it manualy in command line.
So what may be problem?
Terminal Log as follows:
btam@btam-desktop:/home/TI_Android_GingerBread_2.3_DevKit_2.0/Prebuilt_Images/AM389X_TI816X$ sudo ./mkmmc-android.sh /dev/sdb1
Assuming Default Locations for Prebuilt Images
All data on /dev/sdb1 now will be destroyed! Continue? [y/n]
y
[Unmounting all existing partitions on the device ]
umount: /dev/sdb1: not mounted
[Partitioning /dev/sdb1...]
Disk /dev/sdb1 doesn't contain a valid partition table
DISK SIZE - 7947157504 bytes
CYLINDERS - 966
[Making filesystems...]
[Copying files...]
mount: special device /dev/sdb1p1 does not exist
[Copying START_HERE floder to boot partition]
umount: /dev/sdb1p1: not found
mount: special device /dev/sdb1p2 does not exist
umount: /dev/sdb1p2: not found
[Copying all clips to data partition]
mount: special device /dev/sdb1p3 does not exist
umount: /dev/sdb1p3: not found
[Done]
btam@btam-desktop:/home/TI_Android_GingerBread_2.3_DevKit_2.0/Prebuilt_Images/AM389X_TI816X$
Manualy Run dd command:
btam@btam-desktop:/home/TI_Android_GingerBread_2.3_DevKit_2.0/Prebuilt_Images/AM389X_TI816X$ sudo dd if=/dev/zero of=/dev/sdb1 bs=1024 count=1024 &>/dev/nullbtam@btam-desktop:/home/TI_Android_GingerBread_2.3_DevKit_2.0/Prebuilt_Images/AM389X_TI816X$ sudo fdisk -l /dev/sdb1
Disk /dev/sdb1: 7947 MB, 7947157504 bytes
245 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 15190 * 512 = 7777280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdb1 doesn't contain a valid partition table
btam@btam-desktop:/home/TI_Android_GingerBread_2.3_DevKit_2.0/Prebuilt_Images/AM389X_TI816X$ sudo ./mkmmc-android.sh /dev/sdb1
Kindly waiting for your reply.
Thanks
Ramesh Khokhani