LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-15-2002, 06:05 PM   #1
stalkersteve
LQ Newbie
 
Registered: Aug 2002
Posts: 2

Rep: Reputation: 0
Unhappy Copy files from cdrom


I need to put the files on cdrom into top level directory veclinux. I don't know how to access my cdrom to mv the files though.

I am trying to mount # mount /mnt/cdrom
but I get
mount: can't find /mnt/cdrom in /etc/fstab or /etc/mtab

I am clueless.
 
Old 08-15-2002, 06:31 PM   #2
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You can try:

mount -t iso9660 /dev/hd? /mnt/cdrom -o ro

Replace the ? in hd? with the correct drive letter and make sure that the directory /mnt/cdrom exists. Don't forget to unmount the drive when you're done using it with ' umount /mnt/cdrom ' and if you cd'ed onto the cdrom disk, you want to cd off the cdrom disk before you unmount it.

You can also add a line to your /etc/fstab file to make it easier to mount next time. Like this:

/dev/hd? /mnt/cdrom iso9660 user,ro,noauto 0 0

You have to be root to edit the /etc/fstab file. Then to mount the cdrom drive just run ' mount /mnt/cdrom '.
 
Old 08-15-2002, 07:01 PM   #3
keevitaja
Member
 
Registered: Aug 2002
Location: Estonia
Distribution: XP PRO
Posts: 119

Rep: Reputation: 15
hi.

i had the same problem and i did some stupid things . first i thought, that if i clean fstab and mtab from cdrom entrys, my RH 7.3 will create the proper ones by itself. i didn't. then i removed /dev/hdc from my harddrive.
no i am totally confused - what should i do now? please advise me.
 
Old 08-15-2002, 07:20 PM   #4
stalkersteve
LQ Newbie
 
Registered: Aug 2002
Posts: 2

Original Poster
Rep: Reputation: 0
thanx

that wurkd

thanx alot
 
Old 08-15-2002, 10:11 PM   #5
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You're welcome.
 
Old 08-15-2002, 11:06 PM   #6
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
keevitaja, edit your /etc/fstab file like I told stalkersteve. Add this line to your /etc/fstab file:

/dev/hd? /mnt/cdrom iso9660 user,ro,noauto 0 0

Do this as root and make sure /mnt/cdrom exists and replace the ? with the correct drive letter. Then to mount it run ' mount /mnt/cdrom '.
 
Old 08-16-2002, 08:16 AM   #7
keevitaja
Member
 
Registered: Aug 2002
Location: Estonia
Distribution: XP PRO
Posts: 119

Rep: Reputation: 15
i knoo that, but i did rm /dev/hdc, which was my cd rom. how cab i get it back?
 
Old 08-16-2002, 08:56 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
keev, I would think a reboot might bring that back. Not sure though, because I haven't gone around yet and randomly deleted important files.
 
Old 08-16-2002, 09:13 AM   #9
keevitaja
Member
 
Registered: Aug 2002
Location: Estonia
Distribution: XP PRO
Posts: 119

Rep: Reputation: 15
nope, reboot won't cure a thing
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't mount CDROM after sys copy to new HD muadib Linux - Hardware 0 09-22-2004 02:12 PM
copy file from broken cdrom? FloFri Linux - General 7 04-04-2004 05:10 AM
how to copy mandrake rescue from cdrom to harddrive? TimeFade Mandriva 4 12-31-2003 01:16 AM
How Do I copy data from the cdrom to my harddrive TransAmJugo Linux - Newbie 2 07-18-2003 04:09 PM
can not copy from CDROM x2000koh Linux - General 2 12-12-2002 12:36 AM


All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration