07-12-2017, 03:50 PM
I've written the disk image to an SD card, but I have been unable to mount it under Ubuntu 16.04.
Looking at the disk image, I noticed that the the first 32KB is all zero - there's no partition table.
What is the structure of this disk image, and how can I mount the filesystems under Linux?
$ cat 20170511-tinker-board-android-marshmallow-userdebug-v13.11.0.4.img | xxd | head -3000
00000000: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
...
00007f50: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007f60: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007f70: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007f80: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007f90: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007fa0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007fb0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007fc0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007fd0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007fe0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007ff0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00008000: 3b8c dcfc be9f 9d51 eb30 34ce 2451 1b98 ;......Q.04.$Q..
00008010: ff0c f236 0550 c8bb 3fec ddbd 0685 fab7 ...6.P..?.......
00008020: b3ab 6aea c868 e008 ad9d 6f9c 3c98 b08c ..j..h....o.<...
00008030: 4513 541c 1d1b 1f15 a7f1 f00b e34e 0cc7 E.T..........N..
00008040: 6096 016a b5f0 e2c1 50c6 249e 12f7 588e `..j....P.$...X.
00008050: 40b9 b7be 8bfa 25dd 74d7 6f59 467e 1341 @.....%.t.oYF~.A
00008060: eefd f591 39bc 7495 253c 1ae1 f157 3005 ....9.t.%<...W0.
00008070: caf8 729a 1be6 9d26 355d 812b 2b93 bd01 ..r....&5].++...
00008080: 3a54 0ca1 4b11 0698 a191 194a 4e92 301a :T..K......JN.0.
00008090: f2b2 d5ae 596c 9e96 fdf4 ffa4 88e3 9f87 ....Yl..........
000080a0: 496c 3a76 6d3d 1aac 1e77 0a5e ff92 5261 Il:vm=...w.^..Ra
Looking at the disk image, I noticed that the the first 32KB is all zero - there's no partition table.
What is the structure of this disk image, and how can I mount the filesystems under Linux?
$ cat 20170511-tinker-board-android-marshmallow-userdebug-v13.11.0.4.img | xxd | head -3000
00000000: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
...
00007f50: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007f60: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007f70: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007f80: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007f90: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007fa0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007fb0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007fc0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007fd0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007fe0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00007ff0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00008000: 3b8c dcfc be9f 9d51 eb30 34ce 2451 1b98 ;......Q.04.$Q..
00008010: ff0c f236 0550 c8bb 3fec ddbd 0685 fab7 ...6.P..?.......
00008020: b3ab 6aea c868 e008 ad9d 6f9c 3c98 b08c ..j..h....o.<...
00008030: 4513 541c 1d1b 1f15 a7f1 f00b e34e 0cc7 E.T..........N..
00008040: 6096 016a b5f0 e2c1 50c6 249e 12f7 588e `..j....P.$...X.
00008050: 40b9 b7be 8bfa 25dd 74d7 6f59 467e 1341 @.....%.t.oYF~.A
00008060: eefd f591 39bc 7495 253c 1ae1 f157 3005 ....9.t.%<...W0.
00008070: caf8 729a 1be6 9d26 355d 812b 2b93 bd01 ..r....&5].++...
00008080: 3a54 0ca1 4b11 0698 a191 194a 4e92 301a :T..K......JN.0.
00008090: f2b2 d5ae 596c 9e96 fdf4 ffa4 88e3 9f87 ....Yl..........
000080a0: 496c 3a76 6d3d 1aac 1e77 0a5e ff92 5261 Il:vm=...w.^..Ra



![[-]](https://tinkerboarding.co.uk/forum/images/collapse.png)