Installing Kubuntu

September 3, 2006 § 4 Comments

This post outlines instructions for installing Kubuntu after successfully booting the live cd.

Step 1: Click on the install icon on the desktop. The welcome dialog of the installer is displayed.

Install Welcome

Select English as the language of choice and click on Continue.

Step 2:

In the next dialog, select and set the timezone and country.

Where Are You

Step 3: Select the keyboard layout in the next dialog.

Keyboard Layout

Step 4: Set the user name and password which you will use on a regular basis.

Username And Password

Step 5: The next step is to select the partitions to install Kubuntu to.

A common scenario will be making space to install Kubuntu onto a system which already has another operating system.

A simple installation of any linux system requires at least the following two partitions:

1. a root (/) partition for the entire system. This will also contain the user files in the /home directory. For a reasonably usable system a root partition of at least 10 GB is recommended.

2. a swap partition, which is used by linux as additional memory. Generally it is a good idea to make the swap partition double the amount of physical RAM present in the machine. So if we have 1 GB of RAM, then a swap partition of around 2GB is a good idea. Having a relatively larger swap partition (as in 2 GB) is beneficial if we want to remaster our own custom linux CDs also.

3. Additionally, its better, but not necessary to have a separate partition for user files in the /home directory. For our simple installation, we’ll just concentrate on a single root partition.

But if we have the following scenario: the entire hard disk is divided into four partitions: C, D, E, and F and we have Microsoft Windows installed. Then how do we proceed?

Suppose we have E and F drives as FAT32 partitions which we want to clear and install Kubuntu.

Since we have 4 partitions, they might be represented as

/dev/hda1

/dev/hda5

/dev/hda6

/dev/hda7

The jump in numbering from hda1 to hda5 signifies that the remainder partitions are logical partitions.

Once we are certain that we will use the space occupied by hda7 for our install, delete it in the partitioning step and create two partitions in the free space generated: one for swap and one for root.

05.png
In the Prepare disk space dialog, select Manually edit partition table since we want a custom partitioning setup for our install. Click on Continue.

Step 6: The next dialog shows the available partitions.

06.png

In the figure above, there are 5 partitions already defined.

We will be installing Kubuntu onto /dev/hda9, which is already a formatted reiserfs file system. In order to install linux, we require a native file system such as ext3 or reiserfs.

If we were going to delete the E drive of our Windows installation, we do so here. Let’s say we have a 30 GB E drive.

Select the partition and click on the Delete icon. We will now have 30 GB free space. Note that this is a permanent operation, and we should delete a partition only if we are sure that all information has been backed up. Perform this step carefully!

In the 30 GB free space created, we can now create a 2 GB swap partition, a 12 GB root partition, and a 16 GB home partition. Format the partitions after creating them.

IMPORTANT: BE VERY CAREFUL WHEN YOU DELETE OR FORMAT PARTITIONS, TAKING CARE THAT YOU ARE WORKING ON THE PROPER PARTITION.
Step 7: However, in this installation walkthrough, we are going to install Kubuntu onto hda9 as a single root (/) partition which is already formatted as reiserfs.
Set the mount points for (/) and swap as shown in the dialog below.

Prepare Mount Points

Click on Continue to proceed further.

Step 8: A final confirmation dialog is displayed. Ensure that all options have been selected properly, and click on Install to commence the installation.

08.png

The installation begins. During the installation process, the GRUB bootloader is installed. GRUB will create menu entries for the different operating systems already installed on the machine. So if we have an existing Windows or any other GNU/Linux system installed, or have an existing bootloader installed, the installation process will replace it with a new GRUB. For more information on choices for bootloader, you are encouraged to read through the Kubuntu community forums.

14.png
After the installation finishes, either continue using the live cd, or reboot as desired.

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.

Advertisements

A Swirl Through Bibtex

September 3, 2006 § Leave a comment

Bibtex is a tool for bibliography generation and management for LaTeX. It is presentation-agnostic. Consistency of bibliography presentation is managed by styles which are independent of the content.

BibTeX has the following capabilities:

  • convenient management of all our bibliographic data (in a single or multiple files/locations as desired)
  • setting the presentation for the bibliographic data with a simple change of the \bibliographystyle command in our LaTeX document
  • enforcing consistency of style across a complex document.

Cite As You Write

References are included in the .tex file with the \cite command. Multiple citations can be included in a single \cite command.

Tom and Jerry demonstrated the first experiment in time-dilation effects~\cite{tom_nutty_exp}

The above entry inserts the reference in the document, ensuring that formatting is consistent with the bibliographic style specified.

In order to refer to new work, simply add it’s details to the .bib file. This is the format understood by BibTex. Use the command \bibliographystyle in the .tex file to generate the bibliography at that location.

1-2-3… Cite Off

If a document is written in a file report.tex and the bibliographic entries are stored in the unimaginatively named mybib.bib:

  • Use the \bibliography{file_name} command in report.tex to specify that the bibliography entries reside in mybib.bib. Like so: \bibliography{mybib}
  • Specify a bibliography style: \bibliographystyle{plain} — here we specify a plain style. A few other styles are unsrt, alpha, abbrv.
  • Build the output document with the following sequence of commands:
    • latex report
    • bibtex report
    • latex report
    • latex report

The .bib File

A typical .bib entry is as follows:

@article{tom_nutty_exp,
title = {A Time Trap for Jerry},
journal = {Proceedings of the 4th Toon Conference on Insidious Traps},
author = {Cat, Tom and Mouse, Jerry},
year = {2000}
},

Entries in .bib file can be one of the following, or any other as defined:

  • article: an article from a journal or magazine
  • book: a book with a publisher
  • booklet: a work that is printed and bound, but without a named publisher
  • inproceedings: an article in a conference proceedings
  • inbook: a part of a book (may be a chapter, etc.)
  • incollection: a part of a book with its own title
  • manual: technical documentation
  • unpublished: a document with an author and a title, but not formally published

.

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.

Where Am I?

You are currently viewing the archives for September, 2006 at csrins.