Author Topic: [SOLVED] Multiple Hard Drives  (Read 796 times)

Offline SunWupen

  • Jr. Member
  • **
  • Posts: 24
[SOLVED] Multiple Hard Drives
« on: December 30, 2010, 10:37:15 AM »
Ever since I've had Linux (I think it was 2008 or 07 version) I've always had to wrestle with the fact that it doesn't recognize all my hard drives on boot.  I have 4 hard drives internally connected to my computer, and while they are "detected" every time and I can still access the files if I click on them, they don't appear to be considered connected on start-up.  In order to access any of the files using any program I have installed I need to first go to a file manager (I usually use Dolphin now but it was the same with the one I used in PCLinuxOS 09) and click on the hard drive for my programs to recognize that the hard drive is even there.

Its like it needs to be reminded that I have 4 hard drives whenever I start up my computer.  This is just a minor problem since I've never been prevented from accessing these files once it recognizes that the hard drives are there, its just an annoyance that I've dealt with for about 3 years now.  I thought that after installing PCLinuxOS 2010 it might have fixed this little problem but it didn't.  I still have to go through the same procedure of selecting each one of my hard drives in a file manager every time I start up.  The biggest annoyance of this problem is the fact that I keep all of my music and media on a specific hard drive.

Clementine has the option to make a music library (YAY!) much in the same way that Winamp can but it suffers from the same problem that every other program has with my hard drives.  Even though I have the correct path and folder location for my music, Clementine will not recognize the folder until I have gone into a file manager, selected the hard drive the music is on, waiting for it to refresh and recognize the hard drive, deleting my current entry for Clementine's music library location, and finally inputting the same library location again into the music library location.  It refuses to recognize the folder simply because it is on another hard drive and I have to go through this arduous task if I want to listen to music every time I restart my computer.  Considering I have a few gigs of music, it can take a while for Clementine to reload my library adding to the already time-consuming process.

In summation, my question is this:  Is there a way to make it so my hard drives are automatically detected and connected at startup so that I won't have to go to a file manager and select to connect them?
« Last Edit: December 30, 2010, 01:41:42 PM by SunWupen »

uncleV

  • Guest
Re: Multiple Hard Drives
« Reply #1 on: December 30, 2010, 11:14:02 AM »
Ever since I've had Linux (I think it was 2008 or 07 version)

. . .

In summation, my question is this:  Is there a way to make it so my hard drives are automatically detected and connected at startup so that I won't have to go to a file manager and select to connect them?
There are about 10 programs (GUI and CLI) to tell Linux to mount your partitions at startup.

And you could do it manually by editing the file /etc/fstab.

Search please the forum on "mounting partitions" and/or fstab.

If you are not satisfied with the information found ask again here please - it is quite easy to do it.
« Last Edit: December 30, 2010, 11:16:01 AM by uncleV »

Online Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6380
  • I'm going South
Re: Multiple Hard Drives
« Reply #2 on: December 30, 2010, 11:15:39 AM »
Ever since I've had Linux (I think it was 2008 or 07 version) I've always had to wrestle with the fact that it doesn't recognize all my hard drives on boot.  I have 4 hard drives internally connected to my computer, and while they are "detected" every time and I can still access the files if I click on them, they don't appear to be considered connected on start-up.  In order to access any of the files using any program I have installed I need to first go to a file manager (I usually use Dolphin now but it was the same with the one I used in PCLinuxOS 09) and click on the hard drive for my programs to recognize that the hard drive is even there.

Its like it needs to be reminded that I have 4 hard drives whenever I start up my computer.  This is just a minor problem since I've never been prevented from accessing these files once it recognizes that the hard drives are there, its just an annoyance that I've dealt with for about 3 years now.  I thought that after installing PCLinuxOS 2010 it might have fixed this little problem but it didn't.  I still have to go through the same procedure of selecting each one of my hard drives in a file manager every time I start up.  The biggest annoyance of this problem is the fact that I keep all of my music and media on a specific hard drive.

Clementine has the option to make a music library (YAY!) much in the same way that Winamp can but it suffers from the same problem that every other program has with my hard drives.  Even though I have the correct path and folder location for my music, Clementine will not recognize the folder until I have gone into a file manager, selected the hard drive the music is on, waiting for it to refresh and recognize the hard drive, deleting my current entry for Clementine's music library location, and finally inputting the same library location again into the music library location.  It refuses to recognize the folder simply because it is on another hard drive and I have to go through this arduous task if I want to listen to music every time I restart my computer.  Considering I have a few gigs of music, it can take a while for Clementine to reload my library adding to the already time-consuming process.

In summation, my question is this:  Is there a way to make it so my hard drives are automatically detected and connected at startup so that I won't have to go to a file manager and select to connect them?

Yes there is. They each need a line in the file /etc/fstab if they are to be automatically mounted at boot. If the line is missing HAL will mount them semi-automatically when you click their icon in Dolphin or Konqueror, but other programs won't see them before that. You can create that line with diskdrake in PCC, or you can do it manually.

uncleV was faster.
« Last Edit: December 30, 2010, 11:32:12 AM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

uncleV

  • Guest
Re: Multiple Hard Drives
« Reply #3 on: December 30, 2010, 11:17:04 AM »
uncleV was faster.
I am young ;) forum dweller ;D ;D

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12525
Re: Multiple Hard Drives
« Reply #4 on: December 30, 2010, 11:22:33 AM »
I go into the PCLinuxOS Control Center -> Local Disks -> Manager Disk Partitions and I give each partition a mount point in /mnt so when I boot up they are mounted for me in the /mnt folder.

example:
/dev/sda6  mount point /mnt/sda6  
/dev/sda7  mount point /mnt/sda7
/dev/sdb5  mount point /mnt/sdb5

and when it asks to modify /etc/fstab I say heck yeh!


Thanks to everyone who donates. You keep the servers running.

uncleV

  • Guest
Re: Multiple Hard Drives
« Reply #5 on: December 30, 2010, 11:27:29 AM »
Texstar,
you are scaring with those pistols :-[

uncleV

  • Guest
Re: Multiple Hard Drives
« Reply #6 on: December 30, 2010, 11:38:57 AM »

 ;D ;D

Offline SunWupen

  • Jr. Member
  • **
  • Posts: 24
Re: Multiple Hard Drives
« Reply #7 on: December 30, 2010, 01:41:22 PM »
Wow!  That was incredibly easy!  Everything seems to be working properly, thanks for all the help.  Now I just gotta set my parents' computer up like this too so my mom isn't always complaining she can't find anything in Linux  ::)

uncleV

  • Guest
Re: [SOLVED] Multiple Hard Drives
« Reply #8 on: December 31, 2010, 03:20:27 AM »
Thanks go to Texstar. ;D