Advertisement
bit

resizing NC partition

bit
Sep 26th, 2011
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. In short, from CWM, I used ADB to get in and with parted, tar everything to sdcard, and tunefs and tar restore. With about 6G free on sdcard.
  2.  
  3. 1. from CWM, I mounted the sdcard, and partition 6,7,8 from emmc
  4. so, I had something like:
  5. /sdcard
  6. /part6
  7. /part7
  8. /part8
  9.  
  10. this is done like:
  11. mount /dev/block/mmcblk0p6 /part6 <-- from memory on that mmcblk0p6
  12.  
  13. 2. then I used tar to back up 6,7,8 to sdcard
  14. so:
  15. cd /part6
  16. tar -cvzf /sdcard part6.tgz
  17.  
  18. etc. etc.
  19.  
  20. 3. then parted to delete partitions 6,7,8 (Taking note of the current layout with print, you will want the numbers later)
  21.  
  22. also, I had to unmount the current cache which was on 7.
  23.  
  24. removing is like:
  25. rm 6
  26. rm 6
  27. rm 6
  28. ^^^ will get rid of the last 3 partitions
  29.  
  30. 4. then repartition 6,7,8, adding 4000 to the numbers to add about 4G.
  31.  
  32. 6,7 format as ext2, 8 as fat32
  33.  
  34. 5. then tunefs to get 6 and 7 up to ext3
  35.  
  36. 6. then tar to put the files back. and done.
  37. (mount the partitions back like step 1)
  38. then:
  39. cd /part6
  40. tar -xvzf /sdcard/part6.tgz .
  41.  
  42. etc etc.
  43.  
  44. 7. I did a fix permissions per nemith and Azerthoth I think it was.
  45.  
  46. thanks to Nemith got me the tunefs tip.
  47.  
  48. Now, I've got 4.8G for /data, 2.6G free, and done.
  49. everything runs fast now that there's no managing apps on sd.
  50. Overall, it was pretty easy. very slow to tar up junk though. If you can start this with a fresh install, it will go MUCH faster.
  51.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement