Total Pageviews

Wednesday, 24 November 2010

NITDroid installation hangs on [Formatting /dev/mmcblklp2 (ext3) ...]

If your installation hangs when formatting /dev/mmcblklp2

NITDroid installation hangs on [Formatting /dev/mmcblklp2 (ext3) ...]



1. Create the partition table manually, my SDcard was 2GB the recommended partition size is 1M in this case, for possible sizes check :
http://wiki.nitdroid.com/index.php?title=N900-install#Step_1:_Partitioning

Nokia-N900-02-8:~# sfdisk -uM /dev/mmcblk1 << EOF
> ,1,C
> ,,L
> ,,
> ,,
> EOF
Checking that no-one is using this disk right now ...
OK

Disk /dev/mmcblk1: 61504 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+ 99 100- 102399+ c W95 FAT32 (LBA)
/dev/mmcblk1p2 100 1921 1822 1865728 83 Linux
/dev/mmcblk1p3 0 - 0 0 0 Empty
/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+ 0 1- 1023+ c W95 FAT32 (LBA)
/dev/mmcblk1p2 1 1921 1921 1967104 83 Linux
/dev/mmcblk1p3 0 - 0 0 0 Empty
/dev/mmcblk1p4 0 - 0 0 0 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

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).)

2.Run the installer

Nokia-N900-02-8:~# nitdroid-installer

**********************************************************
* *
* This installer will automatically download and install *
* NITDroid, an Android port to Nokia N900. *
* *
* WARNING! *
* THIS PROGRAM WILL INSTALL APPS ONTO YOUR DEVICE *
* AND FORMAT YOUR MICROSD WITHOUT ANY WARNINGS. *
* THERE IS A SLIGHT RISK THAT THIS WILL RENDER YOUR *
* DEVICE UNUSABLE, REQUIRING FULL MAEMO REFLASH. *
* *
* PLEASE BACKUP YOUR DATA BEFORE PROCEEDING *
* *
* YOU HAVE BEEN WARNED *
* *
**********************************************************

Type 'YES' if you accept the terms and take the risk >YES

Good! Here we go.

Unmounting /dev/mmcblk1p1 ...done
Uninstalling any incompatible software ...done
Formatting /dev/mmcblk1p1 (vfat) ...done
Formatting /dev/mmcblk1p2 (ext3) ...done

Going to download the installation files. This will take a rather long time!

Downloading nitdroid.manifest ...done
Downloading NitDroid-0.0.8-Popov.tar.bz2 ...

Mounting /dev/mmcblk1p2 ...done
Extracting NitDroid-0.0.8-Popov.tar.bz2 ...done
Extracting oc-profile-500-700.tar.bz2 ...done
Extracting sensors-ril-patch-1.tbz2 ...done
Extracting fakegps.tar.bz2 ...done
Installing nitdroid-kernel-2.6.28-06_final1_armel.deb ...done
Unmounting /dev/mmcblk1p2 ...done

**********************************************************
_____ ___ ___ ___ ___
|\ || /| /____/ | \ | \ | \ /| | \
| \ || || | | | |___/ | | || | |
|| \ || || || || | ||\\ || | || || |
|| \|| || || ||__/ || \\ ||__| || ||__/

**********************************************************
* *
* has been succesfully installed! *
* *
* You may now reboot the device with keyboard open *
* to boot into NITDroid. *
* *
**********************************************************

Press any key to exit...
/usr/bin/nitdroid-installer: read: line 603: arg count


Done !!

No comments: