LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-28-2005, 02:15 PM   #1
xrado
Member
 
Registered: Dec 2004
Distribution: Zenwalk/Slackware
Posts: 98

Rep: Reputation: 15
hal and usb stick


i have a question about hal and how it detect my usb stick
im using disk mounter applet in gnome. after i insert usb another mount point appears
but when i try to mount it, it using /dev/sda path instead /dev/sda1 that usb really is
so i cant mount it. looks like hal assign wrong path to device. i get:
"mount: can't find /dev/sda in /etc/fstab or /etc/mtab"

any ideas?
 
Old 10-28-2005, 03:32 PM   #2
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
Can you mount it manually through the command line?

Something to the effect of ...

#mount -t vfat /dev/sda1 /mnt/<mountpoint>
 
Old 10-29-2005, 01:21 AM   #3
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,461
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Re: hal and usb stick

Quote:
Originally posted by xrado
i have a question about hal and how it detect my usb stick
im using disk mounter applet in gnome. after i insert usb another mount point appears
but when i try to mount it, it using /dev/sda path instead /dev/sda1 that usb really is
so i cant mount it. looks like hal assign wrong path to device. i get:
"mount: can't find /dev/sda in /etc/fstab or /etc/mtab"
Couple questions:

Which version of Slackware?

If its 10.2, which Gnome package set did you install?
 
Old 10-29-2005, 02:42 AM   #4
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
I have no solution, but I can verify that I have similar behavior.

I have a fresh Slack 10.2 + Dropline 2.12.1. I have an iRiver MP3 player flashed with the USB Mass Storage firmware. It cannot be mounted automatically. I get the same message as you. I also noticed that it appears to try and mount /dev/sda1, when mounting /dev/sda is what is needed. The format of the device is listed under Windows XP as FAT (not FAT32).

Manually mounting the device works just fine ("mount -t vfat -o shortname=win95,uid=1000,gid=100 /dev/sda /mnt/hd").
 
Old 10-29-2005, 03:50 AM   #5
xrado
Member
 
Registered: Dec 2004
Distribution: Zenwalk/Slackware
Posts: 98

Original Poster
Rep: Reputation: 15
i have slackware 10.2 and freerock gnome current (gnome 2.12.1)

yes i can manualy mount it with #mount -t vfat /dev/sda1 /mnt/<mountpoint>
but not with #mount -t vfat /dev/sda /mnt/<mountpoint>
 
Old 10-29-2005, 10:12 PM   #6
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
When I've mounted my USB flash drive, it's always been with the partition number included (the '1'). Were you able to mount it from /dev/sda before? I've always just done the /dev/sda1. I was under the impression you always had to specify the actual partition number as well.
 
Old 10-30-2005, 02:28 AM   #7
xrado
Member
 
Registered: Dec 2004
Distribution: Zenwalk/Slackware
Posts: 98

Original Poster
Rep: Reputation: 15
yes but this is not a problem. i can always mount it manualy with mount -t vfat /dev/sda1 /mnt/<mountpoint> and works fine.
the problem is that hal detect it as /dev/sda so gnome cant automaticly mount it.
 
Old 11-03-2005, 10:14 AM   #8
xrado
Member
 
Registered: Dec 2004
Distribution: Zenwalk/Slackware
Posts: 98

Original Poster
Rep: Reputation: 15
i solve the problem. my system was upgraded from 10.1 so
during the upgrade new RC scripts become .new and i was still running on old ones.
so i overwrited old rc.scripts with one in .new and its working now
 
  


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
ivman/hal fail to mount my usb memory key Valhalla Linux - Hardware 0 11-01-2005 09:50 AM
mount/umount usb stick - PQI Intelligent Stick 2.0 sandbag Linux - Software 5 05-06-2005 11:12 AM
USB stick bardia_amir Linux - Hardware 3 08-29-2004 11:30 PM
USB problems: Memorex USB stick 256MB and PSX to USB adapter by Radio Shack Knuckles T15 Linux - Hardware 1 05-19-2004 06:58 PM
USB-Stick/usb-storage JC_at_LQ Linux - General 2 07-14-2003 06:56 AM

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

All times are GMT -5. The time now is 02:08 AM.

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