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.
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.
08-30-2003, 09:41 PM
#1
Member
Registered: Jul 2003
Location: Mississippi
Distribution: Slack9.1
Posts: 159
Rep:
CD-RW CDROM and you!
For some reason I cannot access either my CD-R or my CDrom in linux. From root or from user.
IDE1 Primary = 6GB WD - Windows OS
IDE1 Secondary = 80GB - 1g swap - 8g Linux OS - rest VFAT
IDE2 Primary = CDRW
IDE2 Secondary = CDROM
=======================================
/etc/fstab
=======================================
/dev/hdb1 swap swap defaults 0 0
/dev/hdb2 / reiserfs defaults 1 1
/dev/hda1 /fat-c vfat umask=000, 0 0
/dev/hdb3 /fat-d vfat umask=000, 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/sr0 /cdrw iso9660 ro,user,noauto 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
=======================================
/etc/lilo.conf
=======================================
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdc=ide-scsi"
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 300
# VESA framebuffer console @ 800x600x256
vga = 771
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# DOS bootable partition config begins
other = /dev/hda1
label = Windows
table = /dev/hda
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb2
label = Slackware
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
_______________________________________________
All the information I could think of that may help.
08-31-2003, 12:03 AM
#2
Senior Member
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Rep:
What error message are you getting?
08-31-2003, 08:26 AM
#3
LQ Newbie
Registered: Aug 2003
Distribution: Slackware
Posts: 2
Rep:
Maybe ide-scsi is the problem.
Latest versions of cdrecord don't need scsi emulation, so it can detect your CD-R device using cdrecord -dev=ATAPI: -scanbus.
Try disabling ide-scsi and configure your CD-R in fstab as a normal CDROM device.
Check symbolic link /dev/cdrom too. Maybe it's pointing to /dev/hdc. If it does, your CDROM is not configured in fstab.
09-01-2003, 02:03 AM
#4
Member
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825
Rep:
i'd also take a look at dmesg and see whether they're being recognized at boot - let us know
09-01-2003, 04:55 PM
#5
LQ Newbie
Registered: Apr 2003
Posts: 13
Rep:
mount /dev/scd0 /mnt/cdrom should work...
09-01-2003, 04:58 PM
#6
LQ Newbie
Registered: Apr 2003
Posts: 13
Rep:
Code:
root@lun:/home/lun# cat /etc/lilo.conf | grep "append"
append="hdc=ide-scsi hdd=ide-scsi"
root@lun:/home/lun# cat /etc/fstab
/dev/hda2 swap swap defaults 0 0
/dev/hda1 / ext3 defaults 1 1
/dev/hda5 /home ext3 defaults 1 2
/dev/hda6 /tmp ext3 defaults 1 2
/dev/hda7 /var ext3 defaults 1 2
/dev/hda8 /mnt/hda8 reiserfs defaults 1 2
/dev/hda9 /mnt/hda9 ext3 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/scd1 /mnt/cdrom auto ro,noauto,user,exec 0 0
/dev/scd0 /mnt/cdrw auto ro,noauto,user,exec 0 0
root@lun:/home/lun# cdrecord --scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'TEAC ' 'CD-W540E ' '1.0F' Removable CD-ROM
0,1,0 1) 'TEAC ' 'CD-540E ' '1.0A' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
root@lun:/home/lun# mount /dev/scd1 /mnt/cdrom
mount: block device /dev/scd1 is write-protected, mounting read-only
root@lun:/home/lun#
All times are GMT -5. The time now is 07:59 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