User:Emesem
(initial draft) |
|||
Line 1: | Line 1: | ||
- | =Read first= | + | ==Read first== |
'''These are my personal notes - nothing comes with warranty! Use at your own risk''' | '''These are my personal notes - nothing comes with warranty! Use at your own risk''' | ||
- | =My N900 setup= | + | ==My N900 setup== |
- | ==Reparitioning== | + | ===Reparitioning=== |
What I did to get a 50/50 sharing of memory and /dev/mmcblk0p2 still be ext3. Be extra careful because I've never made it to get it done with one shot. | What I did to get a 50/50 sharing of memory and /dev/mmcblk0p2 still be ext3. Be extra careful because I've never made it to get it done with one shot. |
Revision as of 10:49, 8 January 2010
Read first
These are my personal notes - nothing comes with warranty! Use at your own risk
My N900 setup
Reparitioning
What I did to get a 50/50 sharing of memory and /dev/mmcblk0p2 still be ext3. Be extra careful because I've never made it to get it done with one shot.
- do full backup on desktop computer with rsync
- flash eMMC
- flash device
- install rootsh
cp -a MyDocs/ /media/mmc1/tmp root umount /home/user/MyDocs sfdisk -d > sf.org cp sf.org sf.1 vi sf.1 # set 1st partition to 83 and size to 30412800 sfdisk --force /dev/mmcblk0 < sf.1 mkfs.ext3 /dev/mmcblk0p1 mount /dev/mmcblk0p1 /mnt cp -a /home/* /mnt umount /mnt reboot (maybe flashing required) sfdisk -d > sf.2 vi sf.2 # resize 2nd partition to 30412800 and set start to 30412864 sfdisk --force /dev/mmcblk0 < sf.2 mkfs.ext3 /dev/mmcblk0p2 mount /dev/mmcblk0p2 /mnt cp -a /home/* /mnt/ umount /mnt umount -fl /home mount /dev/mmcblk0p2 /home sfdisk -d > sf.3 vi sf.3 # set partition 1 to type c sfdisk --force /dev/mmcblk0 < sf.3 reboot (maybe flashing required) mkfs.vfat -F 32 /dev/mmcblk0p1 mount /dev/mmcblk0p1 /home/user/MyDocs cp -a /media/mmc1/tmp/MyDocs/* /home/user/MyDocs reboot