xuedi 的 blog
A BLUG Spammers BLOG

Archive for the ‘beijing’ Category

N900: partitioning

Thursday, March 11th, 2010

There are some good guides in the wiki, but they use sfdisk and you have to calculate the blocks yourself, what a pain, here is the way how to install fdisk on tn N900

cd /root
wget http://ftp.de.debian.org/debian/pool/main/u/util-linux/util-linux_2.13.1.1-1_armel.deb
dpkg-deb -x util-linux_2.13.1.1-1_armel.deb root
cp root/sbin/fdisk .
rm -r root/
rm util-linux_2.13.1.1-1_armel.deb

In general it from huge advantage if you have a MicroSD card, then you can copy your MyDocs and the /home stuff first and can delete both partitions, after reboot you are totally free to repartinion as you like, after that mount the new partitions, copy the backup back where they belong and reboot again. It worked well if you change the design, for ex. have the vfat on the secon part, but some 3rd party< programms might not like it, so better keep it: part.1=cfat (MyDocs), part.2=linux (Home), part.3=swap. my actual partition table looks like this:

1. 3G vfat
2. 27G ext3
3. rest swap