I am still learning the ins and outs of linux, and in the process of trying to get an external USB CD burner to work, I have somehow disabled my CD-ROM. When I click the icon in 'My Computer' (KDE 3.3, SuSE Linux 9.2 Pro) it gives the following message: An error occurred while loading drives:/cdrom.desktop: The file or folder /media/cdrom does not exist. It seemed obvious that I needed to create the directory /media/cdrom. That did not work. Here is what I have tried. As you will see I can use it by mounting to /mnt, but I would like my link in KDE to work correctly. (I had the SuSE 9.2 Disc 5 in the drive the entire time) linux:/home/james # cd /media linux:/media # ls /bin/ls: .: No medium found linux:/media # cd . linux:/media # cd .. linux:/ # mkdir /media/cdrom mkdir: cannot create directory `/media/cdrom': No medium found linux:/ # mound /dev/cdrom /mnt bash: mound: command not found linux:/ # mount /dev/cdrom /mnt mount: block device /dev/cdrom is write-protected, mounting read-only linux:/ # mount /dev/cdrom /mnt/cdrom mount: mount point /mnt/cdrom does not exist linux:/ # mkdir /mnt/cdrom mkdir: cannot create directory `/mnt/cdrom': Read-only file system linux:/ # mkdir /mnt/cd mkdir: cannot create directory `/mnt/cd': Read-only file system linux:/ # cd /mnt linux:/mnt # ls . autorun.inf COPYING INDEX.gz media.5 SuSEgo.ico .. content COPYRIGHT ls-lR.gz suse linux:/mnt # And I also assume the fstab file is of interest: /dev/hda7 / reiserfs acl,user_xattr 1 1 /dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0 /dev/hda5 /windows/D ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0 /dev/hda6 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 sysfs /sys sysfs noauto 0 0 /dev/cdrom /media/cdrom subfs fs=cdfss,unhide,rw,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 /dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0 /dev/ /media/ subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 Thank you. - James
First off, please fix either your clock or timezone. it is off by three hours. On Tue, 2005-03-29 at 12:32 -0800, James Wright wrote:
I am still learning the ins and outs of linux, and in the process of trying to get an external USB CD burner to work, I have somehow disabled my CD-ROM. When I click the icon in 'My Computer' (KDE 3.3, SuSE Linux 9.2 Pro) it gives the following message:
An error occurred while loading drives:/cdrom.desktop: The file or folder /media/cdrom does not exist.
It seemed obvious that I needed to create the directory /media/cdrom. That did not work. Here is what I have tried. As you will see I can use it by mounting to /mnt, but I would like my link in KDE to work correctly. (I had the SuSE 9.2 Disc 5 in the drive the entire time)
linux:/home/james # cd /media linux:/media # ls /bin/ls: .: No medium found linux:/media # cd . linux:/media # cd .. linux:/ # mkdir /media/cdrom mkdir: cannot create directory `/media/cdrom': No medium found
And I also assume the fstab file is of interest:
/dev/hda7 / reiserfs acl,user_xattr 1 1 /dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0 /dev/hda5 /windows/D ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0 /dev/hda6 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 sysfs /sys sysfs noauto 0 0 /dev/cdrom /media/cdrom subfs fs=cdfss,unhide,rw,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 /dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0 /dev/ /media/ subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
This last entry is wrong. Either comment it out by putting an # as the first character or delete the line. This should fix the problem you are also having with creating a dir under /media. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 * Only reply to the list please* "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
I am still learning the ins and outs of linux, and in the process of trying to get an external USB CD burner to work, I have somehow disabled my CD-ROM. When I click the icon in 'My Computer' (KDE 3.3, SuSE Linux 9.2 Pro) it gives the following message:
An error occurred while loading drives:/cdrom.desktop: The file or folder /media/cdrom does not exist.
It seemed obvious that I needed to create the directory /media/cdrom. Correct, but it seems you have deleted all the directories under media. That did not work. Were you doing it as a user or root? Here is what I have tried.
linux:/home/james # cd /media linux:/media # ls /bin/ls: .: No medium found not good, meaning all the directories under media have been deleted. Looking at mine, I would say you may need cdrom, cdrecorder, and maybe floppy and xmms_audio_cd. linux:/media # cd . linux:/media # cd .. linux:/ # mkdir /media/cdrom Are you root here. Your prompt suggests you are. mkdir: cannot create directory `/media/cdrom': No medium found Instead, as root, cd /media mkdir cdrom /dev/cdrom /media/cdrom subfs fs=cdfss,unhide,rw,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 So you definitely need cdrom under /media /dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0 and floppy /dev/ /media/ subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 comment out this line, it is wrong, and may make udev delete your
James Wright wrote: directories. Assuming you added this, delete it and use Yast to add your external cdwriter. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
participants (3)
-
James Wright
-
Joe Morris (NTM)
-
Ken Schneider