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.
So what is the difference between /dev/sdb1 and /media/CORSAIR/ ?
The /dev/sdb1 is the device itself as discovered and assigned by the operating system. It's a 'special file'. On the other hand /media/CORSAIR/ is just a directory nothing more. But using the mount command (Ubuntu did this for you) the device /dev/sdb1 got connected to the directory (in this case also called mountpoint) so that the contents of the device are available to system and users.
oh, so -R is really important, because otherwise the contents of a directory aren't copied ?
If so, maybe that's why I didn't get all these errors when I copied the directory the first time around.
It may sound crazy to you, because I'm the one using the computer, but I think you're better suited than I am to know if I've got all the files I need on my computer.
I mean, it's quite difficult for me to list everything I made in the last months. I'm not 100% sure whether I've only used the $home directory. Where do you feel like there might be files/preferences/softwares/.../ I didn't save yet?
oh, so -R is really important, because otherwise the contents of a directory aren't copied ?
If so, maybe that's why I didn't get all these errors when I copied the directory the first time around.
It may sound crazy to you, because I'm the one using the computer, but I think you're better suited than I am to know if I've got all the files I need on my computer.
I mean, it's quite difficult for me to list everything I made in the last months. I'm not 100% sure whether I've only used the $home directory. Where do you feel like there might be files/preferences/softwares/.../ I didn't save yet?
Are you fscking your partition?
Type into the Terminal, "sudo fsck.ext4 -p /dev/sda5" (without the quotes)
leopard, is it normal that you deleted the f option as well ?
anyway, I wrote it and the output was :
/dev/sda5 is mounted.
WARNING !! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.
Do you really want to conitnue (y,n) ?
Let's sum up the situtation, because leopard seems lost.
I'm about to try what you, leopard, asked as a last resort before reinstalling the whole system.
Yet I think I already made that procedure (e2fsck), which didn't work, so at the same time I'm being helped by Eric who is helping me to save everything I have so that I can safely reinstall the whole system, which seems unstable anyway.
leopard you've got to understand this situation has been unsolved for weeks, and I already did that, so I have little hope honestly. But let's try it nonetheless one last time before reinstalling everything, it can't get worse than it is right now.
Well the function has exited. The output was :
/dev/sda5 was not cleanly unmounted, check forced.
/dev/sda5: 3451584/5146542 files (2% non contiguous), 2584624/5120000 blocks.
Well the function has exited. The output was : /dev/sda5 was not cleanly unmounted, check forced.
/dev/sda5: 3451584/5146542 files (2% non contiguous), 2584624/5120000 blocks.
What should I do now ?
thats the problem. Try restarting, if the command has completely finished
oh, so -R is really important, because otherwise the contents of a directory aren't copied ?
If so, maybe that's why I didn't get all these errors when I copied the directory the first time around.
It may sound crazy to you, because I'm the one using the computer, but I think you're better suited than I am to know if I've got all the files I need on my computer.
I mean, it's quite difficult for me to list everything I made in the last months. I'm not 100% sure whether I've only used the $home directory. Where do you feel like there might be files/preferences/softwares/.../ I didn't save yet?
Yes, the -R (or -r or --recursive) are important if you want to copy subdirectories and their contents also. Have a look at the man page of cp:
Code:
man cp
. You'll see there are a lot more options you could use.
Your personal files are normally saved in the /home/<yourusername> directory. That is, your FILES, not the programs you installed. User preferences and such also get saved in the same directory but in 'hidden' subdirectories, like .gnome2 and others (the leading . indicates it's a hidden directory).
Programs normally get installed below the /usr directory, with program preferences and configurations in the /etc directory. Where depends on the installation script that came with the package you installed. Some install in /usr/local, others in /usr/bin, /usr/sbin, and so on.
It's pretty hard to get everything back up and running the same way if you have no reference point whatsoever, meaning, if you don't remember what you have installed then it's hard to find the config files for it.
When you get your system up and running again I'll give you some pointers what to save/backup in order to almost automatically restore your system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.