LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-14-2006, 10:24 PM   #1
yongitz
Member
 
Registered: Nov 2005
Location: Davao City, Philippines
Distribution: RHEL, CentOS, Ubuntu, Mint
Posts: 139

Rep: Reputation: 20
Red face usb mounting problem


hi there!! i do have a problem when i try to mount my usb.. it only mount as read only.. i have tried the suggestion given on this thread:

http://www.linuxquestions.org/questi...t=mounting+usb

but nothings seems to happen. when i insert my usb it makes a new entry to the /etc/fstab and it reads just like this:

/dev/sda1 /mnt/sda1_removable vfat,msdos auto,users,suid,dev,exec 0 0

and just erased my entry which was suggested in the thread above

/dev/sda1 /mnt/flash vfat noexec,fmask=133,dmask=022,user,noauto 0 0

any help would be greatly appreciated..

p.s. im using a slackware 5.0.1 and complete newbie in linux
 
Old 06-14-2006, 10:46 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Why are you using such an old version of Slackware? It's now at version 10.2 and soon to release 11.0 If it's because you have an old computer, that's no reason to use an old version. Support and packages will be better in 10.2.

As for the USB drive, this is what I use:
Code:
/dev/sdc1        /mnt/usb         vfat        noauto,users,rw,umask=1000  0  0
/dev/sdd1        /mnt/usb1        vfat        noauto,users,rw,umask=1000  0  0
They mount read-write (rw) for users, and if you use a desktop environment such as KDE, you can do this:
Click the System icon on the desktop, then click Storage Media, then click Removable Device (sdc1) or whichever is appropriate on your system -- which will open Konqueror as a file browser. After using the device, and before unplugging, navigate back in your directory to that system:/media/ directory and right-click on the device and choose Safely Remove.

NB: I have mine set as /dev/sdc1 and /dev/sdd1 because I have two SATA drives in this computer which are /dev/sda and /dev/sdb. You'll need to change those entries accordingly for your system; as well as make a mount point for the devices.

My mount points are under / and not /mnt because I like them that way, and these are perms:
Code:
mingdao@silas:~$ ls -alh /mnt/usb
total 8.1M
drwxrwxrwx 2 mingdao users 1.0K 1970-01-01 07:00 ./
drwxr-xr-x 8 root    root   192 2006-05-12 07:00 ../
I have absolutely no clue how mounting a USB drive would/could modify /etc/fstab. That's a new one on me.
 
Old 06-14-2006, 10:53 PM   #3
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Rep: Reputation: 30
Hi

I use this entry in fstab for my lexar usb
Code:
/dev/sda1       /mnt/lexar        vfat        auto,user,rw     0   0
 
Old 06-14-2006, 11:20 PM   #4
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,442
Blog Entries: 7

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
Quote:
Originally Posted by yongitz
im using a slackware 5.0.1 and complete newbie in linux
Huh?

There was no "Slackware 5.0.1". The version number jumped from 4.0 to 7.0 because Pat got sick of people asking when he was going to catch up with RedHat.

P.S. Since most USB memory devices are formatted with some form of FAT filesystem, I use Mtools to access them. No mess, no fuss, no mounting.

Last edited by rkelsen; 06-14-2006 at 11:22 PM.
 
Old 06-15-2006, 12:12 AM   #5
yongitz
Member
 
Registered: Nov 2005
Location: Davao City, Philippines
Distribution: RHEL, CentOS, Ubuntu, Mint
Posts: 139

Original Poster
Rep: Reputation: 20
sorry it's slax 5.0.6!! i didnt bother to upgrade to a newer version since many apps have been running on this machine and m not that expert yet to shift a newer version.. im still on exploring redhat 9. by the way rkelsen where can i get that mtools that you're saying? anyway ppl.. thanks very much!!
 
Old 06-15-2006, 12:36 AM   #6
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,442
Blog Entries: 7

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
Quote:
Originally Posted by yongitz
where can i get that mtools that you're saying? anyway ppl.. thanks very much!!
It is part of the Slackware "floppy" package in the "a" series, so it should already be installed. Configuration is simply a matter of editing /etc/mtools.conf.

MTools is a set of CLI-based tools, but you can get a GUI frontend from here:

http://www.core-coutainville.org/MToolsFM/

In my experience, it works extremely well with USB memory sticks.
 
  


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
USB mounting problem matthalliday Linux - Hardware 4 05-24-2006 02:13 PM
Problem in mounting CD ROM and USB rohitjun Linux - General 4 04-20-2006 02:36 AM
Problem of mounting USB disk coffeebreak Linux - Distributions 2 09-13-2005 01:26 AM
Problem of mounting USB disk coffeebreak Fedora - Installation 1 09-12-2005 09:32 PM
USB thumbdrive mounting problem sashhoney Linux - Hardware 1 05-31-2005 06:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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