Linux and the laser
make clean - clean up the source directory
make bzImage - compile the kernel. Watch the case !
make modules - compile the modules
Before you install the modules, make sure that you move your old modules
directory out of the way. Your kernel modules will be found under
/lib/modules/your-kernel-version.
make modules_install - install the modules
You could also put all of the above into a single line as
make dep clean bzImage modules modules_install
Either of the two methods will give you the same result but it is safer to
do everything individually so you can keep an eye on the process.
Take a break till the kernel is compiled.
The kernel image will have been put in /usr/src/linux/arch/i386/boot
directory as bzImage. Copy this image to /boot.
cp /usr/src/linux/arch/i386/boot/bzImage /boot
To check it out edit /etc/lilo.conf in pico or vi or your favourite text
editor. Make a copy and edit the other linux entry or add a new entry like
the following at the end of the file.
image=/boot/bzImage
label=cdrlinux
root=/dev/hda1 ( Replace this with the root= given in the other image entry )
read-only
Reboot and enter cdrlinux at the lilo prompt. If you followed my kernel
setting then scsi support will have been compiled into the kernel and scsi
support for your cdwriter will be enabled at boot. Look for a message as
below.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
Vendor: PLEXTOR Model: CD-R PX-W8432T Rev: 1.05
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Do not worry about other IDE cdroms in your system using scsi support. You
will still be able to use them as normal. The only difference is that the
drives will now be referenced as /dev/scd0 for the first cdrom device and
/dev/scd1 for the second and so on. Use these when mounting or un-mounting
your cdroms.
Now your mount commands will look like
mount /dev/scd0 /mnt/cdrom
If all of the above seems way too hard then here's what some well wishers
off the net have sent in.
BoyLinux has a much faster way to get there without compiling the kernel
Before you start, check out your kernel modules directory. Most new
distributions will carry the scsi emulation modules as part of the default
- « first
- ‹ previous
- of 5
- next ›
- last »