LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-12-2011, 10:39 AM   #91
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0

Ok, entering "cp -Riv "$HOME" /media/Lexar" I get as output:

cp: cannot create directory `/media/Lexar': Permission denied

---------- Post added 09-12-11 at 10:40 AM ----------

If it makes any difference there isn't anything on this drive.
 
Old 09-12-2011, 10:59 AM   #92
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Quote:
Originally Posted by glenellynboy View Post
Ok, entering "cp -Riv "$HOME" /media/Lexar" I get as output:

cp: cannot create directory `/media/Lexar': Permission denied

---------- Post added 09-12-11 at 10:40 AM ----------

If it makes any difference there isn't anything on this drive.
Try this then:

Code:
sudo cp -Riv "$HOME" /media/Lexar
 
Old 09-12-2011, 11:08 AM   #93
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Wow--it produced a huge output. I recognize some of it as titles from my data.

I didn't have my drive inserted when I ran this last code.

Last edited by glenellynboy; 09-12-2011 at 11:11 AM.
 
Old 09-12-2011, 11:25 AM   #94
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Big problem--

That last code filled up my hard drive and messaged me that it is running out of space. I looked at my files and there is no free space left on my disk. The flash drive is still empty.

Did it recopy my data onto the hard drive?
 
Old 09-12-2011, 11:34 AM   #95
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Here is what I did:

After posting the results of entering "mount" and "/dev/sd*" with the stick first out then in for each, I extracted the stick. Then I ran

sudo cp -Riv "$HOME" /media/Lexar
 
Old 09-12-2011, 11:37 AM   #96
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Quote:
Originally Posted by glenellynboy View Post
I didn't have my drive inserted when I ran this last code.
...

That was the command to copy the data to your backup drive! It was supposed to be inserted!

Try inserting the drive and running the command again.

Also, forget about all the commands except the "cp" one. They were to find out the name of the drive, which we already know.

Last edited by MTK358; 09-12-2011 at 11:41 AM.
 
Old 09-12-2011, 11:48 AM   #97
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
I can't seem to get rid of the recurring bubble that says "low disk space". It only gives me a button to "solve this problem." When I click on the button a pop-up gives me three alternatives:

close the pop-up
empty trash
expand with an SD card

After closing the pop-up, the bubble comes back in a short time.
 
Old 09-12-2011, 11:50 AM   #98
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Here's an important point:

In taking the drive in and out of the socket I wasn't careful to be sure I always put it in the same socket. Now I'm not sure which one to use.
 
Old 09-12-2011, 11:55 AM   #99
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
How am I going to put my disk back in its original state?
 
Old 09-12-2011, 12:01 PM   #100
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Post the output of "ls -l /media/Lexar".
 
Old 09-12-2011, 12:05 PM   #101
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
It's a big text that went off-window and the scroll bar isn't working so I couldn't copy all of it. Here's what is showing:

drwxr-xr-x 8 root root 4096 2011-09-12 11:39 Documents
drwxr-xr-x 2 root root 4096 2011-09-12 11:41 Downloads
-rw-r--r-- 1 root root 0 2011-09-12 11:41 firefox-3.6.tar.bz2
lrwxrwxrwx 1 root root 22 2011-09-12 11:41 libfreebl3.so -> /usr/lib/libfreebl3.so
lrwxrwxrwx 1 root root 20 2011-09-12 11:41 libnspr4.so -> /usr/lib/libnspr4.so
lrwxrwxrwx 1 root root 19 2011-09-12 11:41 libnss3.so -> /usr/lib/libnss3.so
lrwxrwxrwx 1 root root 22 2011-09-12 11:41 libnssckbi.so -> /usr/lib/libnssckbi.so
lrwxrwxrwx 1 root root 19 2011-09-12 11:41 libplc4.so -> /usr/lib/libplc4.so
lrwxrwxrwx 1 root root 20 2011-09-12 11:41 libplds4.so -> /usr/lib/libplds4.so
lrwxrwxrwx 1 root root 21 2011-09-12 11:41 libsmime3.so -> /usr/lib/libsmime3.so
lrwxrwxrwx 1 root root 23 2011-09-12 11:41 libsoftokn3.so -> /usr/lib/libsoftokn3.so
lrwxrwxrwx 1 root root 19 2011-09-12 11:41 libssl3.so -> /usr/lib/libssl3.so
-rw-r--r-- 1 root root 0 2011-09-12 11:41 mozilla.pdf
drwxr-xr-x 2 root root 4096 2011-09-12 11:03 Music
drwxr-xr-x 3 root root 4096 2011-09-12 11:39 Pictures
drwxr-xr-x 21 root root 4096 2011-09-12 11:41 user
drwxr-xr-x 3 root root 4096 2011-09-12 11:21 Videos
 
Old 09-12-2011, 12:14 PM   #102
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Run:

Code:
sudo rm -rfv /media/Lexar
with the drive unplugged. This should remove the unwanted files.

Then, plug the drive back in, and run:

Code:
sudo cp -Riv "$HOME" /media/Lexar

Last edited by MTK358; 09-12-2011 at 12:15 PM.
 
1 members found this post helpful.
Old 09-12-2011, 12:19 PM   #103
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Good!
My disk is back to its previous state.

Thanks!

Ok, now what about determining which slot to put my flash drive in? Does it matter? Did the "mount" et. al. commands determine this? Should I run them again? Because I don't recall which slot the drive was in when I ran "mount" et. al. I don't want to run this last code unless either it doesn't matter which slot I use, or I know which one to use.

Last edited by glenellynboy; 09-12-2011 at 12:25 PM.
 
Old 09-12-2011, 12:24 PM   #104
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Quote:
Originally Posted by glenellynboy View Post
Ok, now what about determining which slot to put my flash drive in? Does it matter? Did the "mount" et. al. commands determine this? Should I run them again?
It looks like it automatically detects the name of the drive and uses that (why else would the directory it automatically mounts to ber named "Lexar"?), so I don't think it matters.

EDIT: If you want to be really sure, run this after plugging in the drive:

Code:
ls /media
and make sure the output contains "Lexar".

Last edited by MTK358; 09-12-2011 at 12:28 PM.
 
Old 09-12-2011, 12:26 PM   #105
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Yes, I was thinking the same thing about the name "Lexar". Ok, I'll try this last code again with the drive inserted.
 
  


Reply

Tags
linpus, mint, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a substantial difference between Linux Mint Ubuntu and Linux Mint Debian? schachwizard Linux Mint 4 10-09-2010 11:27 PM
Linpus Lite - Change File/Folder Permissions osaddict Linux - Newbie 25 09-05-2010 03:01 PM
Linpus Lite and Linpus 9.6 pane sizes outside viewable screen area Dave Wakefield Linux - Software 0 04-02-2009 08:14 AM
How do I replace Linux Mint with Suse 11.0 on PC with Win XP Mint and Ubuntu? jremsen Linux - Software 4 02-15-2009 06:54 AM
Desktop search in Linpus, Change from Yahoo to Google Debizzle Linux - Newbie 2 01-08-2009 02:58 PM


All times are GMT -5. The time now is 10:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration