Post-Installation Tasks

Introduction

There are a number of post-installation tasks which users may want to perform.

Introducing Webmin

Webmin is a new-generation administration tool, designed to make administrative tasks simple and easy to perform. To start Webmin, click the Webmin menu item within KDE. Netscape Communicator will automatically start, and prompt you for your user name.

Enter root and your root password. Click the OK button, and Webmin will appear (See The Webmin Screen).

The first task will be to enable easy and convenient access to your Windows partition.

 

 

The Webmin Screen

Working With Windows

Many OpenLinux users come to Linux from Microsoft Windows--the well-known legacy software system. Typically, part of this legacy is months or years worth of files--wordprocessing, spreadsheet, presentation, database and graphics files--from the Windows platform.

Caldera OpenLinux fully supports your current base of Windows files by:

Enabling network access is covered in Chapter Thirteen, Advanced System Administration. Installation of StarOffice is covered in Chapter Six, KDE Graphical Desktop.

This section shows how to enable OpenLinux to allow the easy transfer of files, from within Linux, to and from a Windows partition on the same computer.

Accessing the Windows Partition From Linux

OpenLinux is automatically configured upon installation to read from the Windows partition, on a dual operating system machine. However, it is not configured to allow the Linux system to write to the Windows partition.

Allowing the Linux system read-only access to the Windows partition is a good security precaution for the new user, but many users may want to change the access to both read and write.

At first startup OpenLinux automatically mounts the Windows partition on a dual operating system machine, to /mnt/hda1. This is a logical choice of mount point in the Linux/UNIX world.

However, it may not be so logical for the new user coming from an alternative operating system. With Webmin, you can easily reconfigure the mount point of your Windows partition.

Allowing Read and Write Access to the Windows Partition

At the initial Webmin page, See The Webmin Screen, click the System tab to go to the System Window, and there click the Disk and Network Filesystems icon (See Icon Leading to Disk and Network Filesystems Page).

 

Icon Leading to Disk and Network Filesystems Page

The next page has five columns showing the current status of filesystems and disks (See Disk and Filesystem Mount Information).

 

Disk and Filesystem Mount Information

In this typical setup, the Windows Partition is the fifth row down from the heading row, with /mnt/hda1 in the Mounted As column, and Windows 95 Filesystem in the Type column.

To change this partition's access from read only, to read and write, and also to change its mount point, click once on the /mnt/hda1 line.

The next screen, Edit Mount, is divided into two halves. In the top half, Windows 95 Filesystem Mount Details, click in the Mounted As box, delete the present mount point, and change it to /C (See New Mount Point for the Windows Partition).

 

NOTE: This is just an example: you could change the mount point to something else, or, if you are satisfied with it, you need not change it at all.

 

New Mount Point for the Windows Partition

In the lower half of the screen, Advanced Mount Point Options, change Read-only to No (See Changing the Access Permission to Read and Write).

 

Changing the Access Permission to Read and Write

Now scroll to the very bottom of the web page and click on Save. You will be returned to the Disk and Network Filesystems page, See New Mount Point for the Windows Partition. In the first column, under Mounted As, you should see the new mount point.

Checking the Mount Point

From any terminal, type:

ls /

and press the Enter key. You should see the `C' among the other file and directory names.

To learn how to access files on any partition or directory from within X Windows, read the File Management section in Chapter Six. To learn more about how to manipulate files and partitions from the command line, read Chapter Seven, Command Line Operations.

Changing the Default Operating System

After installing Caldera OpenLinux on a dual-operating system machine, OpenLinux is the operating system which boots by default, with no user input when you turn on your machine.

However, you may want to change that behavior. The default boot option can be changed at any time using the special PowerQuest program, BootMagic.

Reboot your machine back into Windows, and insert the Windows Tools and Commercial Packages CD. On the OpenLinux eDesktop 2.4 screen, click the PowerQuest Utilities button, and on the next screen click the BootMagic button (See Choosing to Install BootMagic).

 

Choosing to Install BootMagic

The BootMagic setup window appears, See BootMagic Installation Welcome Screen. Follow the instructions and close down all other programs that may be running, and then press the Next button.

Several windows come up, asking you to agree to license terms, installation locations, etc. Move through them all and the program will install itself in a few moments. When you are prompted, insert a blank formatted floppy to create a boot rescue disk.

 

BootMagic Installation Welcome Screen

When the floppy is finished, the BootMagic Configuration screen will appear (See The BootMagic Configuration Screen). This screen will list both of your operating systems, Windows and OpenLinux. The column to the right of Menu Name shows you which OS is set to boot by default. With the configuration buttons at the bottom of the screen you can choose no startup delay, an indefinite delay, or a timed delay of your own setting.

To reconfigure the default OS, click on the system you want to boot automatically, and click the Set as Default button. Then click Save/Exit.

When you reboot, the BootMagic boot loader will give you a choice of which OS to start. You can change this default at any time by bringing up the BootMagic program within Windows.

 

The BootMagic Configuration Screen

 

Reconfiguring Default Command Line Behavior

For reasons of safety, it is a good idea to change one aspect of OpenLinux's default behavior at the command line--if you foresee spending any time there. If you intend to confine yourself to the graphical desktop environment and KDE, then you can skip this section and proceed to Section Two.

This section will demonstrate how to change the default behavior of the rm command. The new user, logging in as root either by mistake or to perform some administrative task, can seriously damage the system by the injudicious use of rm. There is no undelete function at the command line in Linux. Adding a single option to rm, however, causes it to produce a cautionary prompt before every deletion.

There are three general ways to use command line options.

This section demonstrates the last method.

Only one configuration file--bashrc--needs to be altered to permanently change the behavior of the rm command. This file can be edited either with a command line editor or an X Windows-based editor. The first approach is used below.

 

NOTE: This section introduces several OpenLinux shell (command line) commands. If you would like a more thorough introduction to this subject, turn to Chapter Seven, Command Line Operations.

 

  1. Login to the command line as root.
  2. Navigate to the /etc/config.d/shells sub-directory by typing:

cd /etc/config.d/shells

and pressing the Enter key.

  1. Open up the bashrc file using the vi editor, by typing:

vi bashrc

and pressing Enter.

The file now opens in the vi editor. Only line needs to be added to the very bottom of the file.

  1. Hold down the Page Down key to reach the bottom of the page, and press the End key to reach the end of the file.
  2. Press the Escape key once, and then the `i' key. The word, `INSERT' should appear at the bottom of the screen. This means you are now in `insert' mode, and able to edit the file.
  3. Press the right arrow key once, and the Enter key to reach a new line. Now type in the following line:

 

alias rm='rm -i'

 

NOTE: If you feel you're getting into serious trouble at any time during this operation, simply press the Escape key, type :q! and press Enter. You will exit the editor with no harm done.

 

  1. When you are finished, press the Escape key, the colon, and the `w' and `q' keys (meaning write the new file and quit the editor). Press Enter once more.

You will be returned to the command line. The default behavior of the rm command will now be changed for every login.

 

Restoring the Traditional Linux Boot Screen

Some veteran Linux and UNIX users may prefer the traditional white-on-black scroll of start up messages. To restore it, use any terminal or KDE editor to edit the /etc/lilo.conf file.

See The Edited lilo.conf File shows the file already edited. There are only two changes to be made:

  1. message = /boot/message needs to be disabled, by prefacing the line with a hash sign.
  2. vga = 274 needs to be changed to vga = normal.

 

The Edited lilo.conf File

 

After saving the file, you have to run lilo for the changes to take effect. Type:

lilo

at any command line, and press the Enter key. The traditional startup messages will appear in the traditional way at reboot.