LinuxQuestions.org
Review your favorite Linux distribution.
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 05-13-2003, 09:33 AM   #1
thomassounness
LQ Newbie
 
Registered: Apr 2003
Location: Malaysia
Distribution: Mandrake 9.0 / Suse 8.0
Posts: 25

Rep: Reputation: 15
Post Editing fstab - HOWTO guide?


I am seeking a guide to editing the fstab guide. A frequent error in my system seems to be the 'invalid block mounted device' so I want to know what to change (change 'cdrom' to 'hdb' apparently) and what the intent of the changes should be, instead of playing battleships with the program's inner workings.

Like - the cdrom is a cdrom and is not an IDE drive device. Why do I need to change it to make the OS work.

Links appreciated.

Thomas
(suse 8.0)
 
Old 05-13-2003, 09:39 AM   #2
thomassounness
LQ Newbie
 
Registered: Apr 2003
Location: Malaysia
Distribution: Mandrake 9.0 / Suse 8.0
Posts: 25

Original Poster
Rep: Reputation: 15
Found this bit in 'http://www.unixguide.net/linux/linuxshortcuts.shtml' which revealed some things.

"You know which IDE device your CDR is. Let's assume it is /dev/

I assume that which ever device is attached to the IDE cable at a particular point is described as being the owner of that point.

So ... is there a HOWTO on this bit of the linux thingamie?
 
Old 05-13-2003, 09:59 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
i wouldn't know if there are any guides per se, as it's quite straightforward, just the general unix background that i guess you're confused about. have a look through the rute guide in my signature, it's really useful and contains a lot of information.

i presume you mean that your /dev/cdrom link doesn't actually go anywhere valid..? the 4 ide devices are

hda - primary master
hdb - primary slave
hdc - secondary master
hdd - secondary slave

a cd drive would normally be hdc, but obviosuly that depends on your system. there is normally a soft link (a *bit* like a windows shortcut, but actually completely different) from /dev/cdrom to /dev/hdc or hdb or which ever. it's only purpose is to make things look more obvious, not a critical thing at all. changing /dev/cdrom to /dev/hdb will not harm anything IF hdb is indeed the correct one.
 
Old 05-23-2003, 07:55 AM   #4
thomassounness
LQ Newbie
 
Registered: Apr 2003
Location: Malaysia
Distribution: Mandrake 9.0 / Suse 8.0
Posts: 25

Original Poster
Rep: Reputation: 15
OK ... it is several times after this time - or that time - and I have figured it out.

What I was looking for, and which I did not find, was the newbie's guide to HOWTO-FSTAB ... which said the following ...

1) the hard wired position of your hard disk & cd-rom and IDE devices matter. (In windows mostly they don't)
2) the name described to the device "/media/cdrom" is a shortcut to another name showing how to reach that item on the motherboard ... such as "hda/cdrom"
3) the place to look for in finding this shortcut for the system is in 'FSTAB' which you can find in "/dev"
4) the possible positions for the hardware item on the motheboard for standard IDE device systems are ...

hda - primary master
hdb - primary slave
hdc - secondary master
hdd - secondary slave

5) SCSI devices are not on this section (are they?) and are dealt with HOWTO-SCSI thingamie whasadooper.

It was point one that was driving me batty, now I have the soft glow of a successful-thinker-fiddler-mosquito-ridden-tech-junky-in-the-wilds-of-borneo feeling.

Cheers
 
  


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
cdrom access : fstab editing guide samael26 Slackware 2 08-17-2005 07:28 AM
Editing fstab GingerMegs Linux - Software 1 06-04-2005 05:24 PM
Editing etc/fstab- yet again:-) hitest Slackware 7 04-21-2005 01:50 PM
Who is editing my fstab???!!! laszlo Linux - Newbie 5 06-30-2004 06:37 AM
editing the etc/fstab firefightin4fun Linux - Newbie 8 09-20-2003 11:53 PM


All times are GMT -5. The time now is 06:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration