Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
02-23-2007, 02:29 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2007
Location: UK
Distribution: Slackware 11
Posts: 24
Rep:
|
Mounting USB Device Problem!
Hi, i jus installed slackware 11.0 and i was able to mount my usb drive using "mount /dev/sda /mnt/usb" but after recompiling my kernel this no longer works.
But one thing that is bothering me is that there is only /dev/sda on my system. I thought there should be /dev/sda1 and sda2 etc.. present?
So after recompiling my kernel i cant seem to mount my usb for some reason. It keeps saying "no special device /dev/sda" from what i can recall.
Can anyone help me! 
|
|
|
|
02-23-2007, 03:07 PM
|
#2
|
|
Member
Registered: Nov 2006
Location: jersey
Distribution: Arch
Posts: 54
Rep:
|
did you use the 2.6.20 kernel when you compiled it? i heard the 2.6.20 kernel only using the sdX form of device labeling. essentially exchanging /dev/hdX for /dev/sdX.
Quote:
|
Note that the 2.6.20 kernel is used with exclusive libata subsystem that changes the mount setup : all SATA and PATA devices are now called "sdX" instead of "hdX" even for PATA (optical devices are called "srX"). Several Zenwalk system scripts and tools have been modified to comply with this kernel.
|
here is the source from the Zenwalk 4.4 release notes...
http://www.zenwalk.org/modules/news/...php?storyid=41
|
|
|
|
02-23-2007, 03:36 PM
|
#3
|
|
LQ Newbie
Registered: Jan 2007
Location: UK
Distribution: Slackware 11
Posts: 24
Original Poster
Rep:
|
Nope. I am using the 2.6.17.13 kernel version that was on the slackware 11 installation cd.
|
|
|
|
02-23-2007, 03:44 PM
|
#4
|
|
Member
Registered: Nov 2006
Location: jersey
Distribution: Arch
Posts: 54
Rep:
|
did you compile it or just install the one that was on the disc? did you install the kernel modules for that kernel?
|
|
|
|
02-23-2007, 03:50 PM
|
#5
|
|
LQ Newbie
Registered: Jan 2007
Location: UK
Distribution: Slackware 11
Posts: 24
Original Poster
Rep:
|
I recompiled it after installing the modules from the /extra directory on cd 2.
But wat i dont understand is that previously wen using fedora core there wer many sdX devices but on slackware there only seems to be the one sda.
|
|
|
|
02-24-2007, 03:11 AM
|
#6
|
|
Member
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654
Rep:
|
do a dmesg and identify your device.
Quote:
|
i jus installed slackware 11.0 and i was able to mount my usb drive using "mount /dev/sda /mnt/usb"
|
i doubt how u were able to mount with this command?? no file system and r u sure this worked well?
have u compiled in the necessary modules for usb?
here is my how to
http://rkrishna.tp.googlepages.com/slackerbasics#usb
after editng fstab you only need to do "mount /mnt/usb " or mount /mnt/memory whatever yu wrote in fstab
|
|
|
|
02-24-2007, 05:33 AM
|
#7
|
|
Senior Member
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
|
Quote:
|
Originally Posted by thelastknowngod
did you use the 2.6.20 kernel when you compiled it? i heard the 2.6.20 kernel only using the sdX form of device labeling. essentially exchanging /dev/hdX for /dev/sdX.
|
I am on 2.6.20 and it uses hda , hdb for IDE devices and sdX for SCSI devices. Essentially no change from previous kernels.
|
|
|
|
02-24-2007, 10:30 AM
|
#8
|
|
Senior Member
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, FreeBSD
Posts: 3,650
|
mount usb devices
I had issues mounting my portable usb card reader in slackware 11 (2.6.18)
gnashley gave me some commands that allowed me to mount my device. As root at a terminal prompt run
#rescan-scsi-bus
then
#fdisk -l
then
#blkid
Then you should see all available scsi devices and be able to mount them:-)
|
|
|
|
02-24-2007, 10:45 AM
|
#9
|
|
Senior Member
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
|
On running blkid
does anyone know how I can convert the type to ntfs-3g .. so that when I do
it mounts the correct driver?
Right now , I use the -t option in mount.
|
|
|
|
02-25-2007, 11:18 AM
|
#10
|
|
LQ Newbie
Registered: Jan 2007
Location: UK
Distribution: Slackware 11
Posts: 24
Original Poster
Rep:
|
Hey, rkrishna i checked out ur how to (good stuff), and i did:
#rescan-scsi-bus -l
This showed my usb device as sda, not sda1 or anything else. I added the line /dev/sda to fstab with the rest of the options and it works fine.
Only thing that bugs me is that the 2.4 kernel has /dev/sda as a superblock and has sda1 - sda13 or so on my system. Is this something to do with the kernel or jus my system?
Cheerz.
|
|
|
|
03-03-2007, 11:46 AM
|
#11
|
|
LQ Newbie
Registered: Jan 2007
Location: UK
Distribution: Slackware 11
Posts: 24
Original Poster
Rep:
|
Not to worry, i managed to get it working
Just had to change some options in the /etc/fstab file.
Thanks for the help!
|
|
|
|
03-03-2007, 12:16 PM
|
#12
|
|
Member
Registered: Mar 2004
Distribution: Fedora
Posts: 254
Rep:
|
BTW no need to compile kernel which ship with slackware, all you have to do read the README.initrd and follow it. It will hardly takes five minutes to install the kernel.
Thanks.
|
|
|
|
03-03-2007, 12:48 PM
|
#13
|
|
Senior Member
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, FreeBSD
Posts: 3,650
|
Quote:
|
Originally Posted by JM11
Not to worry, i managed to get it working
Just had to change some options in the /etc/fstab file.
Thanks for the help!
|
Cool, glad you got it working:-)
Could you please post your fstab? This will help other users who encounter your problem 
|
|
|
|
03-03-2007, 03:19 PM
|
#14
|
|
LQ Newbie
Registered: Jan 2007
Location: UK
Distribution: Slackware 11
Posts: 24
Original Poster
Rep:
|
Here's my fstab file
Quote:
/dev/hda8 swap swap defaults 0 0
/dev/hda4 / ext2 defaults 1 1
/dev/hda1 /boot ext2 defaults 1 2
/dev/hda9 /home ext2 defaults 1 2
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
/dev/sda1 /mnt/usb vfat auto,user,rw 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
|
Hope this helps. 
|
|
|
|
03-13-2007, 05:33 PM
|
#15
|
|
Member
Registered: Jun 2005
Location: The Golden State
Distribution: Ubuntu 8.04
Posts: 190
Rep:
|
I thought that SCSI emulation for USB was replaced with normal USB on the 2.6.20 kernel. Am I mistaken? Do I still need the SCSI sub-systems compiled into the kernel?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:48 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|