cdrom not seen Part2
OK...
Slackware 10.1 I did a clean install, formatting the harddrive, checking for bad blocks and all. Everything went fast and smooth. However, just as before (in the previous thread) one cdrom is listed and noticed, the other is not even seen (btw, its the one that isn't seen that is the one I didi the install with) /etc/fstab: Code:
/dev/hda1 swap swap defaults 0 0 Code:
ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda: DMA, hdb: pio and audio cd won't do anything and tells me: ********** mount: wrong fs type, bad option, bad superblock on /dev/cdrom missing codepage or other error ...in some cases... ...try dmesg... please check the disk is entered correctly ********** Thanks for taking a look -Michael |
Quote:
You need to unmount the data CD before it will eject. Audio CDs can not be mounted because they do not contain a valid filesystem. You do not mention which drive i.e. the writer or the ROM drive is working. To see the what /dev/cdrom is actually linked to look at the output of the command: ls -l /dev/cdrom You can always add an fstab entry for the other device like /dev/hdd /mnt/cdrom2 iso9660 noauto,owner,ro 0 0 You will need to create the mount point. Change hdd to hdc if the writer is the device not configured. |
Quote:
Quote:
ok, so the other cdrom is being seen as hdd (through dmesg), but is not configured. Quote:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 instead of /dev/hdc /mnt/cdrom as described in the other thread, I tried " #mkdir /dev/cdrom1 " then added a line for it in fstab, but that didn't work. I feel like I'm missing a step. So what do you think about that first part of the fstab line? Everything I've been reading has described it as needing to be " /dev/hd* " |
To create a mount point.
mkdir /mnt/cdrom2 add this line to the fstab file /dev/hdd /mnt/cdrom2 iso9660 noauto,owner,ro 0 0 The /dev/cdrom is a link that points to the actual device /dev/hdc. In this case it is just creating a device name that has more meaning then /dev/hdc. The devices (/dev/hdc /dev/cdrom) are interchangable. |
Try the following (logged as root):
1 - Be sure that there are two different directories inside /mnt where you'll mount your devices. For example /mnt/cdrom and /mnt/cdrom1. If these directories doesn't exist, create them; 2 - Remove any symbolic link to cdrom drives thay may exist in your /dev directory. You'll create them again in step 3; 3 - Create new (and correct) symbolic links to your devices, using the ln command. Type the following at the prompt: Code:
# ln -s /dev/hdc /dev/cdrom Code:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 5 (optional) - If you want to give permissions for every user (not only root) being able to mount or umount the cdrom, add the users option to the fstab, like this: Code:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro,users 0 0 Code:
# mount /dev/cdrom 7 - To umount the cds, use: Code:
# umount /dev/cdrom Good luck! Ander P.S.: If you prefer, when creating the dirs and links in steps 1 and 3 you can use the names cdrw and cdrom instead of cdrom and cdrom1 respectively. It sounds more friendly (at least for me!). Obviously you'll have to adapt the lines in fstab. |
OK, its working now.
Thank you for the explain on /dev/cdrom vs /dev/hdd I like to understand at least somewhat what I'm typing in. There is still an issue with /mnt/cdrom not wanting to unmount. I tried it out as the first thing after starting x. I put a disc in ************* EDIT Nevermind. I was just being dumb. I think i was replying while Ander was and...y'know...its getting late and all... END EDIT HOWEVER: my whole system has FROZEN three times since I did this latest install about 4 hours ago. I'm getting a whole slew of errors from fsck. Should i start a new thread here, or do you think this would be more for the hardware forums? Thanks again all. -Michael |
I'd post a new thread in hardware about the fsck stuff.
The symlinks are a good idea, I set mine up to my preference too: /dev/burner -> /dev/scd0 /dev/cdrom -> /dev/scd1 /dev/usbstick -> /dev/sdb1 /dev/cdrom /mnt/cdrom iso9660 noauto,users,gid=11,mode=007,ro,unhide 0 0 /dev/burner /mnt/burner iso9660 noauto,users,gid=11,mode=007,ro,unhide 0 0 /dev/usbstick /mnt/usbstick auto noauto,users,gid=11,umask=007 0 0 |
All times are GMT -5. The time now is 08:04 AM. |