LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 01-25-2006, 06:26 PM   #1
cdc5205
LQ Newbie
 
Registered: Jan 2006
Distribution: Ubuntu 7.04
Posts: 21

Rep: Reputation: 16
Mount secondary HDD


I'm trying to mount a seconday hard drive, it contains music files that I would like to play while on linux. I've had it mounted before, and i'm not real fimilar with linux and for awhile it would be mounted when I would load my linux partion. Now it's isn't mounted anymore, and i've forgotten how. The filesystem is NTFS, when it was monted before it was set up so I couldn't write to the disk, just read from it. And that was fine.

How do i go about mounting the drive under SuSE 10. On KDiskFree, it has the drive listed and the mount point is /mnt/ddrive
when I right click on it there and click mount it says:

special device:/dev/hda1 does not exsist
 
Old 01-25-2006, 06:35 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
add it to fstab. Do a search here. There are a lot of posts about adding ntfs partitions to fstab. Then you can mount it.
 
Old 01-25-2006, 06:35 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
To mount the drive for the user with user id 1000 and group id 102 (check in /etc/passwd and /etc/group for yours), you can use the following if the partition is /dev/hda1 (this is common on dual boot systems but not guaranteed - please check with fdisk -l):

Code:
mount -t ntfs -o uid=1000,gid=102,umask=000 /dev/hda1 /mnt/ddrive
If you're going to use it regularly, it might be worth adding it to your /etc/fstab file so that it gets mounted at boot time. The users option is so that non-root users can mount/unmount it:

Code:
/dev/hda1   /mnt/ddrive   ntfs   auto,users,ro,uid=1000,gid=102,umask=000   0  0
 
Old 01-25-2006, 06:37 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
goto console as root
type:
cat /proc/partitions

post the output
 
Old 01-25-2006, 06:42 PM   #5
cdc5205
LQ Newbie
 
Registered: Jan 2006
Distribution: Ubuntu 7.04
Posts: 21

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Finlay
goto console as root
type:
cat /proc/partitions

post the output
Code:
major minor  #blocks  name

   8     0  117246528 sda
   8     1  112117603 sda1
   8     2     522112 sda2
   8     3    4602622 sda3
   3    64  156290904 hdb
   3    65  156288321 hdb1
 
Old 01-25-2006, 06:45 PM   #6
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
there you go
you don't have an hda

could it be hdb?
 
Old 01-25-2006, 06:52 PM   #7
cdc5205
LQ Newbie
 
Registered: Jan 2006
Distribution: Ubuntu 7.04
Posts: 21

Original Poster
Rep: Reputation: 16
Alright i got it, thanks. I went into my fstab, and this was there:
Code:
/dev/hda1 /mnt/ddrive ntfs ro,user,umask=0222,uid=Chad     0 0
Changed it to hdb1 and now it works. Does that line look proper? It works.
 
Old 01-25-2006, 06:53 PM   #8
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
looks good

For the other posters:
Always check VCC and ground first...
 
Old 01-25-2006, 07:00 PM   #9
cdc5205
LQ Newbie
 
Registered: Jan 2006
Distribution: Ubuntu 7.04
Posts: 21

Original Poster
Rep: Reputation: 16
apparently at one point /dev/hda1 worked, because i had it mounted, and it randomly changed to hdb1, why?
 
Old 01-25-2006, 07:04 PM   #10
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I think you need the opinion of a hardware guru perhaps someone who can check between VCC and ground
Perhaps you've added or removed hard disks, had connectors changed...
 
Old 01-25-2006, 07:09 PM   #11
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
It's Australia Day and I've just been handed the bbq tongs

Have a good day everyone, my wife wants me to stop annoying you folks and get the barbecue ready 'cos our guests will be here soon.
 
Old 01-25-2006, 09:47 PM   #12
ampex189
Member
 
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: mepis 3.3.1
Posts: 82

Rep: Reputation: 15
isnt the umask supposed to have 3 digits instead of 4?
 
  


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
Secondary Hdd Problems (/dev/hdb) with Suse 10 shahpnectah SUSE / openSUSE 3 12-11-2005 12:27 AM
mount secondary hdd martinez9049 Linux - Newbie 13 04-22-2005 09:59 PM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM
Mounting Secondary HDD nairnie Linux - Newbie 7 11-17-2003 07:00 AM
w permission on secondary hdd retiem Linux - General 2 07-21-2003 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:11 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