I want to change from Linpus to either Mint or Ubuntu.
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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)
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.
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
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
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)
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
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.
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.
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:
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.