LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 02-21-2005, 01:18 AM   #1
joel b
Member
 
Registered: May 2004
Posts: 64

Rep: Reputation: 15
added hdb - want to access old data


Hi - thanks to all here who have helped me so far. I have my Fedora core 3 up and running - Now I added my old corrupted hard drive as a slave drive - I want to get in and access my old /home directory, which makes up about 90% of the drive. What I want to do is make hdb2 a permanent archive for music files, accessed by anyone but only able to be edited by myself. The purpose for this is to keep my data away from the main linux drive, hopefully so that I won't lose anything if I switch distros, or have a problem like I did originally on that disc, when my suse os went down (I still don't know what went wrong, but all the data files are there, I accessed them with knoppix running from cd).

Should I make /hdb my /home directory, or is there a better way? Through the gui, I am unable to view the contents of hdb.currently.
 
Old 02-21-2005, 03:02 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
1) If your hard drive is corrupt, I don't think your going to get very far. However you did say knoppix allowed you to read it.

2) mounting it. I'd create a folder for music and have the drive mounted.
type mount -t ext3 /dev/hdb2 /mnt/music assuming that /mnt/music exists and the filesystem was ext3.

3) Permissions. Once inside /mnt/music, type the following
chown username * substitute your name for username
chgrp users *
chmod 644 *

That should give everyone the ability to read the music and you get read/write.
If the drive is 90% used for music, I wouldn't want to have that drive mounted as /home, and if you want /mnt/music to be there all the time, your going to have to add a line in /etc/mtab. I think I covered everything, but post back if I missed something
 
  


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
Added users: Access denied freakin'me Linux - General 1 10-08-2005 05:19 AM
Can't seem to access hdb revenge80200 Debian 8 05-14-2005 09:13 PM
man page access for newly added users puffinman Linux - Newbie 3 01-22-2005 10:58 PM
How to mount hdb to access old files birdiechase Linux - Hardware 3 04-12-2004 09:45 AM
added 3rd HD, access rights problem Eradicator Linux - Hardware 2 09-26-2003 09:44 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration