SlackwareThis Forum is for the discussion of Slackware 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.
Im new to linux and slackware 9.1 I have jsut installed this distro and have stuck my usb stick into my compy. HOwever when i go into mnt it does not show?:S Can anyone plz help me?
What do the last few lines of dmesg show just after you plug usbstick in?
You didn't say what kernel you are using but you may need to use one with usb mass storage, scsi support, scsi disk support and scsi generic support as modules or built in.
The only reason for runnning such an old version of Slackware is if you have a stable production server that you just want to "run"
9.1 is using ancient versions of KDE and still had Gnome desktop, I think.
If you get the latest 11.0 and do a clean install, you are more likely to get your questions answered here, without having to search in the archives for threads that closed a few years ago.
The only reason for runnning such an old version of Slackware is if you have a stable production server that you just want to "run"
Haha, yeah, or if you're me and you haven't gotten around to configuring Slackware 11 yet... Slackware 9.1 still works fine for me, but I can't easily install new software any more because all my development libraries are too old.
Anyway, I use my USB memory stick in Slackware 9.1. The original poster seems to think you can just plug things in and have them automatically configured. Well, Slackware doesn't do things that way. I got my USB drive to work by loading the usb-storage module and adding this line to /etc/fstab:
You might need to change /dev/sda1 to something else like /dev/sdb1. You don't really need the uid and gid part. That just makes me the owner of the drive when it mounts. Then you need to make the /mnt/usb dirctory, plug in the drive, and type
Code:
mount /mnt/usb
When you want to take the USB stick out, run
Code:
umount /mnt/usb
At least, I think that's all I did to get my USB drive working. Good luck.
alright ive done mkdir on it all as root user. I now get this message:
Called: mount /mnt/usb
[mntent]: warning: no final newline at the end of /etc/fstab
mount: mount point /mnt/usb does not exist
and another is this:
Called: mount -tvfat /dev/sda2 /mnt/usb -o defaults
mount: mount point /mnt/usb does not exist
Are you sure /mnt/usb exists? What do you get when you type
Code:
ls /mnt/usb
Did you check the output from dmesg to make sure your USB drive is sda2? When you type dmesg after plugging in your drive, one of the last lines should say something like "sda: sda2" and then /dev/sda2 would be what you want. Also, do you have the usb-storage module loaded? You should see it when you type
Code:
lsmod | grep usb-storage
Otherwise, type
Code:
modprobe usb-storage
Of course, you need to do most of this as root for it to work.
I don't think the warning about /etc/fstab missing a final newline is going to stop you from mounting the drive, but you might want to fix that some time (probably just open the file in an editor and go to the end of the last line, and hit enter). The command you tried,
Code:
mount -tvfat /dev/sda2 /mnt/usb -o defaults
should work provided that /mnt/usb/ exists and the usb-storage module is loaded.
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
Hey,
I am also a total newbie and this is what I did. I booted up and then connected the USB stick. then typed dmesg in the console. I read where it has put the stick and then mounted it to a USB folder.
Hey,
I am also a total newbie and this is what I did. I booted up and then connected the USB stick. then typed dmesg in the console. I read where it has put the stick and then mounted it to a USB folder.
Yes that's pretty much all you need to do, but you must have usb mass storage, scsi disk and scsi generic support in kernel (as well as a mountpoint).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.