Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
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.
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):
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.