Active Topics

 



Notices


Reply
Thread Tools
Posts: 58 | Thanked: 38 times | Joined on Aug 2011
#1
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????
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#2
Originally Posted by rafpac View Post
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????
Try sfdisk
__________________
May the source be with you.
 
Posts: 58 | Thanked: 38 times | Joined on Aug 2011
#3
No sfdisk found either!
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#4
Originally Posted by rafpac View Post
No sfdisk found either!
/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
Code:
ls -la /sbin/sfdisk
say?
__________________
May the source be with you.
 
Posts: 58 | Thanked: 38 times | Joined on Aug 2011
#5
Originally Posted by jedi View Post
/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
Code:
ls -la /sbin/sfdisk
say?
It says
Code:
-rwxr-xr-x      1 root        root                45156 Mar 12  2010/sbin/sfdisk
What does it mean???
 
Posts: 1,042 | Thanked: 430 times | Joined on May 2010
#6
it means it exists...

BTW you need to be root inorder to execute it... so install first rootsh if you haven't then type "root" and type "sfdisk"
 

The Following User Says Thank You to Radicalz38 For This Useful Post:
Posts: 58 | Thanked: 38 times | Joined on Aug 2011
#7
Originally Posted by Radicalz38 View Post
it means it exists...

BTW you need to be root inorder to execute it... so install first rootsh if you haven't then type "root" and type "sfdisk"
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.
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#8
Originally Posted by rafpac View Post
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.
What instructions are you following?

Also, copy/paste all the text from x-term to here so we can see what you're doing...
__________________
May the source be with you.
 
Posts: 58 | Thanked: 38 times | Joined on Aug 2011
#9
Originally Posted by jedi View Post
What instructions are you following?

Also, copy/paste all the text from x-term to here so we can see what you're doing...
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.

Originally Posted by WebSite

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.
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.
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#10
Originally Posted by rafpac View Post
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.
A quick google bought up this: http://forum.nitdroid.com/index.php?topic=224.0
__________________
May the source be with you.
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:45.