Partitioning N900's memory card

So i was preparing Atiezul's MicroSD card for instaling NitDroid on her N900.
Just some reminder for me self on partitioning N900 memory card.

Hope this help someone.

I had gotten meself a 8GB MicroSD. The settings i wanted was 5GB Linux parttiton (ext3) and balance of 3GB Fat (vfat?). Below the things i done:


Nokia-N900:~# umount /media/mmc1

Nokia-N900:~# sfdisk -uM /dev/mmcblk1 << EOF

> ,5000,L

> ,2647,D

> ,,L

> ,,

> EOF

Checking that no-one is using this disk right now ...

OK



Disk /dev/mmcblk1: 244704 cylinders, 4 heads, 16 sectors/track

Old situation:

Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0



   Device Boot Start   End    MiB    #blocks   Id  System

/dev/mmcblk1p1         0+  4999   5000-   5119999+   c  W95 FAT32 (LBA)

/dev/mmcblk1p2      5000   7646   2647    2710528    d  Unknown

/dev/mmcblk1p3         0      -      0          0   83  Linux

/dev/mmcblk1p4         0      -      0          0    0  Empty

New situation:

Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0



   Device Boot Start   End    MiB    #blocks   Id  System

/dev/mmcblk1p1         0+  4999   5000-   5119999+  83  Linux

/dev/mmcblk1p2      5000   7646   2647    2710528    d  Unknown

/dev/mmcblk1p3         0      -      0          0   83  Linux

/dev/mmcblk1p4         0      -      0          0    0  Empty

Warning: partition 3 has size 0 but is not marked Empty

Warning: no primary partition is marked bootable (active)

This does not matter for LILO, but the DOS MBR will not boot this disk.

Successfully wrote the new partition table



Re-reading the partition table ...



If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)

to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1

(See fdisk(8).)

Nokia-N900:~#


References:

http://talk.maemo.org/archive/index.php/t-62826.html
http://www.myn900.com/how-to-install-android-nitdroid-to-n900/
http://talk.maemo.org/showthread.php?t=22561

/alak

Comments

Popular posts from this blog

SAP: Segregate Different SMTP Mail Server Based on Sender Domain

SAP Client Copy Error: Errors occurred during export of container object FINB-TR-DERIVATION