View Single Post
Old 11-07-2019, 06:55 PM   #89
polossatik
TheBigFish
polossatik has every book they ever wanted in electronic form on their reader.polossatik has every book they ever wanted in electronic form on their reader.polossatik has every book they ever wanted in electronic form on their reader.polossatik has every book they ever wanted in electronic form on their reader.polossatik has every book they ever wanted in electronic form on their reader.polossatik has every book they ever wanted in electronic form on their reader.polossatik has every book they ever wanted in electronic form on their reader.polossatik has every book they ever wanted in electronic form on their reader.polossatik has every book they ever wanted in electronic form on their reader.polossatik has every book they ever wanted in electronic form on their reader.polossatik has every book they ever wanted in electronic form on their reader.
 
Posts: 26
Karma: 46180
Join Date: May 2010
Location: Belgium - THE surrialistic country
Device: pocketbook 840
just want to thank carltonbp and nhedgehog for helping me out with my 840!

in case someone needs it: little how to to remove and make a new bigger "data" partititon ( do NOT forget to copy first all from the "data" partition so you can copy it back !) using fdisk on linux when restoring an 4gb image to a bigger sdcard

if there is no value on the prompt just hit enter

Code:
 ~ $ sudo fdisk /dev/mmcblk0

Welcome to fdisk (util-linux 2.31.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p
Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 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
Disklabel type: dos
Disk identifier: 0x00000000

Device          Boot   Start     End Sectors   Size Id Type
/dev/mmcblk0p1       1009664 7747583 6737920   3.2G  b W95 FAT32
/dev/mmcblk0p2  *      73728  139263   65536    32M  6 FAT16
/dev/mmcblk0p3             1 1009664 1009664   493M 85 Linux extended
/dev/mmcblk0p5        139264  172031   32768    16M 83 Linux
/dev/mmcblk0p6        172032  204799   32768    16M 83 Linux
/dev/mmcblk0p7        204800  275455   70656  34.5M 83 Linux
/dev/mmcblk0p8        275456  776191  500736 244.5M 83 Linux
/dev/mmcblk0p9        776192  976895  200704    98M 83 Linux
/dev/mmcblk0p10       976896 1009663   32768    16M 83 Linux

Partition table entries are not in disk order.

Command (m for help): d
Partition number (1-3,5-10, default 10): 1

Partition 1 has been deleted.

Command (m for help): p
Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 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
Disklabel type: dos
Disk identifier: 0x00000000

Device          Boot  Start     End Sectors   Size Id Type
/dev/mmcblk0p2  *     73728  139263   65536    32M  6 FAT16
/dev/mmcblk0p3            1 1009664 1009664   493M 85 Linux extended
/dev/mmcblk0p5       139264  172031   32768    16M 83 Linux
/dev/mmcblk0p6       172032  204799   32768    16M 83 Linux
/dev/mmcblk0p7       204800  275455   70656  34.5M 83 Linux
/dev/mmcblk0p8       275456  776191  500736 244.5M 83 Linux
/dev/mmcblk0p9       776192  976895  200704    98M 83 Linux
/dev/mmcblk0p10      976896 1009663   32768    16M 83 Linux

Partition table entries are not in disk order.

Command (m for help): n
Partition type
   p   primary (1 primary, 1 extended, 2 free)
   l   logical (numbered from 5)
Select (default p): p
Partition number (1,4, default 1): 1
First sector (1009665-31116287, default 1009665): 
Last sector, +sectors or +size{K,M,G,T,P} (1009665-31116287, default 31116287): 

Created a new partition 1 of type 'Linux' and of size 14.4 GiB.

Command (m for help): t
Partition number (1-3,5-10, default 10): 1
Hex code (type L to list all codes): b

Changed type of partition 'Linux' to 'W95 FAT32'.

Command (m for help): p
Disk /dev/mmcblk0: 14,9 GiB, 15931539456 bytes, 31116288 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
Disklabel type: dos
Disk identifier: 0x00000000

Device          Boot   Start      End  Sectors   Size Id Type
/dev/mmcblk0p1       1011712 31116287 30104576  14,4G  b W95 FAT32
/dev/mmcblk0p2  *      73728   139263    65536    32M  6 FAT16
/dev/mmcblk0p3             1  1009664  1009664   493M 85 Linux extended
/dev/mmcblk0p5        139264   172031    32768    16M 83 Linux
/dev/mmcblk0p6        172032   204799    32768    16M 83 Linux
/dev/mmcblk0p7        204800   275455    70656  34,5M 83 Linux
/dev/mmcblk0p8        275456   776191   500736 244,5M 83 Linux
/dev/mmcblk0p9        776192   976895   200704    98M 83 Linux
/dev/mmcblk0p10       976896  1009663    32768    16M 83 Linux

Partition table entries are not in disk order.

Command (m for help): w
The partition table has been altered.
Synching disks.


 ~ $ sudo mkdosfs -F 32 -I /dev/mmcblk0p1
polossatik is offline   Reply With Quote