LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-08-2008, 04:04 PM   #1
reddog
Member
 
Registered: Dec 2005
Posts: 34

Rep: Reputation: 15
access to slave drive in 7.10


I added a slave drive to my system from an old distro. I can't access the drive because I don't have permission, even tho I'm set as administrator. Any ideas??
thanks,
reddog
 
Old 03-08-2008, 04:19 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
How did you try to access the drive? (I.e., which commands did you use?)

Generally speaking you need to mount the device using the mount commands at some mount point in your file system (created with the mkdir command), for each different partition on the drive, specifying the file system and type of access you need.

If you want the drive automatically mounted, you'll find it easier to put the needed information in /etc/fstb. Here's what my Kubuntu fs table looks like:
Code:
$ cat /Ubuntu/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc /proc proc defaults 0 0
# /dev/sda2
UUID=9b52dc27-f2c9-4238-afaa-c8e4691ea777 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
# /dev/sda1
UUID=e8e90e29-1025-433d-aaab-fdab05150ddf /boot3 ext3 nouser,defaults,atime,auto,rw,dev,exec,suid 0 2
# /dev/sdb1
UUID=7E4C217A4C212E79  /XP     ntfs-3g    defaults,rw,umask=007,gid=4 0       1
# /dev/sda3
UUID=62a6c022-0e83-4992-a130-b5091116b0a2 none swap sw 0 0
/dev/hde /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
/dev/fd0 /media/floppy0 auto user,atime,noauto,rw,dev,exec,suid 0 0
/dev/FC7/Base /F7 ext3 nouser,defaults,atime,auto,rw,dev,exec,suid 0 0
UUID=9c3634d8-0a19-4ae5-ab1d-17447c134ea4 /F7/boot ext3 nouser,defaults,atime,auto,rw,dev,exec,suid 0 0
/dev/F8/Base /F8 ext3 nouser,defaults,atime,auto,rw,dev,exec,suid 0 0
LABEL=/boot1 /F8/boot ext3 nouser,defaults,atime,auto,rw,dev,exec,suid 0 0
The information in the UUID= or LABEL= descriptors may be found in the subdirectories of /dev/disk
 
Old 03-09-2008, 03:53 PM   #3
reddog
Member
 
Registered: Dec 2005
Posts: 34

Original Poster
Rep: Reputation: 15
fixed it

Thanx for the reply. Sorry I couldn't get back earlier, my internet access is limited and catch as catch can. I was running the live distro and the drive was installed before starting. Ubuntu recognized the drive and it was listed but my old home directories were access denied. I finally dug out my old copy of Running Linux and looked up the chmod command. Then after cd'ing into the dir above the locked directory: /media/disk/home, I did:

sudo chmod 755 directory

Then the directory tree was availble to me. This was an old hard drive from my old system. The computer died and I was wondering if my old files were ok. They are!

Thanx again,

reddog
 
  


Reply



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
convert a slave drive back into a master drive rbees Linux - General 6 01-24-2008 08:23 AM
how do i access a linux slave drive justmehere Linux - Hardware 4 08-01-2005 11:27 PM
Installing a slave drive brokenflea Linux - Hardware 3 02-15-2005 11:12 AM
Debian on master drive, now can I put a drive with W95 as slave? everest Linux - Software 0 07-03-2004 03:40 AM
how i can access my handydrive and secondy slave handdisk? JbCrash Linux - Software 2 06-24-2003 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:54 AM.

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
Open Source Consulting | Domain Registration