View Single Post
frostbyte's Avatar
Posts: 293 | Thanked: 373 times | Joined on Jul 2010 @ Westside
#98
Originally Posted by shaad View Post
i tried to do the formating but it doesnt work or im not doing it write. im really new to this. this part killed me
sfdisk -uM /dev/mmcblk1 << EOF
,<YOUR NUMBER IN MB>,C
,,L
,,
,,
EOF
btw i formatted my SD card on my PC theirs nothing in it.

Make sure you leave less than 2GB for NITDroid on your SD card; NITDroid will use the second partition of your formatted SD card.

If you have 4GB card, format your SD card to be 2.1GB as fat32 for first partition, and 1.9GB as ext3 (linux format) for second partition; 6.1GB and 1.9GB respectively for a 8GB and so on.

For 8GB card the the code on XTerminal would be

sudo gainroot

umount /dev/mmcblk1p1

sfdisk -uM /dev/mmcblk1

<< EOF
,6100,C
,,L
,,
,,
EOF

umount /dev/mmcblk1p1

mkdosfs /dev/mmcblk1p1

mke2fs -L NITDroid -j -m0 /dev/mmcblk1p2


Then use the autoinstaller.

Note: to avoid syntax errors and misspelling, use OpenSSH or on your N900 copy-paste from talk.maemo to XTerminal
__________________
[ArchLinux|OpenBox blissness]

"The Cake Is A Lie"

Last edited by frostbyte; 2010-10-24 at 21:02.