LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   problem accessing directoires on cdrom (https://www.linuxquestions.org/questions/linux-general-1/problem-accessing-directoires-on-cdrom-16027/)

u998r3s 03-11-2002 01:30 PM

problem accessing directoires on cdrom
 
I am having a problem when I try to access any directories on my Linux 7.1 cdrom. I am able to mount the drive and use an "ls" command to see the contents of the root of the cdrom, but I am unable to cd to any of the directories....any ideas...... I am new to Linux so please have mercy........

trickykid 03-11-2002 01:34 PM

what errors do you recieve ?? have you tried the complete path of the directory ??

-trickykid

u998r3s 03-11-2002 01:56 PM

Re problem and question from trickykid
 
I recieve the statement "no such file or directory found" but I am able to see it when I use the "ls" commmand?

trickykid 03-11-2002 04:07 PM

can you mount any other data cd and see the contents and if you can do you get the same error. ??
did you try the complete path like i mentioned before ??

-trickykid

jdctx 03-12-2002 12:17 AM

With your cd in. Open an xterm
at the command line
type
su (you will be prompted for a password enter your root password)

once you succesfully do that type
cat /etc/fstab

(a semi small list of things will show amoung them should be a line about /mnt/cdrom or /cdrom) write down that line
it will start with maybe /dev/hdb or /dev/hdc followed by /mnt/cdrom or /cdrom

type umount /dev/hd? (get it from the line in fstab) It should not say /dev/hda or anything with hda it will most likely say either hdb or hdc

type mount /dev/hd? /mnt/cdrom

type cd /mnt/cdrom

type ls -FC things that look like

games/ are directories
things without the " / " are files
you can cd through " / "

Well that as far as I can help.


All times are GMT -5. The time now is 04:36 PM.