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.
After a few months with my fresh and very first Debian installation on a single harddisk, I decided to format the second harddisk and use it of course.
I mounted this harddisk to a folder called Free2, but there were files in it. Are they gone? My first harddisk doens't seem to have shrunk. The folder was about 30 GB big and I have every file on a backup disk as well.
So I thought, if they are gone, let's recopy them. But I am unable to copy anything to this folder.
What have I forgotten to do, or what did I do wrong?
The files are not gone. Just unmount your device away from your Free2 folder, and you will see the files stored in Free2 that you kept there before mounting. Most likely you have the Free2 folder on your fstab list and hence is mounted before you log in.
I'm not sure if really is sth you don't already know since it is kind of basic, but since it is a newbie post I'd still advice you to try : umount /mnt/Free2 and then , konqueror /mnt/Free2 or whatever file manager you use.
The files remain on the original partition. You can unmount the other hard drive and you should be able to access the old files again from the same place. This is why it's better to create a new empty folder to mount another partitions
I unmounted the drive and the files were back, then I created a new folder and mounted the partition to that newly created folder.
The next thing will probably be very basic too, but I have no permission in this folder. How do I set it to permit me to write to it?
And when I use 'chown ron sdb' where ron is my user name and sdb is de folder name where I mounted the drive, I get an error as well about unable to do the chown thing.
Last edited by LetMeTryToo; 11-08-2006 at 12:58 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.