|
|
2007-07-08
, 18:26
|
|
Posts: 3,401 |
Thanked: 1,255 times |
Joined on Nov 2005
@ London, UK
|
#2
|
# insmod /mnt/initfs/lib/modules/current/ext2.ko # mkdir /opt/ # mount /dev/mmcblk0p2 /opt # mkdir /floppy/ # mount -t jffs2 /dev/mtdblock4 /floppy
|
|
2007-07-08
, 18:34
|
|
Posts: 3,401 |
Thanked: 1,255 times |
Joined on Nov 2005
@ London, UK
|
#3
|
ls
ls -la
ls -lart
rm <filename>
rm -fr <directory name>
mkdir <directory name>
cd <new directoryname>
|
|
2007-07-08
, 19:26
|
|
Posts: 49 |
Thanked: 3 times |
Joined on Jul 2007
|
#4
|
Have you created the /opt directory as it explains immediately following the insmod command?
Code:# insmod /mnt/initfs/lib/modules/current/ext2.ko # mkdir /opt/ # mount /dev/mmcblk0p2 /opt # mkdir /floppy/ # mount -t jffs2 /dev/mtdblock4 /floppy
|
|
2007-07-08
, 19:35
|
|
Posts: 3,401 |
Thanked: 1,255 times |
Joined on Nov 2005
@ London, UK
|
#5
|
sfdisk -L --force /dev/mmcblk0
|
|
2007-07-08
, 20:02
|
|
Posts: 49 |
Thanked: 3 times |
Joined on Jul 2007
|
#6
|
OK, do you have two partitions created on your external memory card? The first partition should be formatted with FAT, the second formatted with ext2.
If you're not sure, run this command
and paste the results here (press ctrl-c to exit from the sfdisk prompt).Code:sfdisk -L --force /dev/mmcblk0
|
|
2007-07-08
, 20:29
|
|
Posts: 3,401 |
Thanked: 1,255 times |
Joined on Nov 2005
@ London, UK
|
#7
|
|
|
2007-07-08
, 20:50
|
|
Posts: 49 |
Thanked: 3 times |
Joined on Jul 2007
|
#8
|
OK, so you have a second Linux partition... the directory exists... all should work. Have you formatted it with ext2? Beyond that, I don't know what the problem is... check you are typing the commands correctly.
|
|
2007-07-08
, 21:02
|
|
Posts: 3,401 |
Thanked: 1,255 times |
Joined on Nov 2005
@ London, UK
|
#9
|
Does that mean that I already have the /opt/ directory made ?? And if so, should I find it and delete it and make it again ??
|
|
2007-07-08
, 21:12
|
|
Posts: 49 |
Thanked: 3 times |
Joined on Jul 2007
|
#10
|
Yes - that means it's already there. You can delete it and try again if you want (rm -fr /opt) but only do this if you're sure (getting it wrong could mean bad things happen).
Have you formatted the second partition on the memory card with the ext2 filesystem yet? If not, you should go ahead and do that before attempting to mount /opt (it's safe - as long as you don't make any mistakes - and it will of course delete all data in the second partition on you memory card).
http://maemo.org/community/wiki/howt...from_mmc_card/
I have had a few roadblocks along the way, but members from this forum have been very helpful so far, and now I have found a new roadblock at the mounting step after installing the initfs_flasher.
I answered all the questions and rebooted. I succesfully ran this line insmod /mnt/initfs/lib/modules/current/ext2.ko , but when trying to mount (mount /dev/mmcblk0p2 /opt ), I get one of the following errors. Either:
mount: Mounting /dev/mmcblk0p2 on /opt failed: No such file or directory
Or, if I type: mount /dev/mmcblk0p2 without the /opt option, I get :
Can't find /dev/mmcblk0p2 in /etc/fstab.
I am soooo close to finishing this. Please help me get over this hump !!!!
Should I format the memory card and try all the steps again from the begining ???, or is there an easy solution to this ???
Also, is there a tutorial for the xterm commands ??. I would love to know the commands for exploring folders and files, and deleting files, looking at the directory structure of a folder, etc.