-
Problems with CDROM
Hi,
I am using 3.4 HDDinstall. I compiled a kernel per Kelmo's technique to get my NVidia drivers working. I have been able to use K3B to burn many many CDs.
Today when I tried to read a data cd, I can't. Knoppix says it doesn't exist. I searced and searched this forum but found no solution that would work. Physicaly, My machine has one HDD on the first IDE plug and then my CDRW and CDROM are on the second plug/cable as Master and slave. I'd really appreciate some help with this. Here's my fstab;
Thanks,
Jim
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda5 / ext3 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda6 none swap defaults 0 0
# Added by KNOPPIX
/dev/hda7 /mnt/hda7 vfat noauto,users,exec,umask=000 0 0
-
Senior Member
registered user
I'm not sure what type of your cdrw and cdrom. Some cdrw are treated as scsi eventhough they are ide.I considered your cdrw as cdrom1 and cdrom as cdrom2.
First you should remove the cdrom symlink in your mnt directory and create to folder:
1)cdrom1
2)cdrom2
Then edit your fstab...it should be like this:
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda5 / ext3 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
[b]/dev/sr0 /cdrom1 iso9660 defaults,ro,user,noexec,auto 0 0
/dev/cdrom /cdrom2 iso9660 defaults,ro,user,noexec,auto 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda6 none swap defaults 0 0
# Added by KNOPPIX
/dev/hda7 /mnt/hda7 vfat noauto,users,exec,umask=000 0 0
Then create new device on your desktop, device that link to cdrom1 and device that link to cdrom2.
You can experiment with sr0 or cdrom.
-
Senior Member
registered user
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda5 / ext3 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/sr0 /cdrom1 iso9660 defaults,ro,user,noexec,auto 0 0
/dev/cdrom /cdrom2 iso9660 defaults,ro,user,noexec,auto 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ext3 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda6 none swap defaults 0 0
# Added by KNOPPIX
/dev/hda7 /mnt/hda7 vfat noauto,users,exec,umask=000 0 0
Then create new device on your desktop, device that link to cdrom1 and device that link to cdrom2.
You can experiment with sr0 or cdrom.
Sorry..i'm not goog with this html code.
-
What did you append to the kernel cmd line? ie in append="?" in lilo.conf
-
Hi Kelmo,
Here is the whole section that boots the kernel I use;
image=/boot/vmlinuz-2.6.6
label="Linux(2.6)-2"
initrd=/boot/initrd.img-2.6.6
append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce"
read-only
Is there something wrong with this? It wa auto generated. I didn't change anything.
Jim
-
Shah,
I tried your solution. In both cases I got 'Could not mount device. The error reported was: Mount: mount point iso9660 does not exist'
I then opened a console and entered 'mount /dev/sr0 /mnt/cdrom1' and that worked. The CD was mounted read-only (as expected) and I was able to access it.
Is there a way to automate this?
Jim
-
Senior Member
registered user
MillTek
You can try using autofs.
1) Open console & SU
2)run this command :
cd
mkdir /mnt/floppy
mkdir /mnt/cdrom (you can skip this two if the directiory is there)
mv /etc/auto.master /etc/auto.master_old
mv /etc/auto.floppy /etc/auto.floppy_old
mv /etc/auto.cdrom /etc/auto.cdrom_old
echo "/mnt/cdrom /etc/auto.cdrom --timeout 10" > /etc/auto.master
echo "/mnt/floppy /etc/auto.floppy --timeout 1" >> /etc/auto.master
echo "floppy -user,suid,fstype=msdos :/dev/fd0" > /etc/auto.floppy
echo "cdrom -fstype=iso9660,ro :/dev/sr0" > /etc/auto.cdrom
ln -s /mnt/floppy/floppy floppy
ln -s /mnt/cdrom/cdrom cdrom
/etc/init.d/autofs start (or restart)
cd
3)insert cd and try this command : ls /mnt/cdrom/cdrom
if it can read your cd...you're okay.
4)you need to edit your fstab...delete or comment out /dev/sr0....
5)you also need to run sysV-init editor and add autofs in runlevel5(start) so it can run on boot, add autofs in runlevel6(stop) so it can stop when you shutdown.
6)reboot.
Check if you can read directory /mnt/cdrom/cdrom using konquerer.
Let me know if it can be done on your machine.
Good luck
Thanks to Mark Nielsen for his tutorial.
-
Most likely these would work in your fstab:
/dev/sr0 /cdrom iso9660 ro,user,noauto 0 0
/dev/sr1 /cdrom1 iso9660 ro,user,noauto 0 0
And if you're trying to mount using the desktop icons, you'll need to create new ones after altering your fstab.
-
Hi Shah & Champagnemojo,
Champagnemojo, the two fstab entries you suggested work after I do a mount in a Konsole.
Shah, I'd like to try your suggestion for autmounting. I've read it and think I follow, except I don't know what sysV-init editor is? Any direction?
Also, if Kelmo reads this, did I give you the information you requested? Should I change something??
Thanks all,
Jim
-
had same troubles with laptop and home system
after using synaptic (graphic front end to apt)
apt-get install synaptic
i did a find with criteria (name and description) mount
found discover and installed it
during config it asked if it wanted me to handle the cdroms i gave it a go
and bam fixed all my cdrom problems
Similar Threads
-
By tonysathre in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 02-26-2005, 11:23 PM
-
By Knopper12 in forum MS Windows & New to Linux
Replies: 1
Last Post: 12-16-2004, 04:31 AM
-
By piki in forum Hardware & Booting
Replies: 3
Last Post: 10-15-2004, 05:21 PM
-
By budhead in forum General Support
Replies: 0
Last Post: 04-12-2004, 05:34 PM
-
By pau in forum General Support
Replies: 8
Last Post: 11-23-2003, 05:36 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture](/store/img/g/1hMAAOSw8hVl8bKq/s-l225/DELL-PowerEdge-R430-8SFF-2x-E5-2680v4-2-4GHz-28-Co.jpg)
DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45
$226.00
![Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture](/store/img/g/vx0AAOSwvwFlExVY/s-l225/Dell-PowerEdge-R630-Server-2x-E5-2680-V4-28-Cores-.jpg)
Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD
$197.99
![Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture](/store/img/g/CdkAAOSwY0BmYMoF/s-l225/Dell-Poweredge-R730xd-LFF-14-Bay-2U-Server-Choose-.jpg)
Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config
$489.99
![Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture](/store/img/g/GAcAAOSw9Q1mGSZW/s-l225/Dell-Poweredge-R630-Server-2x-E5-2620-V4-16-Cores-.jpg)
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$159.99
![Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture](/store/img/g/ZD0AAOSwm41mOZYw/s-l225/Dell-PowerEdge-R630-Server-2x-E5-2640v3-2-60Ghz-16.jpg)
Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330
$182.65
![Lenovo ThinkServer TS140 Xeon E3-1225v3 3.20GHz 16GB RAM Tower Server Needs HDD picture](/store/img/g/vSgAAOSwEp5maJ3a/s-l225/Lenovo-ThinkServer-TS140-Xeon-E3-1225v3-3-20GHz-16.jpg)
Lenovo ThinkServer TS140 Xeon E3-1225v3 3.20GHz 16GB RAM Tower Server Needs HDD
$99.99
![Dell PowerEdge R730 16-Bay 2.5” 2xE5-2695 v3 2.3Ghz 64GB iDRAC8 Ent H730 2x750W picture](/store/img/g/GpkAAOSwBWxmA310/s-l225/Dell-PowerEdge-R730-16-Bay-2-5-2xE5-2695-v3-2-3Ghz.jpg)
Dell PowerEdge R730 16-Bay 2.5” 2xE5-2695 v3 2.3Ghz 64GB iDRAC8 Ent H730 2x750W
$250.00
![Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD  picture](/store/img/g/yAwAAOSwdyNlgQ8d/s-l225/Dell-PowerEdge-R720xd-26HDD-300gb-2-5-inch-E5-2697.jpg)
Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 
$180.00
![Cisco UCS C240 M4 2U Server w/ 2x E5-2680v4, NO RAM picture](/store/img/g/Je8AAOSwIcdmTgJF/s-l225/Cisco-UCS-C240-M4-2U-Server-w-2x-E5-2680v4-NO-RAM.jpg)
Cisco UCS C240 M4 2U Server w/ 2x E5-2680v4, NO RAM
$49.99
![1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE picture](/store/img/g/7KoAAOSwephiKTf4/s-l225/1U-Supermicro-Server-10-Bay-2x-Intel-Xeon-3-3Ghz-8.jpg)
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE
$259.00