public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] IDE ATAPI CD-RW: give the newbies a leg up!
@ 2002-10-27 19:25 Gilles Pelletier
  2002-10-29 15:57 ` Thomas T. Veldhouse
  0 siblings, 1 reply; 3+ messages in thread
From: Gilles Pelletier @ 2002-10-27 19:25 UTC (permalink / raw
  To: gentoo-dev; +Cc: drobbins

Isn't it strange that, though almost everybody now has an IDE ATAPI
CD-RW, instructions on how to get them working are very hard to find?

Please don't forget the newbies. Even if they used Mandrake, Lycoris, 
ELX or Xandros, ir won't be much help if they want to learn more with 
Gentoo. Make sure you give them an adequate leg up. Don't forget 
J-C's advice: no strong foundations, no solid building . :)

So, Here are the instructions I wrote using Slackware (I haven't moved 
to Gentoo... yet.) I suppose it would be easy for you to adapt them 
if need be.

-------------------

Add

append="hdx=ide-scsi"

to /etc/lilo.conf
­­­­­
This line loads a module in the kernel for scsi emulation because
Linux normally works only with scsi cd writers.  The x should usually
be replaced by c as the cd rewriter is most often plugged as the
secondary master. If not, it should be b for primary slave or d for
secondary slave.

--------------------

Add

/sbin/modprobe ide-scsi

to /etc/rc.d/rc.modules

This line loads the scsi module installed by lilo.conf

---------------------

Add 

/dev/scd0	/mnt/cdrom	iso9660	noauto,user,ro	0  0 

to /etc/fstab

At boot time, this line in the file system table (fstab) will allow to
mount the cdrom to the mount point /mnt/cdrom .

*********************
For more advanced users:

Notice that, after loading the scsi module, if no other scsi device is 
present, the device for the cdrom is scd0 instead of hdc (for a 
read-only ide cdrom plugged on secondary master.) In some Linux 
distros, a link is made from /dev/scd0 to /mnt/cdrom or other 
mounting point, so that the line in fstab may read something like:

/dev/cdrom	/mnt/cdrom	iso9660	noauto,user,ro	0  0
**********************

The third field means the file system is the standard iso9660.

"noauto", means "Do not mount the device automatically at boot time" .
(On the countrary, your hard disk, which is a non-removable device,
is mounted automatically. The system knows it is there, whereas there
might not be a cd in your cd writer :)

"user" allows any user to mount the cdrom. "owner" would allow only
root to mount it. "users" would allow to unmount the cdrom even if it
has been mounted by another user: seldom used.

"ro" means read-only. Don't ask me why the cd writer has to be mounted
read-only.

"0   0" relates to dumping and checking the filesystem. Forget about
this for now.

----------------

That's it folks! Don't you think, for 99.9% of your users, those few 
lines would do a better job than the 75k outdated howto?

Gilles Pelletier
--
La Masse critique
http://pages.infinit.net/mcrit


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-29 16:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-27 19:25 [gentoo-dev] IDE ATAPI CD-RW: give the newbies a leg up! Gilles Pelletier
2002-10-29 15:57 ` Thomas T. Veldhouse
2002-10-29 16:10   ` Russ Tennant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox