Active Topics

 


Reply
Thread Tools
Posts: 856 | Thanked: 1,681 times | Joined on Apr 2010 @ Aleppo ,Syria
#31
what do you mean with out of the blue?
 
Posts: 139 | Thanked: 97 times | Joined on Nov 2010 @ United States
#32
Originally Posted by karam View Post
what do you mean with out of the blue?
Was it responding to user input before it rebooted?
 
Posts: 805 | Thanked: 1,605 times | Joined on Feb 2010 @ Gdynia, Poland
#33
Originally Posted by karam View Post
mount /dev/ext2 /mnt/n900sd
i had

mount: mounting /dev/ext2 on /mnt/n900sd failed: No such file or directory

every thing before got working fine but if i continued ignoring this error

when enterin the command

tar cf - . | tar xfp - -C /mnt/n900sd

i had after few seconds errors about no space left on the device
then a bunch of unlimited errors
Do you know what it means? The "mount" command tries to mount some partition of your hdd (in this case phone memory) in your filesystem, so it would be accesible via /mnt/n900sd in this case. It's needed to be done for every partition/storage/etc.etc. to read or write files on them. It FAILED. So /mnt/n900sd was not poining to any external partition (as it should), it was just a directory (think of "mount" partition as some magic trick to change a folder into a hard disc ). So when you ran "tar" command, N900 tried to decompress whole 2GB EasyDebian image to small N900's 200MB root file system. That's why you got errors and 0 space left on device - you tried to extract 2GB of files to 200MB of space

Originally Posted by karam View Post
ohhh i know this i thought you ment extract the .img
so back to the old fasion way
n900 reboots again
If you still have problems with extracting (phone reboots while doing that) and you have access to PC, you can connect your phone to PC, transfer lzma file there, extract it on computer and copy the extracted image back to N900. Under linux, instructions are basically the same, but I think you are rather not linux-guy :P Under Windows you can use program called "7-zip" to open and extract it. It's available for free at www.7-zip.org
 

The Following User Says Thank You to misiak For This Useful Post:
Posts: 856 | Thanked: 1,681 times | Joined on Apr 2010 @ Aleppo ,Syria
#34
my question is with command mount /dev/ext2 or /dev/ext3 /mnt/n900sd
what happened with you and where did you get ext2 or 3 in /dev directory there is no ext3 or 2 (maybe created them?)
 
Posts: 856 | Thanked: 1,681 times | Joined on Apr 2010 @ Aleppo ,Syria
#35
Originally Posted by misiak View Post
Do you know what it means? The "mount" command tries to mount some partition of your hdd (in this case phone memory) in your filesystem, so it would be accesible via /mnt/n900sd in this case. It's needed to be done for every partition/storage/etc.etc. to read or write files on them. It FAILED. So /mnt/n900sd was not poining to any external partition (as it should), it was just a directory (think of "mount" partition as some magic trick to change a folder into a hard disc ). So when you ran "tar" command, N900 tried to decompress whole 2GB EasyDebian image to small N900's 200MB root file system. That's why you got errors and 0 space left on device - you tried to extract 2GB of files to 200MB of space



If you still have problems with extracting (phone reboots while doing that) and you have access to PC, you can connect your phone to PC, transfer lzma file there, extract it on computer and copy the extracted image back to N900. Under linux, instructions are basically the same, but I think you are rather not linux-guy :P Under Windows you can use program called "7-zip" to open and extract it. It's available for free at www.7-zip.org

i have already done that and i used to use v3d image
just want to stop rebooting while installing lots packages in the debian chroot it self
by installing to the filesystem
beleive me i'm not so noob but how to do as andrew says?
thanks for help .)

Last edited by karam; 2011-05-08 at 18:55.
 
Posts: 139 | Thanked: 97 times | Joined on Nov 2010 @ United States
#36
Originally Posted by karam View Post
my question is with command mount /dev/ext2 or /dev/ext3 /mnt/n900sd
what happened with you and where did you get ext2 or 3 in /dev directory there is no ext3 or 2 (maybe created them?)
Where did you get the idea of "/dev/ext3" or "/dev/ext2"? It's not valid!
 
Posts: 856 | Thanked: 1,681 times | Joined on Apr 2010 @ Aleppo ,Syria
#37
Originally Posted by AndrewX192 View Post
Where did you get the idea of "/dev/ext3" or "/dev/ext2"? It's not valid!
OOOOHH i ment with the command mount /dev/ext2 /mnt/n900sd
says
mount: mounting /dev/ext2 on /mnt/n900sd failed: No such file or directory

so no /dev/ext2
any fixes?
 
Posts: 805 | Thanked: 1,605 times | Joined on Feb 2010 @ Gdynia, Poland
#38
Originally Posted by karam View Post
my question is with command mount /dev/ext2 or /dev/ext3 /mnt/n900sd
what happened with you and where did you get ext2 or 3 in /dev directory there is no ext3 or 2 (maybe created them?)
No no no! You got it all wrong.
Note that you need to replace /dev/xxx with the formatted ext2|3 partition on the N900 or microSD card that you intend to use
Menas you have to replace xxx with partition path, not "ext3" or "ext2". Normally, your partitions are:
/dev/mmcblk0p1
/dev/mmcblk0p2
/dev/mmcblk0p3
/dev/mmcblk1p1
if you repartition your for example SD card (or EMMC) (while installing NITDroid for example you get extra partition /dev/mmcblk1p2 if you install it on SD card). I think it is rocket science for you anyway, so I won't provide here lots of not needed information about how to do that. Anyway, by default you have (beginning with mmcblk0) swap partition (for extending ram), /opt partition (for installing apps) and normal FAT32-formatted partition (which you can see via file manager or when you connect your phone to PC) and (beginning with mmcblk1) partition on memory card. You could for example format your whole memory card as ext3 (if you have linux pc) and replace /dev/xxx with /dev/mmcblk1p1 in these command then (if you have many memory cards around, you could do that to increase speed of easy debian)

EDIT:
Originally Posted by karam View Post
beleive me i'm not so noob but how to do as andrew says?
Sorry for the you-may-be-noob part of my post :P
 
Posts: 856 | Thanked: 1,681 times | Joined on Apr 2010 @ Aleppo ,Syria
#39
you said at page 1
replace /dev/xx with ext2 or ext3 ( the one partitioned in you r n900 or microsd )
 
Posts: 139 | Thanked: 97 times | Joined on Nov 2010 @ United States
#40
Originally Posted by karam View Post
OOOOHH i ment with the command mount /dev/ext2 /mnt/n900sd
says
mount: mounting /dev/ext2 on /mnt/n900sd failed: No such file or directory

so no /dev/ext2
any fixes?
You are after /dev/sd* or /dev/mmc+

You will need to repartion your storage (microSD?)

Last edited by AndrewX192; 2011-05-08 at 18:57. Reason: Typo
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:29.