![]() |
2011-08-15
, 19:27
|
Posts: 58 |
Thanked: 38 times |
Joined on Aug 2011
|
#1
|
![]() |
2011-08-15
, 19:31
|
|
Posts: 1,411 |
Thanked: 1,330 times |
Joined on Jan 2010
@ Tatooine
|
#2
|
Ok so I am a complete noob when it comes to unix based commands, I learned what an xterminal was just a few days ago. Now I am trying to install nitdroid with the auto installer however it freezes while trying format one of the partitions of my MMC. I hear its a common problem and the way around it is to manually do it with cfdisk. All good and dandy but I cant seem to find the app anywhere. It went mia. If i try with 'apt-get intstall cfdisk' command it says it cant find it (Yes i am running from root). I have tried it on the hildon app manager not there either I even tried it on faster application manager and no dice. I have all the repositories updated and working so where is it????
![]() |
2011-08-15
, 20:47
|
|
Posts: 1,411 |
Thanked: 1,330 times |
Joined on Jan 2010
@ Tatooine
|
#4
|
ls -la /sbin/sfdisk
![]() |
2011-08-16
, 06:47
|
Posts: 58 |
Thanked: 38 times |
Joined on Aug 2011
|
#5
|
/sbin/sfdisk is provided by busybox, so if you're not making a typo and you're definitely running it as root in Maemo then you've got a bigger problem on your hands.
What does
say?Code:ls -la /sbin/sfdisk
-rwxr-xr-x 1 root root 45156 Mar 12 2010/sbin/sfdisk
![]() |
2011-08-16
, 08:12
|
Posts: 58 |
Thanked: 38 times |
Joined on Aug 2011
|
#7
|
![]() |
2011-08-16
, 08:52
|
|
Posts: 1,411 |
Thanked: 1,330 times |
Joined on Jan 2010
@ Tatooine
|
#8
|
Ok thats good so I already have it. I didnt know but I am illiterate when it comes to commands for sfdisk. As I have already mentioned in my post I have root enabled i know what it means to have root enabled. Does any one happen to know after I unmount mmcblk1p1 what command I use to format mmcblk1p2 to install nitdroid as it hangs when the auto installer tries to do it.
![]() |
2011-08-16
, 12:56
|
Posts: 58 |
Thanked: 38 times |
Joined on Aug 2011
|
#9
|
What instructions are you following?
Also, copy/paste all the text from x-term to here so we can see what you're doing...
Workaround: Partition card manually:
root
apt-get install cfdisk
cfdisk -z /dev/mmcblk1
First partition would be for vfat, select New, type 14g, select type for it 0c (win32 LBA)
Second is for NITDroid - rest of card space
Select write and quit cfdisk.
mkfs.vfat -F 32 /dev/mmcblk1p1
mke2fs -L NITDroid -j -m0 /dev/mmcblk1p2
nitdroid
Last command will run installer again - now without problems.
![]() |
2011-08-16
, 13:11
|
|
Posts: 1,411 |
Thanked: 1,330 times |
Joined on Jan 2010
@ Tatooine
|
#10
|
Alright I have downloaded the auto installer from extras devel on my nokia n900. When I run the installer first it unmounts the mmc from the phone and then it tries to format the different partitions. One partition being for the secondary memory for the phone the other being partitioned for app space. (atleast as far as i have understood).
Now the thing is when it is trying to format the mmc the installer hangs on when it is formatting something called mmcblk1p2 (where I assume the mmcblk1 is the sd card and p2 means partition 2.
Now I have read on:
http://www.nitdroid.com/index.php?ti...-Autoinstaller
This problem is a common problem for the installer when it is trying to format certain 16GB mmcs. And that site suggests to partition the mmc manually.
Now as you know I can't seem to find cf disk anywhere and need to go by with sfdick. So if you know anything about it please let me know. Thanks for your help so far.