maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   CFdisk seems to be missing. Someone help! (https://talk.maemo.org/showthread.php?t=75778)

rafpac 2011-08-15 19:27

CFdisk seems to be missing. Someone help!
 
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 2011-08-15 19:31

Re: CFdisk seems to be missing. Someone help!
 
Quote:

Originally Posted by rafpac (Post 1070609)
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 ;)

rafpac 2011-08-15 19:37

Re: CFdisk seems to be missing. Someone help!
 
No sfdisk found either!

jedi 2011-08-15 20:47

Re: CFdisk seems to be missing. Someone help!
 
Quote:

Originally Posted by rafpac (Post 1070615)
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?

rafpac 2011-08-16 06:47

Re: CFdisk seems to be missing. Someone help!
 
Quote:

Originally Posted by jedi (Post 1070675)
/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???

Radicalz38 2011-08-16 07:08

Re: CFdisk seems to be missing. Someone help!
 
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"

rafpac 2011-08-16 08:12

Re: CFdisk seems to be missing. Someone help!
 
Quote:

Originally Posted by Radicalz38 (Post 1070953)
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 2011-08-16 08:52

Re: CFdisk seems to be missing. Someone help!
 
Quote:

Originally Posted by rafpac (Post 1070976)
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...

rafpac 2011-08-16 12:56

Re: CFdisk seems to be missing. Someone help!
 
Quote:

Originally Posted by jedi (Post 1071008)
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.

Quote:

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 2011-08-16 13:11

Re: CFdisk seems to be missing. Someone help!
 
Quote:

Originally Posted by rafpac (Post 1071131)
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


All times are GMT. The time now is 23:22.

vBulletin® Version 3.8.8