LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-08-2006, 04:35 AM   #1
LetMeTryToo
LQ Newbie
 
Registered: Sep 2006
Distribution: Zenwalk 4
Posts: 10

Rep: Reputation: 0
where are files after mount sdb1?


Hi all,

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?

Any help greatly appreciated!
 
Old 11-08-2006, 04:42 AM   #2
my.dying.bride
LQ Newbie
 
Registered: Nov 2006
Distribution: Vector Soho Edition 5.1(Best yet)
Posts: 25

Rep: Reputation: 15
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.
 
Old 11-08-2006, 04:42 AM   #3
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
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

Too slow typing for me
 
Old 11-08-2006, 04:52 AM   #4
LetMeTryToo
LQ Newbie
 
Registered: Sep 2006
Distribution: Zenwalk 4
Posts: 10

Original Poster
Rep: Reputation: 0
Ok, tnx for the quick replies

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 01:58 PM.
 
  


Reply


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
mount: /dev/sdb1 is not a valid block device zaltar Linux - General 8 07-13-2005 03:07 AM
USB key /dev/sdb1 permissions problem... zparihar Linux - Hardware 6 02-03-2005 06:22 PM
SDB1 IS NOT A VALID BLOCK DEVICE - CF reader help woodo Linux - Software 12 07-07-2004 10:52 AM
mount: wrong fs type, bad option, bad superblock on /dev/sdb1 pmoreira Linux - Hardware 5 02-26-2004 11:31 AM
sdb but no sdb1? Moebius Linux - Hardware 3 02-15-2004 07:16 AM


All times are GMT -5. The time now is 08:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration