OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

kernel /vmlinuz-2.4.9-21 ro root=/dev/hde8 initrd /initrd-2.4.9-21.img

After the new kernel has proven to work, you may remove the lines for the old one from the GRUB config file, although it is best to wait a couple of days just to be sure.


image

7.5.5. Installing extra packages from the installation CDs


7.5.5.1. Mounting a CD


This is basically done in the same way as installing packages manually, except that you have to append the file system of the CD to your machine's file system to make it accessible. On most systems, this will be done automatically upon insertion of a CD in the drive because the automount daemon is started up at boot time. If your CD is not made available automatically, issue the mount command in a terminal window. Depending on your actual system configuration, a line similar to this one will usually do the trick:


mount /dev/cdrom /mnt/cdrom


On some systems, only root can mount removable media; this depends on the configuration.


image

For automation purposes, the CD drive usually has an entry in /etc/fstab, which lists the file systems and their mount points, that make up your file system tree. This is such a line:


[david@jupiter ~] grep cdrom /etc/fstab

/dev/cdrom /mnt/cdrom iso9660

noauto,owner,ro 0 0

[david@jupiter ~] grep cdrom /etc/fstab

/dev/cdrom /mnt/cdrom iso9660

This indicates that the system will understand the command mount /mnt/cdrom. The noauto option means that on this system, CDs are not mounted at boot time.


You may even try to right click on the CD icon on your desktop to mount the CD if your file manager doesn't do it for you. You can check whether it worked issuing the mount command with no arguments:


[david@jupiter ~] mount | grep cdrom

/dev/cdrom on /mnt/cdrom type iso9660 (ro,nosuid,nodev)

[david@jupiter ~] mount | grep cdrom

/dev/cdrom on /mnt/cdrom type iso9660 (ro,nosuid,nodev)


image


7.5.5.2. Using the CD


After mounting the CD, you can change directories, usually to the mount point /mnt/cdrom, where you can access the content of the CD-ROM. Use the same commands for dealing with files and directories as you would use for files on the hard disk.


image

7.5.5.3. Ejecting the CD


In order to get the CD out of the drive after you've finished using it, the file system on the CD should be unused. Even being in one of the subdirectories of the mount point, /mnt/cdrom in our example, will be considered as "using the file system", so you should get out of there. Do this for instance by typing cd with no arguments, which will put you back in your home directory. After that, you can either use the command


umount /mnt/cdrom


or


eject cdrom


imageBlocked drives

NEVER force the drive. The trick with the paperclip is a bad idea, because this will eventually expunge the CD, but your system will think the CD is still there because normal procedures were not followed. Chances are likely that you will have to reboot to get the system back in a consistent state.


Top OS Cloud Computing at OnWorks: