LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fstab changin on me (https://www.linuxquestions.org/questions/linux-newbie-8/fstab-changin-on-me-290704/)

LDZ420 02-15-2005 07:05 PM

fstab changin on me
 
The problem that I am having is that during the boot process I get a message saying "updating /etc/fstab" an then comes with the message "cannot stat /dev/cdrom no such file or directory" Now this setting worked for about a month. Then all of a sudden. blam.

/etc/fstab

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdc3 swap swap defaults 0 0
/dev/sdb /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0

// I don't know why they cdrom is entered in twice?

The next thing that i did was that I checked inside of /dev. And to my surprise I find that there is no /dev/cdrom device. In fact the first device on the machine is /dev/hdf19 So what I then do is look at hardware browser and find out the my cd is on /dev/scd0. So all I have to do is change fstab and I will be fine. I really just want to understand why this happened? This is not the first time this has happened to me. And when it happened last time it went to the same device.

The other question that I am asking is if I was not using the gui and couldn't use hardware browser how would I locate where my cdrom device was?

If there is anything that i forgot(like a log) or anything that you don't understand please inform me and I will place the in my next post.

-Landon :newbie:

Tinkster 02-15-2005 07:13 PM

The output of dmesg is always a good starting point
to locate a device ... the next thing to check is
/proc/ide
and its subdirs, and also
/proc/scsi/scsi
in case you're using ide-scsi ...


Cheers,
Tink

amosf 02-15-2005 07:20 PM

I'm not real clear on what's going on, but your cd will be on /dev/hdx or /dev/scdx depending on where it's plugged or if it's IDE or scsi or if you are using scsi-emu, which you don't really need to use these days...

LDZ420 02-18-2005 04:32 PM

thanks
 
Thanks everyone.

To tell you the truth the problem seemed to auto resolve itself.
Thanks for teaching me about dmesg next time i will include this on my message.

If you ever come around my hood I owe you a drink:)


All times are GMT -5. The time now is 10:43 PM.