View Single Post
Old 08-12-2014, 04:00 PM   #100
mmax
Member
mmax began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Aug 2014
Location: Austria
Device: Kobo Mini
Allright, here is the partition from a working kobo image:
Code:
fdisk /dev/sdd

Command (m for help): p

Disk /dev/sdd: 1977 MB, 1977614336 bytes
61 heads, 62 sectors/track, 1021 cylinders, total 3862528 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/sdd1           19456      543744      262144+  83  Linux
/dev/sdd2          543745     1068033      262144+  83  Linux
/dev/sdd3         1068034     3829762     1380864+   b  W95 FAT32
So I have to get the first 19455 sectors (I guess these are the sectors) with a sector-size of 512 bytes, as printed from fdisk. So I'll try:
Code:
dd if=/dev/sdd of=boot_sector_kobo.img seek=0 bs=512 count=19455
19455+0 records in
19455+0 records out
9960960 bytes (10 MB) copied, 0,664918 s, 15,0 MB/s
Allright 'ls -h' gives me a size of 9.5MB of the image ... so I'll give it a try
mmax is offline   Reply With Quote