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.
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.
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...
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.
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.
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:-)
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?
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.