LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-11-2011, 08:35 PM   #76
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723

Then try "terminal" in that Run window.
 
Old 09-11-2011, 08:35 PM   #77
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
I tried konsole. It didn't paste. Typing random keys didn't register.
 
Old 09-11-2011, 08:39 PM   #78
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
I tried "terminal". Although typing random keys registered, the paste operation did nothing.
 
Old 09-11-2011, 09:32 PM   #79
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Other terminals can paste normally using the right-click menu.

Ctrl+C and Ctrl+V won't work in any terminal, though, since they already do other things there.
 
Old 09-12-2011, 12:10 AM   #80
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
I'm glad that you finally managed to get a terminal working. Don't worry about the copy-and-paste too much; it's basically to prevent typing errors (e.g. the different between '1' (one) and 'l' (lower case L) is often not clear).

Open the terminal that shows 'user@localhost:~'; that text is called the prompt. The '~' at the end indicates that you're in the user's home directory.

At the prompt, issue the mount command as show below
Code:
wim@ubuntu-desktop01:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)
/dev/sda5 on /home type ext4 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/wim/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=wim)
wim@ubuntu-desktop01:~$
What you see is not that important but you need to compare it with result of the next step to determine where your memory stick is mounted.

Insert your memory stick and run the mount command again (after some seconds)
Code:
wim@ubuntu-desktop01:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)
/dev/sda5 on /home type ext4 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/wim/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=wim)
/dev/sdb1 on /media/STORE N GO type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
wim@ubuntu-desktop01:~$
In this case the blue bold line was added. /dev/sdb1 is the memory stick and it is mounted on /media/STORE N GO (the so-called mount point); yours will probably also be '/dev/sdb1' but '/media/STORE N GO' will be different.

If you don't get anything here, let us know. We probably have to mount it manually.

Next we determine who you exactly are (the user name) and where
Code:
wim@ubuntu-desktop01:~$ id
uid=1000(wim) gid=1000(wim) groups=4(adm),20(dialout),24(cdrom),46(plugdev),105(lpadmin),119(admin),122(sambashare),1000(wim)
wim@ubuntu-desktop01:~$ pwd
/home/wim
wim@ubuntu-desktop01:~$
Yours will probably be 'user' (the user name) and '/home/user' (the home directory); if not, let us know

Next move up one directory using cd .. (cee dee dot dot)
Code:
wim@ubuntu-desktop01:~$ cd ..
wim@ubuntu-desktop01:/home
And next you're ready to copy using cp -r (cee pee minus ar)
Code:
wim@ubuntu-desktop01:/home$ cp -r wim/ /media/STORE\ N\ GO/
wim@ubuntu-desktop01:/home$
Replace 'wim' by the user name that you found earlier and replace '/media/STORE\ N\ GO/' by the mount point that you found earlier. 'cp' is the copy command, '-r' tells it to copy recursively (meaning going through all sub directories), 'wim' is the source directory and '/media/STORE\ N\ GO/' is the destination directory.

Copying might take a while; there will be no indication till it is finished. If you get errors/warnings, let us know the exact text (copy and paste from the terminal into your browser while posting)

If a file browser was opened after you inserted the memory stick, you will more than likely now see the copied home directory in there.

Now safely remove the memory stick and verify on another computer that everything that you want is there.

Obviously you can not use this memory stick to install the distro unless you first copy the data to another computer.

By the way, your system is a 32 bit system as far as I know. To be safe, download the 32 bit version of mint.

Last edited by Wim Sturkenboom; 09-12-2011 at 12:14 AM.
 
Old 09-12-2011, 06:46 AM   #81
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by Wim Sturkenboom View Post
I'm glad that you finally managed to get a terminal working. Don't worry about the copy-and-paste too much; it's basically to prevent typing errors (e.g. the different between '1' (one) and 'l' (lower case L) is often not clear).
First, he didn't get a terminal working, and second, how is he supposed to paste long command output here without copy and paste?

Quote:
Originally Posted by Wim Sturkenboom View Post
What you see is not that important but you need to compare it with result of the next step to determine where your memory stick is mounted.

Insert your memory stick and run the mount command again (after some seconds)

In this case the blue bold line was added. /dev/sdb1 is the memory stick and it is mounted on /media/STORE N GO (the so-called mount point); yours will probably also be '/dev/sdb1' but '/media/STORE N GO' will be different.
I haven't thought about the possibility of it auto-mounting. I haven't used any of the "normal" desktops in a really long time.

Quote:
Originally Posted by Wim Sturkenboom View Post
Next we determine who you exactly are (the user name) and where
Code:
wim@ubuntu-desktop01:~$ id
uid=1000(wim) gid=1000(wim) groups=4(adm),20(dialout),24(cdrom),46(plugdev),105(lpadmin),119(admin),122(sambashare),1000(wim)
wim@ubuntu-desktop01:~$ pwd
/home/wim
wim@ubuntu-desktop01:~$
Yours will probably be 'user' (the user name) and '/home/user' (the home directory); if not, let us know

