Gentoo Archives: gentoo-dev

From: Gilles Pelletier <gipe@×××××××××.ca>
To: gentoo-dev@g.o
Cc: drobbins@g.o
Subject: [gentoo-dev] IDE ATAPI CD-RW: give the newbies a leg up!
Date: Sun, 27 Oct 2002 14:39:49
Message-Id: 200210271423.52998.gipe@videotron.ca
1 Isn't it strange that, though almost everybody now has an IDE ATAPI
2 CD-RW, instructions on how to get them working are very hard to find?
3
4 Please don't forget the newbies. Even if they used Mandrake, Lycoris,
5 ELX or Xandros, ir won't be much help if they want to learn more with
6 Gentoo. Make sure you give them an adequate leg up. Don't forget
7 J-C's advice: no strong foundations, no solid building . :)
8
9 So, Here are the instructions I wrote using Slackware (I haven't moved
10 to Gentoo... yet.) I suppose it would be easy for you to adapt them
11 if need be.
12
13 -------------------
14
15 Add
16
17 append="hdx=ide-scsi"
18
19 to /etc/lilo.conf
20 ­­­­­
21 This line loads a module in the kernel for scsi emulation because
22 Linux normally works only with scsi cd writers. The x should usually
23 be replaced by c as the cd rewriter is most often plugged as the
24 secondary master. If not, it should be b for primary slave or d for
25 secondary slave.
26
27 --------------------
28
29 Add
30
31 /sbin/modprobe ide-scsi
32
33 to /etc/rc.d/rc.modules
34
35 This line loads the scsi module installed by lilo.conf
36
37 ---------------------
38
39 Add
40
41 /dev/scd0 /mnt/cdrom iso9660 noauto,user,ro 0 0
42
43 to /etc/fstab
44
45 At boot time, this line in the file system table (fstab) will allow to
46 mount the cdrom to the mount point /mnt/cdrom .
47
48 *********************
49 For more advanced users:
50
51 Notice that, after loading the scsi module, if no other scsi device is
52 present, the device for the cdrom is scd0 instead of hdc (for a
53 read-only ide cdrom plugged on secondary master.) In some Linux
54 distros, a link is made from /dev/scd0 to /mnt/cdrom or other
55 mounting point, so that the line in fstab may read something like:
56
57 /dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
58 **********************
59
60 The third field means the file system is the standard iso9660.
61
62 "noauto", means "Do not mount the device automatically at boot time" .
63 (On the countrary, your hard disk, which is a non-removable device,
64 is mounted automatically. The system knows it is there, whereas there
65 might not be a cd in your cd writer :)
66
67 "user" allows any user to mount the cdrom. "owner" would allow only
68 root to mount it. "users" would allow to unmount the cdrom even if it
69 has been mounted by another user: seldom used.
70
71 "ro" means read-only. Don't ask me why the cd writer has to be mounted
72 read-only.
73
74 "0 0" relates to dumping and checking the filesystem. Forget about
75 this for now.
76
77 ----------------
78
79 That's it folks! Don't you think, for 99.9% of your users, those few
80 lines would do a better job than the 75k outdated howto?
81
82 Gilles Pelletier
83 --
84 La Masse critique
85 http://pages.infinit.net/mcrit

Replies

Subject Author
Re: [gentoo-dev] IDE ATAPI CD-RW: give the newbies a leg up! "Thomas T. Veldhouse" <veldy@×××××.net>