LinHES Forums http://forums.linhes.org/ |
|
can't access files on a CDR from a shell http://forums.linhes.org/viewtopic.php?f=14&t=9667 |
Page 1 of 1 |
Author: | wirchrick [ Mon Apr 17, 2006 12:47 pm ] |
Post subject: | can't access files on a CDR from a shell |
Hello, I have been wrestling with my MythBox for about 4 months now. I had a system that was almost working perfectly, but now have screwed it up on an upgrade to R5B7. When I had the system at first, it had a problem with my video that required a newer NVidia driver. At that point I could stick in a CDR and copy files off it to the HD and install drivers. However, after the system was up and working if I opened a shell, I could not access the same CDR. When I did a 'ls /cdrom' it would give no errors but also list no files. Now I have upgraded to R5B7 and have no audio. Last time, I installed realtek drivers and that fixed my problem. However, I can't access the driver on the CDR. What is up with why I can't access the cdrom? Hardware: Gigabyte K8N51PVMT-9 (by the way don't buy this it is terrible), AMD 3200+, Seagate 300GB IDE, old DVD reader drive from an old Dell computer (doesn't write). Thank you for your help, Rick Wirch |
Author: | sixosix [ Mon Apr 17, 2006 3:22 pm ] |
Post subject: | CD-ROM |
Howdy- Check your /etc/fstab file. Is the CD-ROM being properly mounted? Can you cd directly into the CD-ROM? Check your messages file Code: dmesg
Look for an entry that shows that the CD-ROM was mounted. Check your /var/log section. Look for any error messages in mythbackend. Also, are you trying to access the /cdrom as root? or as another user? Hope this helps, Mike |
Author: | mjl [ Mon Apr 17, 2006 3:24 pm ] |
Post subject: | |
hI wirchrick, Normally you have to mount the file, as root, try mount /dev/cdrom and retry looking at it with the ls As root try alsaconf to see if it can detect your audio. Have a good day! Mike |
Author: | cesman [ Tue Apr 18, 2006 4:31 pm ] |
Post subject: | |
Insert the CD. Code: command /mnt/cdrom Should be all you need to do.
|
Author: | wirchrick [ Thu Apr 20, 2006 11:55 am ] |
Post subject: | Still having problems, none of the suggestions worked |
Hello all, Thanks for the suggestions. When I try to mount the cdrom it says that /dev/cdrom is not in /etc/fstab or mtab. I looked in those files and sure enough there isn't anything but the hard drive partitions and a floppy even though I don't have a floppy. What do I need to do to access the DVD-ROM? It works within Myth because I can watch (non-copyprotected) DVD's, and it worked because I installed both R5A30.2 and R5B7 from the CDR in the first place. Also, I tried inserting a USB flashdisk and a bunch of text appeared stating that a Flashdisk device was mounted as SCSI emulation etc, etc. However, I tried mounting and cd ' ing to it and couldn't find it. Help please, Thank you, Rick Wirch P.S. Networking doesn't work yet because I need to install drivers for the wireless USB ethernet dongle that I bought from the Dragon people. P.P.S. Yes I am logged in as root, and yes I tried mounting the cdrom. |
Author: | tjc [ Thu Apr 20, 2006 5:59 pm ] |
Post subject: | |
This should be handled by the automounter. Have you got /dev/cdrom linked to the right place? A search of the forum should provide several detailed diagnostic walk throughs that I've done on this. Including searching the messages file for the actual device name... The cd_link.sh script should do most of this for you. |
Author: | mjl [ Thu Apr 20, 2006 6:19 pm ] |
Post subject: | |
Hi, Depending on how fancy your usb set up is, you could try making a directory, simple fstab edit and then mount a memory stick. mkdir /stick add to the /etc/fstab /dev/sda1 /stick vfat defaults,user,noauto,showexec,umask=022 0 0 then try mount /stick if it is happy, you get a prompt back. The cd is basicly automount, example, I inserted my KnoppMyth cd and then: sh-3.00$ ls /mnt/cdrom KNOPPIX boot sh-3.00$ eject umount: /dev/cdrom is not in the fstab (and you are not root) darn if that doesn't get you in the kneecap ![]() oh and if you want to use the floppy, do mkdir /floppy then you should be able to mount one. Mike |
Author: | wirchrick [ Tue Apr 25, 2006 2:14 pm ] |
Post subject: | Thanks for all the help |
Hi all, Thanks for the tips. With the latest ones, I was able to copy files from the cdrom. I just had to address it as /mnt/cdrom/* instead of /cdrom/*. I swear that earlier when I first started this project I said "mount /cdrom" and "ls /cdrom" and it worked properly. I wasn't expecting it to be "ls /mnt/cdrom". Also the tips on the memory stick worked as well. Unfortunately, I still have my audio problems even after installing the latest realtek audio drivers. I will post a new message and consider this one closed. Thanks again, Rick |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |