ClarkChen633 / rowboat

Automatically exported from code.google.com/p/rowboat
0 stars 0 forks source link

porting android on beaglexm , partition sdcard issue #172

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

hi iam porting android ICS on beaglexm 

while running the script file i got the following error

raj@raj-Inspiron-N5040:~/beagleboard-xm$ sudo ./mkmmc-android.sh 
/dev/sdb1[sudo] password for raj: 
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 - 3960995840 bytes
CYLINDERS - 481
[Making filesystems...]
[Copying files...]
mount: special device /dev/sdb11 does not exist
[Copying START_HERE floder to boot partition]
umount: /dev/sdb11: not found
mount: special device /dev/sdb12 does not exist
umount: /dev/sdb12: not found
[Copying all clips to data partition]
mount: special device /dev/sdb13 does not exist
umount: /dev/sdb13: not found
[Done]

when i run df mand it is not able to show the partition 
i think the sd card is unmounted?   let me know how can i able to see it apart 
from dmesg command
i tryed with fdisk -l  it gave the following output
raj@raj-Inspiron-N5040:~/beagleboard-xm$ sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5e5903a7

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *      206848    30926847    15360000    7  HPFS/NTFS/exFAT
/dev/sda2        30926848   346208255   157640704    7  HPFS/NTFS/exFAT
/dev/sda3       346208256   661489663   157640704    7  HPFS/NTFS/exFAT
/dev/sda4       661489664   724578887    31544612   83  Linux

Disk /dev/sdb: 3965 MB, 3965190144 bytes
49 heads, 48 sectors/track, 3292 cylinders, total 7744512 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            8192     7744511     3868160    b  W95 FAT32
raj@raj-Inspiron-N5040:~/beagleboard-xm$ fdisk -l /dev/sdb
Cannot open /dev/sdb
raj@raj-Inspiron-N5040:~/beagleboard-xm$ fdisk -l /dev/sdb1
Cannot open /dev/sdb1
raj@raj-Inspiron-N5040:~/beagleboard-xm$ fdisk -l /dev/sdb
Cannot open /dev/sdb
raj@raj-Inspiron-N5040:~/beagleboard-xm$ fdisk -l 
raj@raj-Inspiron-N5040:~/beagleboard-xm$ sudo fdisk -l 

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5e5903a7

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *      206848    30926847    15360000    7  HPFS/NTFS/exFAT
/dev/sda2        30926848   346208255   157640704    7  HPFS/NTFS/exFAT
/dev/sda3       346208256   661489663   157640704    7  HPFS/NTFS/exFAT
/dev/sda4       661489664   724578887    31544612   83  Linux

Disk /dev/sdb: 3965 MB, 3965190144 bytes
49 heads, 48 sectors/track, 3292 cylinders, total 7744512 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            8192     7744511     3868160    b  W95 FAT32

i run this on Ubuntu 11.10

i want an immediate help..

reg
rajkumar

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by rajku...@clitetechnologies.com on 18 Dec 2012 at 9:53

GoogleCodeExporter commented 9 years ago
Your command does not look right. You seem to be populating sdcard partition 
insted of the sdcard drive itself:
~/beagleboard-xm$ sudo ./mkmmc-android.sh /dev/sdb1

Try with sudo ./mkmmc-android.sh /dev/sdb
Of course, this assumes that your sdcard device is /dev/sdb

Original comment by vishvesh...@aim.com on 19 Dec 2012 at 5:58

GoogleCodeExporter commented 9 years ago

Original comment by vishvesh...@aim.com on 29 Jun 2013 at 5:05