Active Topics

 


Reply
Thread Tools
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#11
Hey .

Try
which fdisk
or
which sfdisk
or which gparted

and see, if you have them installed.
Output should be
/sbin/fdisk
or similar.

Then you may try to get your first partition back and restore also the file system flag. Maybe you are lucky and MyDocs is as before.

If not, you may reflash your device with eMMC vanilla image first. no reboot and then flash firmware.
This will for sure recreate everything and you will have a virgin N900 again.
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#12
Then, i am afraid, you have to start the whole process again But first download only fdisk containing util-linux package to correct the partitions and to setup the My Docs partition correctly later. This will also take care of resizing of the first partition and creating the filesystem.

Edit: Did you flash the 8GB custom image? There is no technical background to that question, just want to be assured that space does not become a problem later on.

Last edited by michaaa62; 2011-11-05 at 19:39.
 
Posts: 112 | Thanked: 34 times | Joined on Dec 2010
#13
@peterleinchen
which sfdisk work

Originally Posted by peterleinchen;
Then you may try to get your first partition back and restore also the file system flag
And how to do that?

(Yes me KING of SuperNOOB )

@michaaa62
Originally Posted by michaaa62 View Post
Then, i am afraid, you have to start the whole process again
hi,
well does this refer to my last post or to what peterleinchen suggest
(reflash your device with eMMC vanilla image first. no reboot and then flash firmware.) ???

Originally Posted by michaaa62 View Post
But first download only fdisk containing util-linux package to correct the partitions and to setup the My Docs partition correctly later.
And how to download Fdisk?
As far as I know, step 1 describe how to download and install Fdisk, I've try it but get stuck at line 3 http://bit.ly/skyLoB.

Again THANK YOU for your help.

Last edited by helloct; 2011-11-05 at 21:49.
 
Posts: 502 | Thanked: 366 times | Joined on Jun 2010 @ /dev/null
#14
1) fdisk is part of busybox-power which is available in extras-devel
2) When you hit p and you got:
Code:
-sh: p: not found
It means you're not within the fdisk prompt but you're back in shell prompt. Notice how the error starts with -sh? That means its back to the standard linux shell.

A fdisk prompt would look something like this:
Code:
Command (m for help):
A normal ash command prompt (part of busybox package and can be easily modified) would look something like this:
Code:
 ~ $
__________________
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#15
There is no need to reflash!
You just lost the MyDocs partition, which should, anyway, be deleted and later recreated smaller.
Just start the procedures of the linked howto http://wiki.maemo.org/Nitdroid_easy_install_on_EMMC again. First download the package containing fdisk : EDIT: Or go tuxsavvy's way and install busybox-power to get a working fdisk Through apt-get.
Right now your device has no partitions mounted to MyDocs, but the folder /home/user/MyDocs still exists.
Then follow the 'method2' procedure through to step 9. You then will have prepared a working MyDocs partition again and a seperate Nitdroid partition, aka. /dev/mmcblk0p5.

Good luck!

Last edited by michaaa62; 2011-11-05 at 22:14.
 
Posts: 112 | Thanked: 34 times | Joined on Dec 2010
#16
Originally Posted by tuxsavvy View Post
1) fdisk is part of busybox-power which is available in extras-devel
OK thank.
Am installing busybox-power so, will informe you.
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#17
Originally Posted by helloct View Post
I can't return to step 5. when I type p it says
-sh: p: not found

And if I start from step 1 it says at line 3

cp: cannot stat ' /home/user/MyDocs/util-linux_2.13.1.1-1_armel.deb' :No such file or directory

What I do?
With sfdisk its quite complicated, even if you know what to do.

But you have to have fdisk already installed (assuming under /usr/bin)
So return to step 5 is not so wrong:
p is not a command, but an option inside of fdisk program
so before typing p, you need to run fdisk (or /usr/bin/fdisk)

and of course you cant start earlier as you do not have a MyDocs partition anymore.

--edit
oops, sorry. Did not see those posts. Michaaa is right, the folder /home/user/MyDocs still exists and can be used. So just go ahead ...

Last edited by peterleinchen; 2011-11-05 at 22:21.
 
Posts: 112 | Thanked: 34 times | Joined on Dec 2010
#18
ok, I add extra devel to download busybox-box, refresh and oops, my RootSF is full now though I have almost any app installed.

so to install it through terminal, it's like that????

root
apt-get install busybox-power

right???

Last edited by helloct; 2011-11-05 at 22:44.
 
Posts: 112 | Thanked: 34 times | Joined on Dec 2010
#19
Ok done,
Fdisk is installed.
I'll informe you for the next stuff.
 
Posts: 112 | Thanked: 34 times | Joined on Dec 2010
#20
Ok back again
at step 5/9 I got this when I enter /home/user/bin/fdisk /dev/mmcblk0

-sh: /home/user/bin/fdisk: not found

the same with /usr/bin/fdisk or /usr/bin/fdisk /dev/mmcblk0 that give me

-sh: /usr/bin/fdisk: not found


though with which fdisk i get

/sbin/fdisk
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:03.