Next move up one directory using cd .. (cee dee dot dot)
Code:
wim@ubuntu-desktop01:~$ cd ..
wim@ubuntu-desktop01:/home
And next you're ready to copy using cp -r (cee pee minus ar)
Code:
wim@ubuntu-desktop01:/home$ cp -r wim/ /media/STORE\ N\ GO/
wim@ubuntu-desktop01:/home$
Or just run:

Code:
cp -r "$HOME" /media/name\ of\ your\ drive
in any directory. And you don't even need to manually find out your name and home directory. Also, the resson for the backslashes in front of the spaces is to keep the shell from interpreting them as separators. Another alternative is to wrap the path in quotes:

Code:
cp -r "$HOME" "/media/name of your drive"

Quote:
Originally Posted by Wim Sturkenboom View Post
By the way, your system is a 32 bit system as far as I know. To be safe, download the 32 bit version of mint.
Or run:

Code:
uname -m
to find out.

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

Original Poster
Rep: Reputation: 0
I succeeded in copying from forum to xterm. I previously forgot that you move the cursor to the spot where you want to paste.

Here is the output after now pasting:

ls: cannot access /dev/sd: No such file or directory

It appeared after both pastes of "ls /dev/sd:
 
Old 09-12-2011, 07:20 AM   #83
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by glenellynboy View Post
I succeeded in copying from forum to xterm. I previously forgot that you move the cursor to the spot where you want to paste.

Here is the output after now pasting:

ls: cannot access /dev/sd: No such file or directory

It appeared after both pastes of "ls /dev/sd:
I said "/dev/sd*", not "/dev/sd".

Also, before trying "ls /dev/sd*", try posting the output of the "mount" command before and after plugging in the drive, in case your system automatically mounts the drive.
 
Old 09-12-2011, 08:46 AM   #84
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by MTK358 View Post
First, he didn't get a terminal working, and second, how is he supposed to paste long command output here without copy and paste?
I think/thought he did get xterm working when he wrote 'user@localhost:$'. I admit that I forgot about pasting from his machine to the forum

Quote:
Originally Posted by MTK358 View Post

Or run:

Code:
uname -m
to find out.
OK, that returns i686 (on my Aspire One) so 32 bit.

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

Original Poster
Rep: Reputation: 0
Using the text "/dev/sd*" I got this output, both times:

bash: /dev/sda: Permission denied
 
Old 09-12-2011, 10:07 AM   #86
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by glenellynboy View Post
Using the text "/dev/sd*" I got this output, both times:

bash: /dev/sda: Permission denied
You entered "ls /dev/sd*", not "/dev/sd*", right?

Also, I told you to try "mount" before and after plugging it in and posting the output, and if that fails, then try "ls /dev/sd*".
 
Old 09-12-2011, 10:26 AM   #87
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Entering "mount", before insertion, gives this output:

/dev/sda1 on / type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
none on /sys type sysfs (rw)
none on /mnt/home type aufs (rw,si=d659c180,xino=/home/user/.aufs.xino,create=mfs,dirs=/home/user=rw)

Then after insertion, entering "mount" again, produces this output:

/dev/sda1 on / type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
none on /sys type sysfs (rw)
none on /mnt/home type aufs (rw,si=d659c180,xino=/home/user/.aufs.xino,create=mfs,dirs=/home/user=rw)
/dev/sdb1 on /media/Lexar type vfat (rw,nosuid,nodev,uhelper=hal,utf8,shortname=winnt,uid=500)

Now, entering "ls /dev/sd*" before insertion, produces output of:

/dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda5 /dev/sda6 /dev/sda7

And entering "ls /dev/sd*" after insertion gets this output:

/dev/sda /dev/sda2 /dev/sda5 /dev/sda7 /dev/sdb1
/dev/sda1 /dev/sda3 /dev/sda6 /dev/sdb
 
Old 09-12-2011, 10:31 AM   #88
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Then try this:

Code:
cp -Riv "$HOME" /media/Lexar
And this is a drive other than the one you are going to use to install the new Linux distro with, right?

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

Original Poster
Rep: Reputation: 0
I'm sorry, I lost the trail of instructions before the last couple posts. There was a lot in there, but some of it may be affected by the recent outputs. If I missed something, can you just give it to me again in a quote so you don't have to compose it again?
 
Old 09-12-2011, 10:36 AM   #90
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Quote:
And this is a drive other than the one you are going to use to install the new Linux distro with, right?
Yes, it is different. It's the one I will be using to backup my data.
 
  


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 9 07-29-2015 02:24 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:06 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration