Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
I tried opening my tar files on my cd... by typing "/cdrom" and then i type "ls" and it doesn't show any files. Is there a command i'm not using ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Location
    deep blu sea
    Posts
    17

    It can't see my CDROM drive.


    I tried opening my tar files on my cd... by typing "/cdrom" and then i type "ls" and it doesn't show any files.
    Is there a command i'm not using or sumthin?
    Any help is much appreciated.

    thnx,
    IPM

  2. #2
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    if you are running from the cdrom make sure it is mounted
    Operating System: GNU Emacs

  3. #3
    Just Joined!
    Join Date
    Feb 2005
    Location
    deep blu sea
    Posts
    17

    And how would I do that?

    I'm kinda new to linux
    So how do i mount my cd drive?

  4. #4
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    type in a console as root, until you set up permissions correctly:

    mount /dev/cdrom

    then point your browser or cd in a terminal to /mnt/cdrom

    the files should be there
    Operating System: GNU Emacs

  5. #5
    Just Joined!
    Join Date
    Feb 2005
    Location
    deep blu sea
    Posts
    17
    I'm not running on the CD.... it wont show whats on the CD.
    And i tried "mount dev/cdrom"....... It says "mount: can't find dev/cdrom"
    Please help, I need it to detect my cd drive.

    thnx,
    IPM

  6. #6
    Just Joined!
    Join Date
    Feb 2005
    Location
    deep blu sea
    Posts
    17
    I'm not running on the CD.... it wont show whats on the CD.
    And i tried "mount dev/cdrom"....... It says "mount: can't find dev/cdrom"
    Please help, I need it to detect my cd drive.

    thnx,
    IPM

  7. #7
    Just Joined!
    Join Date
    Feb 2005
    Location
    I live in a cake. An English cake.
    Posts
    26
    It might be as well do delete that double-post there.

    make sure you have the PRECEDING forward-slash in place, ie. mount /dev/cdrom - it's very important. It tells the operating system to look for the file from the root directory (called '/'), not from the directory you're currently in.

    For good practise, never issue a command in the same folder by typing
    ~> executable_file

    You should only do that if it's an installed program - try
    ~> lynx
    for instance.

    If you're running something that's in the same directory, you should put a ./ before it, like this:
    ~> ./executable_file

    Hope I've been informative

  8. #8
    Just Joined!
    Join Date
    Feb 2005
    Location
    deep blu sea
    Posts
    17

    ..........

    I tried "mount /dev/cdrom" and it says "mount: can't find /dev/hdc in /etc/fstab or /etc/mtab"

    hmm.... interesting. what does the "./" do?

    IPM

  9. #9
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407

    Re: ..........

    Quote Originally Posted by fishfish
    I tried "mount /dev/cdrom" and it says "mount: can't find /dev/hdc in /etc/fstab or /etc/mtab"

    hmm.... interesting. what does the "./" do?

    IPM
    what does it say in your /etc/fstab

    what the . does is if you are in /home/xxx and you want to go to /home/xxx/etc, and you type cd /etc it will take you back to /etc rather than /home/xxx/etc. the . will keep you where you are (it is hard to explain )
    Brilliant Mediocrity - Making Failure Look Good

  10. #10
    Just Joined!
    Join Date
    Feb 2005
    Location
    deep blu sea
    Posts
    17
    It's working now.... dylunio helped me.
    He told me to type "mount /dev/cdrom /cdrom" And that worked.


    Thanx 4 helping,
    IPM

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •