LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how do i fix my linux to make it auto mount for cdrom. when i boot the machine saw a (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-fix-my-linux-to-make-it-auto-mount-for-cdrom-when-i-boot-the-machine-saw-a-310746/)

pink1dog 04-07-2005 11:00 AM

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

s_deepak_123 04-07-2005 10:54 PM

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".

pink1dog 04-12-2005 08:17 AM

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

deoren 04-12-2005 01:14 PM

What distro do you have? What version?

pink1dog 04-12-2005 04:04 PM

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

pink1dog 04-12-2005 04:06 PM

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

deoren 04-12-2005 06:51 PM

You mentioned Red Hat 7.2

Is that what you're using in both systems?

Are both systems setup similarly?

deoren 04-12-2005 06:53 PM

Also, post the contents of:

grub.conf

/etc/fstab

pink1dog 04-13-2005 10:31 AM

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

deoren 04-13-2005 11:17 AM

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

pink1dog 04-13-2005 12:03 PM

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

deoren 04-13-2005 01:59 PM

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.


All times are GMT -5. The time now is 12:31 AM.