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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
01-25-2006, 06:26 PM
|
#1
|
LQ Newbie
Registered: Jan 2006
Distribution: Ubuntu 7.04
Posts: 21
Rep:
|
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
|
|
|
01-25-2006, 06:35 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381
Rep:
|
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.
|
|
|
01-25-2006, 06:35 PM
|
#3
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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
|
|
|
01-25-2006, 06:37 PM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
goto console as root
type:
cat /proc/partitions
post the output
|
|
|
01-25-2006, 06:42 PM
|
#5
|
LQ Newbie
Registered: Jan 2006
Distribution: Ubuntu 7.04
Posts: 21
Original Poster
Rep:
|
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
|
|
|
01-25-2006, 06:45 PM
|
#6
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
there you go
you don't have an hda
could it be hdb?
|
|
|
01-25-2006, 06:52 PM
|
#7
|
LQ Newbie
Registered: Jan 2006
Distribution: Ubuntu 7.04
Posts: 21
Original Poster
Rep:
|
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.
|
|
|
01-25-2006, 06:53 PM
|
#8
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
looks good
For the other posters:
Always check VCC and ground first...
|
|
|
01-25-2006, 07:00 PM
|
#9
|
LQ Newbie
Registered: Jan 2006
Distribution: Ubuntu 7.04
Posts: 21
Original Poster
Rep:
|
apparently at one point /dev/hda1 worked, because i had it mounted, and it randomly changed to hdb1, why?
|
|
|
01-25-2006, 07:04 PM
|
#10
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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...
|
|
|
01-25-2006, 07:09 PM
|
#11
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
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.
|
|
|
01-25-2006, 09:47 PM
|
#12
|
Member
Registered: Aug 2003
Location: Vancouver, Canada
Distribution: mepis 3.3.1
Posts: 82
Rep:
|
isnt the umask supposed to have 3 digits instead of 4?
|
|
|
All times are GMT -5. The time now is 04:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|