LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2005, 11:00 AM   #1
pink1dog
LQ Newbie
 
Registered: Apr 2005
Location: mi
Posts: 8

Rep: Reputation: 0
Question how do i fix my linux to make it auto mount for cdrom. when i boot the machine saw a


how do i fix my cdrom in linux, when i boot the machine saw a message that mount filesystem FAIL no medium found, but i can still use the cdrom except to make it automount
 
Old 04-07-2005, 10:54 PM   #2
s_deepak_123
Member
 
Registered: Oct 2004
Location: Mysore, India
Distribution: Fedora Core 1, Xandros desktop OS 2
Posts: 54

Rep: Reputation: 15
In the file /etc/fstab if your cdrom has the option as auo, then this error occurs when it tries to mount the CD and there is no CD in the drive.
To solve this, change the "auto" option to "noauto".
 
Old 04-12-2005, 08:17 AM   #3
pink1dog
LQ Newbie
 
Registered: Apr 2005
Location: mi
Posts: 8

Original Poster
Rep: Reputation: 0
I'd already fix my fstab, and it still did not automount for me, when I insert
the cd into a cdrom drive.

this is my fstab looks like:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,user,exec,kudzu,ro 0 0

I need to install a program with the autorun, when I insert the cd into a
cdrom the autorun suppose to come up, but it did not.. I was told to install
the automount ==> I don't know how to do it.... i thought what i put in
the fstab is supposed to work but it did not... HELP!!!!!!!!!

thanks,

pv
 
Old 04-12-2005, 01:14 PM   #4
deoren
Member
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 216

Rep: Reputation: 30
What distro do you have? What version?
 
Old 04-12-2005, 04:04 PM   #5
pink1dog
LQ Newbie
 
Registered: Apr 2005
Location: mi
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by deoren
What distro do you have? What version?

I used redhat 7.2 In the other machine I did the same thing for the
fstab and it works for the autorun program to automount my cds
 
Old 04-12-2005, 04:06 PM   #6
pink1dog
LQ Newbie
 
Registered: Apr 2005
Location: mi
Posts: 8

Original Poster
Rep: Reputation: 0
I used redhat 7.2 In the other machine I did the same thing for the
fstab and it works for the autorun program to automount my cds
 
Old 04-12-2005, 06:51 PM   #7
deoren
Member
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 216

Rep: Reputation: 30
You mentioned Red Hat 7.2

Is that what you're using in both systems?

Are both systems setup similarly?
 
Old 04-12-2005, 06:53 PM   #8
deoren
Member
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 216

Rep: Reputation: 30
Also, post the contents of:

grub.conf

/etc/fstab
 
Old 04-13-2005, 10:31 AM   #9
pink1dog
LQ Newbie
 
Registered: Apr 2005
Location: mi
Posts: 8

Original Poster
Rep: Reputation: 0
yes, I set them up the same, infact I used the kickstart diskette that has been setup for me to use..

It's very strange, that it works on one and not the other??? I was reading somewhere on the web that i need to setup the automount.... do I have to install the program? where do i find it??

thanx
 
Old 04-13-2005, 11:17 AM   #10
deoren
Member
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 216

Rep: Reputation: 30
If they have both been installed with the same applications, do this:

On system 1:
Code:
rpm -qa | sort > /tmp/computer1-rpmlist.txt
On system 2:
Code:
rpm -qa | sort > /tmp/computer2-rpmlist.txt
Copy them to whatever GNU/*NIX system you want (same directory) and run this:

Code:
diff -Nau computer1-rpmlist.txt computer2-rpmlist.txt > difference.txt
Paste the contents of difference.txt
 
Old 04-13-2005, 12:03 PM   #11
pink1dog
LQ Newbie
 
Registered: Apr 2005
Location: mi
Posts: 8

Original Poster
Rep: Reputation: 0
I'm not sure what do u mean by pasting ==> difference.txt

are u saying that if i find anything different from one pc then copy that difference.txt file into the missing file in the second pc or vis/versa?

thanx
 
Old 04-13-2005, 01:59 PM   #12
deoren
Member
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 216

Rep: Reputation: 30
Run this on the first computer:

Code:
rpm -qa | sort > /tmp/computer1-rpmlist.txt
Run this on the second computer:

Code:
rpm -qa | sort > /tmp/computer2-rpmlist.txt
Then copy the computer1-rpmlist.txt file from /tmp/ on the first computer to your second one (that is having trouble). Copy it to /tmp/. Run this:
Code:
diff -Nau computer1-rpmlist.txt computer2-rpmlist.txt > difference.txt
You will now have a file called difference.txt on your second computer in /tmp/ called difference.txt

Post the contents of that file to this forum.

Last edited by deoren; 04-13-2005 at 02:01 PM.
 
  


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
How to auto mount cdrom in run level 3? Arodef Linux - Hardware 9 03-07-2009 10:34 AM
I get mount: /dev/cdrom: can't read superblock, How to fix? zLinuxz Linux - General 12 06-18-2008 02:42 AM
cdrom and floppy drive auto mount problem shams Fedora 1 02-27-2005 07:43 AM
stopping auto mount hang my machine rabins Linux - Networking 0 10-13-2004 01:56 AM
auto mount cdrom demmylls Linux - General 1 10-04-2003 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:48 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
Open Source Consulting | Domain Registration