LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-16-2005, 07:11 PM   #1
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Rep: Reputation: 30
Slackware 10.1 and External Drive


I'm running Slackware 10.1 with the 2.6.10 kernel from the install CD. I've got an external hard drive that I frequently use and is always hooked up. Some programs use this drive, and it's an inconvenience for me to mount it just to use them. How do I get the drive to mount at boot time? If it helps, my /etc/fstab is below (/dev/uba1 is my external drive):

/dev/hdb1 swap swap defaults 0 0
/dev/hda4 / ext3 defaults 1 1
/dev/hdb4 /hdb ext3 auto,user 1 1
/dev/uba1 /mnt/maxtor ext3 auto,user 1 1
/dev/cdrom /mnt/cdrom iso9660 auto,owner,ro,user 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

I thought that the "auto" option was supposed to make it mount at boot, but I guess not. Strangely, though, /dev/hdb4 (an internal drive) DOES mount automatically. Hmmm . . . maybe it's just because the external drive is USB (2.0, by the way, in case it matters)? Mandrake Linux used to do this automatically with its "Mandrake Control Center" tool.

Last edited by NetRAVEN5000; 05-16-2005 at 07:23 PM.
 
Old 05-16-2005, 07:28 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
I thought USB devices in Slackware used the sda not uba (my USB zip drive does)? Do you get an error message during boot about the drive not mounting?
 
Old 05-17-2005, 12:38 AM   #3
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Yes, before I updated to 2.6.10 kernel (which is on the CD but by default, Slackware installs one of the 2.4 kernels) the drive was /dev/sda1 - but now that I have the new kernel it's /dev/uba1 for some reason.

I don't know how to check my boot messages once I'm actually logged in to make sure, but I'm pretty sure I do get an error about mounting the drive. But how come I can mount it later, then? Why won't it mount at boot time? I always thought there was an option you could use in /etc/fstab to do this, called auto or automount or autofs or something. . . I'm pretty sure it's something auto. . . As I said, though, Mandrake did it automatically before - all I did was check a box next to it - so I don't remember what it's called.
 
Old 05-18-2005, 08:19 PM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Sorry I didn't get back sooner, but my ISP had HUA.

To check boot messages, type dmesg at the command line.

I was sure the auto auto mounted the drive in /etc/fstab. If you do a mount -a at the command line, does it mount it?

If there is an error message, maybe it will say why the mount failed. In this artical, http://www.linuxquestions.org/questi...icle&artid=301 , the author says he does not like to auto mount USB and Firewire drives. Because it is still a little unstable. Not sure how true this is, but it might also explain the problem.
 
Old 05-19-2005, 06:24 PM   #5
NetRAVEN5000
Member
 
Registered: May 2005
Distribution: Ubuntu 9.04
Posts: 320

Original Poster
Rep: Reputation: 30
Yes, the mount -a does mount it.

When I booted, though, I did notice that it said something about an invalid superblock or the drive not having an ext2 filesystem (which it really shouldn't since it's ext3, but I guess they're kinda the same) and to try running e2fsck. . . so I'll try that.
 
  


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
Installing Slackware 9.1 on external hard drive? gene69 Linux - Newbie 1 09-18-2005 07:26 PM
Slackware 10.1 Install on External USB Drive SlammedDime Slackware 11 06-21-2005 02:40 AM
Laptop DVD drive has died, will linux boot from an external drive? Stevetgn Linux - Newbie 2 05-14-2005 05:18 PM
Installing SuSE on an external FireWire drive: YaST can't edit partitions on drive kivimaki Linux - Distributions 2 09-13-2004 08:52 PM
Installing Slackware 9 to external FireWire drive Atdeb Linux - General 1 06-13-2003 11:16 PM

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

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