Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Am new Linux adventurer. Have installed RedHat 9. Managed to get my USB cable Model working and can now get internet (Yeee haa!!). But I just can't get my DVD working!! Red Hat installed off it so it must be possible to access the thing!
[root@qld mnt]# mount -t iso9660 /dev/hdc /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
*****************
To provide further info
*****************
[root@qld ide]#cat hdc/model
PIONEER DVD-RW DVR-104
[root@qld dev]# ls cdrom
ls: cdrom: No such file or directory
[root@qld mnt]# ls
A C cdrom
[root@qld mnt]# eject /dev/hdc
eject: unable to eject, last error: Invalid argument
[root@qld etc]# cat grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd2,0)
# kernel /vmlinuz-version ro root=/dev/hdd2
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd2,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd2,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
title Windows
rootnoverify (hd0,0)
chainloader +1
[root@qld etc]# cat fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdd3 swap swap defaults 0 0
/dev/hda1 /mnt/C vfat defaults 0 0
/dev/hdc /mnt/cdrom iso9660 ro,noauto,user 0 0
[root@qld etc]# ln -s /dev/hdc /dev/cdrom
ln: `/dev/cdrom': File exists
[root@qld etc]# mount /dev/cdrom
mount: can't find /dev/cdrom in /etc/fstab or /etc/mtab
I'm probably doing something really dumb. BUt I can't see it. Anybody got any ideas!
You see this line;
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
this means that /dev/hdc (cdrom) is now following scsi emulation and would therefore probably be /dev/scd0 . Go into /var/log/dmesg or syslog and look down the listings and see what the system has called it. It will have a message to the effect that your specific branded cd/dvd has been loaded. You may to go to /etc/fstab and specifically add the info or at least check that there is a line there to this effect.
here's mine as an example;
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hdd1 / ext3 errors=remount-ro 0 1
/dev/hdd5 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
#/dev/cdrom /mnt/cdrom iso9660 noauto,ro,user,exec 0 0
#/dev/hdb /mnt/cdrom iso9660 noauto,ro,user,exec 0 0
/dev/hda1 /mnt/C: vfat defaults,umask=000 0 0
/dev/hda5 /mnt/E: vfat defaults,umask=000 0 0
/dev/scd0 /cdrom auto ro,noauto,user,exec 0 0
OK, first of all in your boot you will notice hdc=ide-scsi
This means that linux will use hdc as a scsi device, not as an
ide device.
This is so that cd recording will work correctly, (yes there are
ways round this)
First of all try 'mount /mnt/cdrom'
If this doesn't work it means that there is an entry missing
in /etc/fstab
probably 'mount /dev/scd /mnt/cdrom' will work.
/dev/cdrom is a symbolic link to the real device file.
If the above mount worked then just create a symbolic link
'ln -s /dev/scd /dev/cdrom'
You should have a line like this in /etc/fstab...
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
If you don't create one, then you should be able to do
u/mount /mnt/cdrom
and be able to see the cd in gnome/kde
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.