Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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. |
|
 |
12-27-2003, 04:33 PM
|
#1
|
|
Member
Registered: Nov 2003
Location: Rural Indiana
Distribution: Debian (etch)
Posts: 78
Rep:
|
fstab and devices (making)
fresh install of LRs Creme 13, cdrw's (hdc&hdd) not showing up in fstab
how do i go about getting them (devices) made. Do i simply add them to fstab? Or do i have to do some type of MAKEDEV command prior to?
know how to compile the kernel for needed scsi support for drives and setting links to them, but unsure about "new" devices.
Have always used Slack which added them to fstab automatically.
Your help is appreciated.
Last edited by TheBman; 12-27-2003 at 04:34 PM.
|
|
|
|
12-27-2003, 06:58 PM
|
#2
|
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
If Linux picked up your CDRW's on boot (try dmesg | grep hdc) you should be able to just add them to /etc/fstab.
If you have one CD-ROM with SCSI emulation and one without, the corresponding fstab entries could look something like this (if hdd is using ide-scsi):
Code:
/dev/scd0 /mnt/burner iso9660 ro,user,noauto 0 0
/dev/hdc /mnt/cdrom iso9660 ro,user,noauto 0 0
Håkan
|
|
|
|
12-27-2003, 07:48 PM
|
#3
|
|
Member
Registered: Nov 2003
Location: Rural Indiana
Distribution: Debian (etch)
Posts: 78
Original Poster
Rep:
|
will try, thank you
|
|
|
|
12-29-2003, 07:15 PM
|
#4
|
|
Member
Registered: Nov 2003
Location: Rural Indiana
Distribution: Debian (etch)
Posts: 78
Original Poster
Rep:
|
ok, have LFS only of LRs creme 13 installed, Linux 2.4.23, self compiled with scsi support for cdrw's.
dmsg | grep hdc returns : dmsg command not found
ls -a /dev/cdrom returns /dev/cdrom
ls -a /dev/hdc returns /dev/hdc
have link set as : ln -sf /dev/scd0 /dev/cdrom
fstab reads: /dev/cdrom /mnt/cdrom iso9660 ro,user,noauto 0 0
do not have cdrtools installed in order to run cdrecord -scanbus
always has been 0,0,0 on slackware
can you advise please, have many programs I want to add to LFS install, but on cd, much faster than ppp!
Thanks
|
|
|
|
12-29-2003, 07:28 PM
|
#5
|
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
You forgot the "e" in dmesg.
You need to supply the ide-scsi options at boot-time in order for the scd0 device to be usable, I suppose you know that (append "hdc=ide-scsi" or whatever in grub.conf or lilo.conf).
ls -a /dev/hdc isn't really very helpful. Try something ls -l /dev | grep hdc instead. ls -l /dev | grep cdrom will probably return many results if you have devices (cdrom?, scd?, sg?, etc) owned by the cdrom group.
I suggest you install cdrtools or cdparanoia if you want to verify that the devices work.
Håkan
|
|
|
|
12-29-2003, 07:44 PM
|
#6
|
|
Member
Registered: Nov 2003
Location: Rural Indiana
Distribution: Debian (etch)
Posts: 78
Original Poster
Rep:
|
you were correct, I did forget the "e" in dmesg.
runnning dmesg | grep hdc returns:
hdc: CD-RW 48X16, ATAPI CD/DVD-ROM drive
hdc: attached ide-scsi driver
ls -l /dev | grep hdc returns:
brw-rw---- 1 root disk 22, 0 Dec 29 22:20 hdc
**********************************hdc 1-16
ls -l /dev | grep cdrom returns:
lrwxrwxrwx 1 root root 9 Dec 30 00:02 cdrom -> /dev/scd0
|
|
|
|
12-29-2003, 07:46 PM
|
#7
|
|
Member
Registered: Nov 2003
Location: Rural Indiana
Distribution: Debian (etch)
Posts: 78
Original Poster
Rep:
|
never used grub before, researching how to add "ide-scsi" grub now
|
|
|
|
12-29-2003, 07:58 PM
|
#8
|
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
The " hdc: attached ide-scsi driver" message seems to indicate it's already there.  That should mean that /dev/scd0 is there and the cdrom link (/dev/cdrom) is correct.
grep dmesg for hdd and see what that turns up. If you get a similar ide-scsi message there it will probably be called /dev/scd1 instead of /dev/hdd.
Try mounting the drives in Linux. Pop in a data CD (one with data on it, not unwritten) and try to mount it. Create the mount points (directories) /mnt/cdrom and /mnt/cdrom1 (or whatever - mine are called "cdrom" and "burner" respectively) and then mount them from the command line: mount -t iso9660 /dev/cdrom /mnt/cdrom to mount the first and mount -t iso9660 /dev/hdd /mnt/cdrom1 for the other. If hdd doesn't want to play, try mounting it as mount -t iso9660 /dev/scd1 /mnt/cdrom1 instead. If that works you'll know what to put in /etc/fstab.
Håkan
|
|
|
|
12-29-2003, 08:08 PM
|
#9
|
|
Member
Registered: Nov 2003
Location: Rural Indiana
Distribution: Debian (etch)
Posts: 78
Original Poster
Rep:
|
you ARE the MAN! I knew I had to do something in order to have the device recognized ( mkdir /mnt/cdrom) couldn't remeber to save my life. I ran mount /mnt/cdrom cd /mnt/cdrom an ls -a /mnt/cdrom and all was well... I thank you very, very much for your assistance
|
|
|
|
12-29-2003, 08:17 PM
|
#10
|
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
*blush*
Glad I could be of help!
Håkan
|
|
|
|
12-29-2003, 08:26 PM
|
#11
|
|
Member
Registered: Nov 2003
Location: Rural Indiana
Distribution: Debian (etch)
Posts: 78
Original Poster
Rep:
|
I gave you a :-) on affero!
|
|
|
|
12-29-2003, 08:28 PM
|
#12
|
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
I need to check out what that is. I see people refer to it in the signatures here.
Håkan
|
|
|
|
12-29-2003, 08:52 PM
|
#13
|
|
Member
Registered: Nov 2003
Location: Rural Indiana
Distribution: Debian (etch)
Posts: 78
Original Poster
Rep:
|
seems as though you can make money from it...or they can...not sure. Sorry I didnt send money, just a poor boy trying to make a living, sure you understand
|
|
|
|
12-31-2003, 09:26 AM
|
#14
|
|
Member
Registered: Mar 2003
Location: trinidad
Distribution: fedora
Posts: 55
Rep:
|
mount /dev/hdb1 /mnt/xp -t ntfs -r -o umask=0222
ok every time i boot i have to run this command to mount ntfs
can any one help me change this into a valid fstab entry.....the one i have dosent work! so that it will mount on start up
thanks !
|
|
|
|
12-31-2003, 09:55 AM
|
#15
|
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
Try this:
Code:
/dev/hdb1 /mnt/xp ntfs umask=0222,ro 0 0
If it works you should be able to just to a mount /mnt/xp and at the next boot it should be mounted automatically.
Håkan
|
|
|
|
| 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 04:19 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
|
|