LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-06-2006, 10:47 PM   #1
hexstar
LQ Newbie
 
Registered: Sep 2004
Location: Internet
Distribution: MacOS X
Posts: 26

Rep: Reputation: 15
Need help getting a firewire HD to automount during boot in Suse 10


Hello, I have a HP NetServer LH3R running Suse 10 and I've put in a firewire PCI card and connected a firewire external HD to that card, linux sees and can interact with the HD fine but since I'm planning to install cPanel and would like to use the firewire drive as the clients home folder for added disk space I need the drive to be automounted during boot, so far I've tried adding "mount -rw /dev/hdb1 /websites" (without the quotes of course) to /etc/rc.d/boot.local but that didn't work so I removed that and then tried adding "/dev/sdb1 /websites ext3 rw,auto,user,exec 0 0" (without the quotes of course) to /etc/fstab and now Suse sees the drive and knows the mountpoint should be /websites but despite auto being in the fstab file it's not auto mounting during the boot it's still not working :-(...can anyone please tell me what I'm doing wrong and what I need to do to get this drive to auto mount during boot? I'm pulling my hair out trying to get this to work and would greatly appreciate any help you guys can provide me, thanks! :-)
 
Old 05-07-2006, 06:50 AM   #2
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
What do you have in /etc/mtab (before you manually mount the firewire drive)?

You do realize that fstab only shows the possibilities, whilst mtab shows the mounted file devices. I often have to manually edit (vim) my fstab and mtab when grub booting to a distro that I had inadvertently left one of my USB or firewire drives connected upon shutdown (and then not having it attached when I reboot into the offending 'will not start' distro).

Hope this helps
 
Old 05-07-2006, 01:54 PM   #3
hexstar
LQ Newbie
 
Registered: Sep 2004
Location: Internet
Distribution: MacOS X
Posts: 26

Original Poster
Rep: Reputation: 15
so I should edit mtab? I tried but when I reboot the changes get reverted :/..how do I do this???
 
Old 05-07-2006, 05:57 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,367

Rep: Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154Reputation: 6154
/etc/mtab should never be modified by the user. It is used by the OS to keep track of the mounted filesystems. Typically, USB and Firewire modules are loaded after the OS mounts the filesystems via /etc/fstab so that is why it failed to mount. If you add the Firewire modules to the initrd you will be able to mount the drive via /etc/fstab.

I am not real familar with SuSE so I'm not sure the boot.local is the same thing as rc.local i.e. the last script to run.
 
  


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
Does SUSE automount CDROM like mandrake? TigerLinux SUSE / openSUSE 8 10-03-2005 01:53 AM
Config automount in Suse 9.3? songyizhe Linux - Software 0 09-09-2005 01:39 PM
Automount in Suse 9.1 Eradicator Linux - Newbie 10 08-16-2004 03:39 PM
disabling automount suse 9.1? cunokyle Linux - Distributions 0 06-10-2004 01:18 AM
automount floppy, suse 9.0 Horny Toad Linux - Newbie 3 04-22-2004 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:05 PM.

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