Active Topics

 


Reply
Thread Tools
Posts: 73 | Thanked: 0 times | Joined on Jun 2011
#1
I'm trying to format an 8 Gig memory card and then set up the 810 to boot from it.

I'm not sure the sizes to make the partitions or the commands to do it, I did try to use an example though.

when I get to:

mke2fs /dev/mmcblk0p2

and I get an error stating:

-h: mke2fs: not found

I see that

Then I tried to install e2fsprogs it doesn't install due to missing dependencies. In looking at the dependency issues I see dependency issues and I see the files required by e2fspros require 4.5.0-1maemo2 dependencies but 4.5.3-1maemo1 are installed.
 
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#2
Did you see the top two posts at http://talk.maemo.org/showthread.php?t=44479&page=33 ?
 
Posts: 73 | Thanked: 0 times | Joined on Jun 2011
#3
I saw them now. Thanks. I installed extras-devel and now have installed e2fsprogs.

Now, how to format an 8 gig card?
 
Posts: 73 | Thanked: 0 times | Joined on Jun 2011
#4
I see in the other links about console-tools. I navigated to it and tried to download it but it displayed rather than downloaded so I downloaded it with my computer and copied it to /home/user.

I have tried /home/user/pb

and

/home/user/console-tools.deb

and I get a not found message.
 
Posts: 73 | Thanked: 0 times | Joined on Jun 2011
#5
I found I could select if from the file manager and open the launcher to install, however pbeasy seems broken.

The only option I saw was to partition and after it did that came a message saying escape was pressed. It is supposed to work on the version of the OS I have.

So in looking at some of the instruction I have some questions

one says:

The external card device is /dev/mmcblk1 (mounted at /media/mmc1)
The internal card device is /dev/mmcblk0 (mounted at /media/mmc2)

and then says:

So if you plan to format the extern

umount /media/mmc2
sfdisk /dev/mmcblk0 << EOF
1,15000,6
15001,,


EOF

The two statements seem to contradict each other.

Another set of instructions says to format an 8 gig which is what I have card to:

umount /media/mmc1
sfdisk /dev/mmcblk1 -uM
0,6900,0C
,,,
(Return)
(Return)
This will give you 6.7G FAT2 for your storage and 0.9 G for your OS
reboot

I can do this, but, when I get to the next step

umount /media/mmc1
mkdosfs /dev/mmcblk1p1
mke2fs /dev/mmcblk1p2

I get a message saying cannot umount /dev/mmc1 : Invalid argument


???
 
Posts: 5,795 | Thanked: 3,151 times | Joined on Feb 2007 @ Agoura Hills Calif
#6
Unfortunately, the best person to help you with this is Penguinbait, who has long since departed, to the discredit of this site. Console tools does work; I've used it successfully many times, along with PB and PBEASY. One odd problem was that you had to reduce the font size to get one of the programs to work properly -- maybe that is causing the problem when you get the message that Esc has been pushed.

There is a long thread on this stuff, and there is also a site, penguinbait.com, that might have more info. I haven't used it for awhile and forget the details, sorry.
__________________
All I want is 40 acres, a mule, and Xterm.
 

The Following 2 Users Say Thank You to geneven For This Useful Post:
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#7
Code:
sfdisk -l /dev/mmcblk1
The first line should be something like "...: X cylinders, ..." and next line should say "... cylinders of Y bytes, ...". (X-1) * Y is the total usable size.

Z = 1073741824 ; number of byes in your linux partition (1gig)

A = (X-1) - Z/Y
B = A - 1

and then run
Code:
umount /media/mmc1
sfdisk /dev/mmcblk1 << EOF
1,B,c
A,,


EOF
That is how you determine the partition sizes.

As for not being able to unmount mmc1, you need to stop whatever is accessing it before you can partition the card. If the "pwd" command returns /media/mmc1/* then you need to change directory to get off the card.
 

The Following User Says Thank You to auouymous For This Useful Post:
Posts: 73 | Thanked: 0 times | Joined on Jun 2011
#8
I see in looking through the threads that it works in full screen mode but not window mode.

Can someone explain just what the internal memory is on the 810?
 
Posts: 137 | Thanked: 71 times | Joined on Mar 2008
#9
Originally Posted by muttleytm View Post
I....
I can do this, but, when I get to the next step

umount /media/mmc1
mkdosfs /dev/mmcblk1p1
mke2fs /dev/mmcblk1p2

I get a message saying cannot umount /dev/mmc1 : Invalid argument


???
you said you did
umount /media/mmc1 whereas the error you pasted shows
umount /dev/mmc1 : Invalid argument

make sure you are typing umount /media/mmc1 not umount /dev/mmc1
 
Posts: 73 | Thanked: 0 times | Joined on Jun 2011
#10
I'm making some progress.

I found that pb and pbeasy will work in full screen mode with font set to 6, but, I get some sort of error.

I tried again in the command line and was able to format and partition the SD card per instructions.

When I then tried to clone the drive I got as far as:

cd /home/user/bin
./nupgrade.sh 0

when I type in ./nupgrade I get the following error:

-sh : ./nupgrade.sh Permission denied

Also,

I set it up to boot from the SD card, but, I'm thinking I don't like that idea. How do I put it back to opening with bootloader?
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:19.