Closed Thread
Thread Tools
Posts: 341 | Thanked: 57 times | Joined on Nov 2009
#601
Nope, I didn't have any such brackets .. After completing step 3, the output shows the old and new partition tables, i checked them and they look fine .. Now the first partition is just 1 MB long, which is of FAT32 FS, and then the second partition takes the rest of the space ..

EDIT: Here is the complete output from my N900 from the beginning (the first unmount command probably didn't work because I had already unmounted the microSD card in the previous xterm session):


Code:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # umount /dev/mmcblk1p1 
umount: cannot umount /dev/mmcblk1p1: Invalid argument
/home/user # sfdisk -uM /dev/mmcblk1 << EOF
> ,1,C
> ,,L
> ,,
> ,,
> EOF
Checking that no-one is using this disk right now ...
OK

Disk /dev/mmcblk1: 60352 cylinders, 4 heads, 16 sectors/track
Old situation:
Warning: The partition table looks like it was made
  for C/H/S=*/64/63 (instead of 60352/4/16).
For this listing I'll assume that geometry.
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start   End    MiB    #blocks   Id  System
/dev/mmcblk1p1         0+  1884-  1885-   1929244+   6  FAT16
/dev/mmcblk1p2         0      -      0          0    0  Empty
/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   1885   1885    1930240   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

Re-reading the partition table ...
BLKRRPART: Device or resource busy
The command to re-read the partition table failed
Reboot your system now, before using mkfs

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).)
/home/user # umount /dev/mmcblk1p1
/home/user # mkdosfs /dev/mmcblk1p1
mkdosfs 3.0.1 (23 Nov 2008)
37
#####################################/home/user # mke2fs -j -m0 /dev/mmcblk1p2
mke2fs 1.41.3.maemo0 (12-Oct-2008)
Could not stat /dev/mmcblk1p2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
/home/user # mke2fs -j -m0 /dev/mmcblk1p2
mke2fs 1.41.3.maemo0 (12-Oct-2008)
Could not stat /dev/mmcblk1p2 --- No such file or directory

The device apparently does not exist; did you specify it correctly?
/home/user #

Last edited by ahmadka; 2010-07-15 at 11:26.
 
Posts: 341 | Thanked: 57 times | Joined on Nov 2009
#602
Any idea with the above mystery people ?
 
Posts: 69 | Thanked: 23 times | Joined on Dec 2009 @ London
#603
Firstly a big thanks to everyone who has contributed to this so far!

I've followed the excellent instructions on the wiki and had NITDroid running in no time at all. Not sure however what I've done wrong but although I can boot into Android with no issues and save various settings settings (ie wifi password, market details etc.) I can't launch any applications (theY crash straight after launching) or download anything from the market - it just gets stuck on prepping to download.

Could this be a partitioning issue? I'm using a 2gb card at the mo with 1mb set to fat the rest to ext3...
 
Posts: 1,306 | Thanked: 1,697 times | Joined on Dec 2009 @ Durham North-East UK
#604
if you read the above you see the error :

Code:
Re-reading the partition table ...
BLKRRPART: Device or resource busy
The command to re-read the partition table failed
Reboot your system now, before using mkfs
try rebooting and then doing
Code:
ls /dev/mmcblk1*
it should show both p1 and p2
 
Posts: 1,306 | Thanked: 1,697 times | Joined on Dec 2009 @ Durham North-East UK
#605
Originally Posted by Blobster2k View Post
Firstly a big thanks to everyone who has contributed to this so far!

I've followed the excellent instructions on the wiki and had NITDroid running in no time at all. Not sure however what I've done wrong but although I can boot into Android with no issues and save various settings settings (ie wifi password, market details etc.) I can't launch any applications (theY crash straight after launching) or download anything from the market - it just gets stuck on prepping to download.

Could this be a partitioning issue? I'm using a 2gb card at the mo with 1mb set to fat the rest to ext3...
just experiment with partition sizes. maybe try 512mb fat32 and rest ext3 then your absolutly certainly off 2gb limit
 

The Following User Says Thank You to dj_steve For This Useful Post:
Posts: 341 | Thanked: 57 times | Joined on Nov 2009
#606
Originally Posted by dj_steve View Post
if you read the above you see the error :

Code:
Re-reading the partition table ...
BLKRRPART: Device or resource busy
The command to re-read the partition table failed
Reboot your system now, before using mkfs
try rebooting and then doing
Code:
ls /dev/mmcblk1*
it should show both p1 and p2
Okay, so after rebooting, do I repeat the entire partition procedure from step 1, or do I just continue from where I experienced the problem (from second command in step 5 and onwards) .. ?
 
Posts: 1,306 | Thanked: 1,697 times | Joined on Dec 2009 @ Durham North-East UK
#607
provided the ls command shows both mmcblk1p1 and mmcblk1p2 just continue with formatting then install
 
Posts: 1,306 | Thanked: 1,697 times | Joined on Dec 2009 @ Durham North-East UK
#608
anyone who hasnt seen this yet : http://www.youtube.com/watch?v=1POI8yiuWCo - preview of the next release
 
Posts: 739 | Thanked: 220 times | Joined on Dec 2009 @ Surrey, UK
#609
OK with DJ steve's massive help I have got this running. Doesn't want to allow me to add a wireless network though?
__________________
There is a way that seems right to a man, but in the end it leads to death. Proverbs 14:12
 
xgrind's Avatar
Posts: 51 | Thanked: 8 times | Joined on Jan 2010
#610
hi all

I encountered an issue when I was booting Nitdroid:

Buffer I/O error at mmcblk0p2
Lost page write I/O error at mmcblk0p2

Nitdroid did not manage to boot and reset itself to multi boot menu. Anyone know what's the issue?
__________________
N900 on LPR1.2, overclocked to 900MHz
 
Closed Thread


 
Forum Jump


All times are GMT. The time now is 09:05.