maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Troubleshooting (https://talk.maemo.org/forumdisplay.php?f=6)
-   -   You guys have been great, but new Mount error !! (https://talk.maemo.org/showthread.php?t=7432)

Milhouse 2007-07-08 21:31

Re: You guys have been great, but new Mount error !!
 
It's linked from the tutorial - follow the link in the section titled "Second: you need to partition your MMC !".

There should be no problems starting from scratch, although some directories you have previously created may be present so just be prepared to see a few "directory already exists" type errors when creating (mkdir) directories.

fibroman 2007-07-08 22:46

Re: You guys have been great, but new Mount error !!
 
Quote:

Originally Posted by Milhouse (Post 58012)
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).

O.K. I went back and properly formatted the second partition on the memory card with the ext2 filesystem. I then was finally able to mount /opt !!!
But now, I am stuck at the step just before I clone the system to the memory card.
I have typed in the following lines without a problem:
# apt-get -d install tar
# cd /var/cache/apt/archives/
# mkdir /tar-temp/
These all worked fine, but after typing the next line: # dpkg -x tar*.deb /tar-temp/
I get the following error: dpkg-deb: failed to read archive tar*.deb': No such file or directory.

If I can get passed this I think I am home free !!!!

Milhouse 2007-07-08 23:20

Re: You guys have been great, but new Mount error !!
 
Is your current directory correct? Check it with the command "pwd"

Your current directory should be "/var/cache/apt/archives" - if it is, then check what files are in that directory by typing "ls -la" and pasting the output here.

3. If you're in the correct directory and you can't see the tar*.deb file (it will be called something like tar_1.14-2.1osso_armel.deb) then double check that you downloaded it correctly when you ran "apt-get -d install tar"

fibroman 2007-07-09 00:56

Re: You guys have been great, but new Mount error !!
 
Quote:

Originally Posted by Milhouse (Post 58051)
Is your current directory correct? Check it with the command "pwd"

Your current directory should be "/var/cache/apt/archives" - if it is, then check what files are in that directory by typing "ls -la" and pasting the output here.

3. If you're in the correct directory and you can't see the tar*.deb file (it will be called something like tar_1.14-2.1osso_armel.deb) then double check that you downloaded it correctly when you ran "apt-get -d install tar"


When I run apt-get -d install tar, this is what it says:
Reading package lists ... Done
Building dependency tree... Done
Note, selecting busybox instead of tar
busybox is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Does this mean that the tar*.deb file was not sucessfully downloaded ??

fibroman 2007-07-09 01:04

Re: You guys have been great, but new Mount error !!
 
Quote:

Originally Posted by Milhouse (Post 58051)
Is your current directory correct? Check it with the command "pwd"

Your current directory should be "/var/cache/apt/archives" - if it is, then check what files are in that directory by typing "ls -la" and pasting the output here.

3. If you're in the correct directory and you can't see the tar*.deb file (it will be called something like tar_1.14-2.1osso_armel.deb) then double check that you downloaded it correctly when you ran "apt-get -d install tar"

This is what is currently in my /var/cache/apt/archives directory:

/var/cache/apt/archives # ls -la
drwxr-xr-x 3 root root 0 Jul 7 06:05 .
drwxr-xr-x 3 root root 0 Jul 7 06:05 ..
-rw-r----- 1 root root 0 Jul 7 06:05 lock
drwxr-xr-x 2 root root 0 Jul 7 06:04 partial
/var/cache/apt/archives #

It does not look like I have succesfully downloaded the tar*.deb file.
I have made sure that I am connected to the internet when I try to apt-get command, so I do not know what else I should do to find the tar*deb file.

Milhouse 2007-07-09 03:04

Re: You guys have been great, but new Mount error !!
 
1 Attachment(s)
I really don't know what you've done... I have you didn't run "apt-get install tar" by mistake as you don't seem to have downloaded tar at all. I've attached a copy to this message which may work for you instead.

Unzip tar from the attached file and when it's on your 770, execute "chmod +x tar" as root.

fibroman 2007-07-09 09:08

Re: You guys have been great, but new Mount error !!
 
Quote:

Originally Posted by Milhouse (Post 58104)
I really don't know what you've done... I have you didn't run "apt-get install tar" by mistake as you don't seem to have downloaded tar at all. I've attached a copy to this message which may work for you instead.

Unzip tar from the attached file and when it's on your 770, execute "chmod +x tar" as root.


Thanks for the tar file. I have downloaded and unziped it on my 770, and executed the chmod +x tar command.
The tar file is sitting in MyDocs/.documents directory. Do I need to move it to another directory and if so, what are the commands for doing it.
What is supposed to happen next ?
should I now skip this command : # dpkg -x tar*.deb /tar-temp/
and go directly to this command : # /tar-temp/bin/tar cf - -C /floppy . | /tar-temp/bin/tar xvf - -C /opt

Milhouse 2007-07-09 14:12

Re: You guys have been great, but new Mount error !!
 
Use "mv <sourcepath> <destinationpath>" to move a file Unix, or "cp <sourcepath> <destinationpath>" to copy a file.

You need to create the following directory:

Code:

mkdir /tar-temp/bin
Then move the tar file executable to the /tar-temp/bin directory using the following command (which assumes your current directory is MyDocs/.documents)

Code:

mv tar /tar-temp/bin
Then continue with the "/tar-temp/bin/tar cf - -C ..." command, you're now done with dpkg.

fibroman 2007-07-09 18:36

Re: You guys have been great, but new Mount error !!
 
Quote:

Originally Posted by Milhouse (Post 58218)
Use "mv <sourcepath> <destinationpath>" to move a file Unix, or "cp <sourcepath> <destinationpath>" to copy a file.

You need to create the following directory:

Code:

mkdir /tar-temp/bin
Then move the tar file executable to the /tar-temp/bin directory using the following command (which assumes your current directory is MyDocs/.documents)

Code:

mv tar /tar-temp/bin
Then continue with the "/tar-temp/bin/tar cf - -C ..." command, you're now done with dpkg.

O.K. I am DONE !!!! With your help, I have finally completed this !!!!
I have sucessfully transfered the system to the Memory card and have booted directly to the card !!!
I just want to thank you for your patience with me, and your continued support. I hope that I become savy enough with this operating system, so that I may help others in the future, like you helped me.


All times are GMT. The time now is 16:14.

vBulletin® Version 3.8.8