LinuxQuestions.org
Visit Jeremy's Blog.
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 02-15-2005, 07:05 PM   #1
LDZ420
LQ Newbie
 
Registered: Apr 2004
Location: Fontana, California
Distribution: Ubuntu
Posts: 27
Blog Entries: 1

Rep: Reputation: 15
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
 
Old 02-15-2005, 07:13 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 02-15-2005, 07:20 PM   #3
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
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...
 
Old 02-18-2005, 04:32 PM   #4
LDZ420
LQ Newbie
 
Registered: Apr 2004
Location: Fontana, California
Distribution: Ubuntu
Posts: 27

Original Poster
Blog Entries: 1

Rep: Reputation: 15
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
 
  


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
How to repair FStab after changin hard drives? Anjin Mandriva 4 03-22-2005 03:04 AM
Changin Drivers AGilley007 Slackware 47 07-09-2004 09:31 PM
Changin HD Linux is on Selos Linux - Newbie 5 08-24-2003 11:53 PM
Changin a partition FS Thetargos Linux - Software 21 04-22-2003 08:30 PM
changin vid card AzrielMacKay Linux - Software 2 09-06-2001 11:13 AM

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

All times are GMT -5. The time now is 07:27 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