Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-16-2012, 01:50 PM   #1
zxcvbs
Member
zxcvbs ought to be getting tired of karma fortunes by now.zxcvbs ought to be getting tired of karma fortunes by now.zxcvbs ought to be getting tired of karma fortunes by now.zxcvbs ought to be getting tired of karma fortunes by now.zxcvbs ought to be getting tired of karma fortunes by now.zxcvbs ought to be getting tired of karma fortunes by now.zxcvbs ought to be getting tired of karma fortunes by now.zxcvbs ought to be getting tired of karma fortunes by now.zxcvbs ought to be getting tired of karma fortunes by now.zxcvbs ought to be getting tired of karma fortunes by now.zxcvbs ought to be getting tired of karma fortunes by now.
 
Posts: 21
Karma: 1537188
Join Date: Jan 2012
Device: k3
Easy way to resize kindle partition?

hi is there any easy way to resize a kindle 2/3 root filesystem?

To get more mb i had to:

Backup

Code:
dd if=/dev/mmcblk0 of=/mnt/us/mmcblk0_7688.dmp bs=512 count=7688
dd if=/dev/mmcblk0p1 of=/mnt/us/mmcblk0p1.dmp
dd if=/dev/mmcblk0p2 of=/mnt/us/mmcblk0p2.dmp
dd if=/dev/mmcblk0p3 of=/mnt/us/mmcblk0p3.dmp

cp the files to a local machine. and

Edit partition table

Code:
sudo sfdisk -d mmcblk0_7688.dmp > ptable.txt

edit the partition table on ptable.txt

sudo sfdisk --no-reread -f mmcblk0_7688.dmp -O PT.save < ptable.txt

cp mmcblk0_7688.dmp to kindle storage
ssh kindle

Code:
dd if=/mnt/us/mmcblk0_7688.dmp of=/dev/mmcblk0 bs=512 

umount mmcblk0p2 mmcblk0p3 mmcblk0p4

mkfs.vfat /dev/mmcblk0p4
mkfs.ext3 /dev/mmcblk0p3
mkfs.ext3 /dev/mmcblk0p2
dd if=/dev/mmcblk0p1 of=/mnt/us/mmcblk0p1.dmp


cp mmcblk0p1.dmp to a local machine
Resize Filesystem


Code:
local machine

tune2fs -O ^has_journal mmcblk0p1.dmp
e2fsck -f  mmcblk0p1.dmp
resize2fs  mmcblk0p1.dmp
tune2fs -j mmcblk0p1.dmp

cp mmcblk0p1.dmp to kindle usb storage.

kindle
dd if=/dev/mmcblk0p1 of=mmcblk0p1.dmp
Reboot.

Im on the work, so some commands are missing, this is more a question than a procedure to resize.
Always flash your kindle with Yifanlu custom kernel before or you will brick it (and have at hand a restore.bin backup).

Last edited by zxcvbs; 04-16-2012 at 02:10 PM.
zxcvbs is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-T1 How do I resize the system partition? unwohltaeter Sony Reader Dev Corner 29 03-28-2012 04:26 PM
kindle touch partition within a partition? geekmaster Kindle Developer's Corner 8 03-12-2012 08:53 AM
Kindle Touch: Resize tap regions? Thiana Amazon Kindle 0 12-25-2011 07:55 PM
PDF to Mobi - can't resize text on kindle ernesto50 Conversion 2 11-03-2011 10:20 AM
Dear Advanced Users. Could please share Kindle DX graphite Us version partition stranger_st Kindle Developer's Corner 0 10-19-2011 08:29 AM


All times are GMT -4. The time now is 07:59 PM.


MobileRead.com is a privately owned, operated and funded community.