05-12-2012, 05:51 PM | #1 | |
T1 rooter
Posts: 14
Karma: 130
Join Date: Jan 2012
Location: Germany
Device: Sony PRS-T1
|
Questions about repartitioning
Hey Mobileread!
Long-time lurker, first time poster here... I want to repartition my internal storage and got a couple of questions, hope u can help me Before i start, i want to make clear that i read and learned alot about tweaking my T1 thanks to u guys. So first off a big And another big thanks goes out especially to rupor. LOVE ur work! Currently im running rupors AMR package with the apps2sd package on top. The main reason why i want to repartition the internal storage is that i cant move many apps to sd (8gb external sd) with the android-feature and i hate the link2sd crap. Generally im very careful with my gadgets and before i do any changes i make double-sure that i dont make mistakes. So here it goes: 1. I am not a linux guy. So at first i thought, nah, that repartitioning is not for me, but then i read this in rupors "backup and rescue thread" here: http://www.the-ebook.org/forum/viewtopic.php?t=23354 Quote:
So rupor, if u read this, or somebody else can answer: Can i use MiniTool Partition Manager or any other free tool to do the job? 2. When repartitioning with a tool, i have to be in recovery mode, right? The easiest way to get there was imo to run the @TestMode tool on the T1 and select "boot to recovery". Maybe im too stupid but i cant start the tool using rupors AMR. Its there, i see it in the android settings, but its not on the page 3, so i cant start it. 3. When repartitioning with a tool, I first shrink the READER partition, then I enlarge the data and system partition as i like, right? 4. Do I have to do a backup first using the method of the thread i mentioned? I dont care about anything on my internal storage, got all books on the sd card. Will the reader still work as before after the job or will the partitions be wiped? Can I install the Sony FW after the job and then re-root? And what about future Sony updates? Will I be able to install them after repartitioning or not? So thats it i guess, any help is appreciated. I would really like to do it, i just dont feel like i know enough... |
|
05-12-2012, 06:14 PM | #2 |
meat popsicle
Posts: 225
Karma: 100000
Join Date: Jul 2007
Location: USA
Device: Kindles, Pixels, iPads
|
1. I used Paragon Partition Manager 11 on Windows XP running in VirtualBox virtual machine. There 3 things to know - do not touch partitions at the beginning (recovery, uboot, e,t,c), you need enough free space on your READER partition and you have to work one partition at a time starting from the biggest one and making sure operation is committed before doing next one (tool allows you to commit multiple operations in sequence or batch mode - do not use it!)
All necessary partitions (but /system) could be done "in-place" with all data intact in about 5 minutes. If you want to change /system (which is not necessary) - it is ext4 - and tool (despite what is declared) cannot handle it properly, so you have to use tar to save data, delete and create partition and restore. 2. Yes - you have to be in recovery mode with my backup and recovery SD card 3. Yes - you reduce READER partition and than move and enlarge next one e.t. c. There is one additional step - enlarging "extended" partition to which (if my memory does not fail me) data and system are children. Unfortunately I did it some time ago and do not remember all the details - but it was not difficult. 4. I did backup first and had to recover once in the middle of procedure because I was trying to do something tool was not capable of doing. So do backup - it takes several minutes and is easy. |
Advert | |
|
05-12-2012, 06:15 PM | #3 |
Evangelist
Posts: 425
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Tolino Epos 2
|
do you wanna brick your reader with no way back?
have you read this: https://wiki.mobileread.com/w/index.p...ternal_storage ? here's what I did: https://www.mobileread.com/forums/sho...3&postcount=48 I guess, partitioning with external tool like paragon over usb connection as described by rupor is possible, but you should pay attention on proper alignment of the partitions. that's why I used fdisk via recovery console, which enables one to work sector wise. also you must not mess up the boot area of the device, including the kernel / initrd partitions (mmcblk2p1 and mmcblk2p2). otherwise there will be no way to access the device anymore. there's a guy on the forum who destroyed his reader this way. irreversibly. read this thread entirely: https://www.mobileread.com/forums/sho...=163137&page=2 |
05-12-2012, 06:17 PM | #4 |
meat popsicle
Posts: 225
Karma: 100000
Join Date: Jul 2007
Location: USA
Device: Kindles, Pixels, iPads
|
All tools I looked at produced after some date do proper partition alignment - in Paragon 11 it is default mode and could be set in options
|
05-12-2012, 06:22 PM | #5 |
Evangelist
Posts: 425
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Tolino Epos 2
|
but which block size does it align to?
on the reader, it should be 64*512 Bytes if I remember correctly... |
Advert | |
|
05-12-2012, 06:25 PM | #6 |
meat popsicle
Posts: 225
Karma: 100000
Join Date: Jul 2007
Location: USA
Device: Kindles, Pixels, iPads
|
For all PC hard drives smaller than 2TB default sector size is 512 bytes. Only after disks went over this size manufacturers agreed to switch to 4096 Bytes. Those tools know about it - I did verified it before and after each operation with calculator (tool provides enough information ) resulting numbers where divisible by 64 and some small amount of "unused" space was left before or after each "new" partition if necessary.
I do agree with you however - reading info you pointed is a MUST! Last edited by rupor; 05-12-2012 at 08:52 PM. |
05-13-2012, 05:46 AM | #7 |
Evangelist
Posts: 425
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Tolino Epos 2
|
Improper alignment won't break anything.
The deal with alignment and flash memory is, that the partition alignment must match the block size of the flash memory, otherwise write access becomes very slow. As long as the tool aligns to something divisible by 64, everything should be ok. |
05-14-2012, 04:36 AM | #8 |
Connoisseur
Posts: 79
Karma: 1068
Join Date: Nov 2011
Device: kindle
|
don't try the linux instructions on how to partition. instructions aren't concise or comprehensive. you'd have to read a bunch of different posts in order to find your way, and in the end still probably mess up -.- true story lol.
aside from using the test mode app, you can boot into recovery mode by holding home + menu until the bar reaches the right. i personally used acronis true image to repartition. back up the entire disk first. this makes it easier as you don't have to work with the limitations of not being able to resize the data partition since its ext3. my memory is blury but i think what i did was delete system and data, created a new blank ext3 partition with size of my choosing and then simply restored the data partition on top of the blank. then restored system to the remaining free space. |
05-14-2012, 06:39 AM | #9 | ||
T1 rooter
Posts: 14
Karma: 130
Join Date: Jan 2012
Location: Germany
Device: Sony PRS-T1
|
Thank you for your answers!
@rupor I downloaded Paragon Partition Manager 11 Free Edition. Is there any advantage using that tool over MiniTool Partition Manager? @uboot Quote:
As I said, im a very careful type of guy when it comes to modding my stuff, so I ask first… If I get confident enough to do this I also plan on adding a how-to to the wiki, so other non-linux-guys can repartition their device, too… So here is what I gathered from your posts and what my plan is now, please correct me if I screwed up somewhere: 0.1 delete all apps and stuff from internal. 0.2 do the disable-asec package from rupor to uninstall the app2sd android feature. (won’t need it after repartitioning) 0.3 use boroda’s recovery pack to go back to stock and unroot 0.4 do factory reset to clean up everything 0.5 install latest rupor AMR package 1. go to recovery using the rupors backup and recovery SD card. (copy files to sd card, reboot + holding home + menu until the bar reaches the right) 2. plug in usb, choose NOT to format if windows prompts me , install drivers (gserial.inf) 3. backup the whole internal memory using the tool rupor used in his thread (Roadkil's Disk Image) 4. shrink the READER partition Now im not sure anymore: 5. enlarge the /data partition (I plan to have it around 500MB). I see no point in enlarging /system. - rupor and multiprose posted something about /system and /data being connected in some way, or not being resizeable? So I can’t simply enlarge the partition like I would do with a fat32/ntfs partition? Quote:
5.(?) delete /data (and /system partition (I have to delete both?)). 6.(?) make new, bigger /data partition (ext4) (and new /system partition (ext2)) -> according to the picture from rupor i attached... I plan /data to be around 500MB and would not touch /system if I don't have to... 7.(?) restore image created in step 3 8. disconnect usb. remove sd card. reboot. done |
||
05-14-2012, 08:30 AM | #10 |
meat popsicle
Posts: 225
Karma: 100000
Join Date: Jul 2007
Location: USA
Device: Kindles, Pixels, iPads
|
|
05-14-2012, 11:52 AM | #11 |
Evangelist
Posts: 425
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Tolino Epos 2
|
the full image won't help you with repartitioning. it's for backup purposes only. additionally, you will have to dump each partition one by one...
don't touch the first 2 partitions (the primary ones)! you don't have to resize system partition. leave it as it is. app get installed to data partition. data partition and reader partition do not have to be restored. simply format data to ext4 and reader to fat32. and give them the right labels (READER and data). uppon boot, the reader will re-initialize them. all other partitions (system, fonts, etc.) are kept untouched. backup them one by one and then restore them one by one. so the steps are: 1.) backup extended partitions (logical drives, mmcblk2p4...mmcblk10) 2.) delete extended partitions 3.) recreate extended partitions with the first one shrunken by the size you wanna enlarge data partition 4.) restore extended partitions |
05-14-2012, 02:48 PM | #12 |
meat popsicle
Posts: 225
Karma: 100000
Join Date: Jul 2007
Location: USA
Device: Kindles, Pixels, iPads
|
Paragon and Actronis could resize partitions without loosing data - no need to backup restore each individual one. Exception is /system which is ext4
|
05-14-2012, 04:38 PM | #13 | |
T1 rooter
Posts: 14
Karma: 130
Join Date: Jan 2012
Location: Germany
Device: Sony PRS-T1
|
ok great thanks again guys, you're helping me alot
The only thing thats still a little unclear to me is how to backup and restore the individual partitions one by one. Tbh i dont need any stuff thats on there, so why cant i just instead of the steps uboot listed: Quote:
And i still have to decide which tool to use, since i dont have a paid partition tool, i was looking for a free one. MiniTool Partition Wizard Home Edition 7.1 was my favourite, but i also got Paragon Partition Manager 11 Free Edition now. Both should do the job, right? Any opinions? |
|
05-15-2012, 05:00 AM | #14 |
Evangelist
Posts: 425
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Tolino Epos 2
|
surely you can use the sd rescue package, but why?
have you ever used a partitioning tool to move / resize / backup / restore partitions? |
05-15-2012, 07:06 AM | #15 | ||||
T1 rooter
Posts: 14
Karma: 130
Join Date: Jan 2012
Location: Germany
Device: Sony PRS-T1
|
Quote:
Quote:
Quote:
Quote:
|
||||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-T1 Completed guide for repartitioning. | homeos | Sony Reader Dev Corner | 20 | 04-05-2012 11:54 AM |
902 Some questions... | Fisch | PocketBook | 8 | 03-12-2011 07:00 AM |
PRS-900 Two Questions | luqmaninbmore | Sony Reader | 21 | 02-21-2010 02:25 PM |
Two Questions | Ryuujin27 | Calibre | 5 | 05-11-2009 10:38 AM |
Few Questions | alex_l | Which one should I buy? | 4 | 05-13-2008 10:30 AM |