LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 05: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, 05: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, 06: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, 06: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, 09:11 PM   #5
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You're welcome.
 
Old 08-15-2002, 10: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, 07: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, 07:56 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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, 08: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



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 01:12 PM
copy file from broken cdrom? FloFri Linux - General 7 04-04-2004 04:10 AM
how to copy mandrake rescue from cdrom to harddrive? TimeFade Mandriva 4 12-31-2003 12:16 AM
How Do I copy data from the cdrom to my harddrive TransAmJugo Linux - Newbie 2 07-18-2003 03:09 PM
can not copy from CDROM x2000koh Linux - General 2 12-11-2002 11:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:01 PM.

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
Open Source Consulting | Domain Registration