Installing Ubuntu or Kubuntu, 6.06.1 LTS "Dapper Drake", on a Single/Multi -Boot RAID System

Purpose

This guide describes how to install Ubuntu (Ubuntu+GNOME) or Kubuntu (Ubuntu+KDE) 6.06.1 LTS ("Dapper Drake") on a single or a multi -boot RAID system. It is meant as a variation of Ubuntu Wiki FakeRAID HowTo document, but digested and with minimum commentary. Its goal is to allow new Ubuntu users to complete an entire installation inside of 30 minutes, almost entirely by copy and paste (before they run away in panic to openSUSE and Ubuntu loses future Ubiquity Revolution developers).

Copyright/Disclaimer

Public domain. No warranty expressed or implied.

Test Cases

This guide has been prepared and tested with:

  • i686 CPU
  • Intel D975XBX2 "Bad Axe 2" motherboard
  • Intel Storage Matrix controller
  • RAID0 (stripe)
  • Ubuntu and Kubuntu, 6.06.1 LTS "Dapper Drake"
  • dual-boot with Windows XP (same disk)

If you are successful implementing this guide under a different software or hardware configuration, please add a comment with your specs.

Methodology

I.

I use the export shell command throughout this guide to define on-demand environment variables:

export VARIABLE_NAME=frankie-bronx

To recall contents of an environment variable, you prefix it with a dollar sign:

echo "The variable value is: [$VARIABLE_NAME]."

Result:

The variable value is: [frankie-bronx].

II.

Most of this guide requires copy and paste only, but pay attention to (1.) fdisk partitioning and (2.) export definitions. Situations that specifically require your attention have been highlighted.

Preparation

  1. Download Ubuntu or Kubuntu 6.06.01 Live-DVD ISO image. If unsure, and all other considerations being equal, go for Kubuntu, as KDE is more analogous to Windows than GNOME, and includes more eye-candy.
  2. While downloading, familiarize yourself with Linux fdisk, through Internet tutorials, and a sample partitioning log, below.
  3. Burn the ISO image onto a DVD disc, using your favorite burning software.
  4. Unless you intend to follow this guide with an empty, single-boot system, backup your current operating system and all your data.
  5. Boot your system from the Ubuntu or Kubuntu Live-DVD disc.
  6. Select the Start Ubuntu/Kubuntu in Safe Graphics mode boot menu item and allow the Live-DVD system to boot.
  7. Select the Applications >> Accessories >> Terminal or K >> System >> Konsole command to open a new command-line window.

Launching RAID

Change your command line shell to bash, and acquire root (administrative) privileges:

/bin/bash
sudo -s

Mount the DVD disc and request that system software package manager, apt, refreshes its list of available packages::

apt-cdrom add
apt-get update

Since Dapper Drake RAID support package (dmraid) 1.0.0.rc9 is somewhat shaky, download and install back-ported Feisty Fawn version, 1.0.0.rc13:

wget http://tormod.freeshell.org/linux/dmraid/dmraid_1.0.0.rc13-2ubuntu2tormod~dapper_i386.deb
dpkg -i ./dmraid_1.0.0.rc13-2ubuntu2tormod~dapper_i386.deb

The following ATARAID types are supported:

Highpoint HPT37X/HPT45X
Intel Software RAID
LSI Logic MegaRAID
NVidia NForce RAID (nvraid)
Promise FastTrack
Silicon Image(tm) Medley(tm)
VIA Software RAID

However, if you prefer to use the older Dapper Drake version, you will need to enable the Universe apt package repository (using sed), and use apt to install it:

sed -i -e 's/^#.*deb/deb/g' /etc/apt/sources.list
apt-get update
apt-get install dmraid

Once dmraid is installed and activated, a number of device nodes is created in the /dev/mapper directory. Each one of those files is a symbolic representation of a hardware device. VIA chipsets will generate /dev/mapper/viahfciifae* files, NVIDIA chipsets will generate /dev/mapper/nvidia_gahhaaab* files, Intel chipsets will generate /dev/mapper/isw_eaaicdchgi* files.

ls -l /dev/mapper/
brw-rw---- 1 root disk 253, 0 2007-01-21 19:54 isw_eaaicdchgi_Volume0
brw-rw---- 1 root disk 253, 1 2007-01-21 19:54 isw_eaaicdchgi_Volume01
brw-rw---- 1 root disk 253, 2 2007-01-21 19:54 isw_eaaicdchgi_Volume02
brw-rw---- 1 root disk 253, 3 2007-01-21 19:54 isw_eaaicdchgi_Volume03

The very first (and the shortest) device file, isw_eaaicdchgi_Volume0, represents the entire hard disk. Save its fully-qualified name to an environment variable:

export SETUP_DEV_HDD=/dev/mapper/isw_eaaicdchgi_Volume0

Do not make a mistake when defining the environment variable above. If you do, quite likely your system is history.

Every other device file in the list above, such as isw_eaaicdchgi_Volume03, represents a single partition on a hard disk. Just as we can use the ls -l shell command to have a look at a regular file, we can use the fdisk -l shell command to have a look at a device file:

fdisk -lu $SETUP_DEV_HDD
/dev/mapper/isw_eaaicdchgi_Volume0p1 * 63 83891429 41945683+ 7 HPFS/NTFS
/dev/mapper/isw_eaaicdchgi_Volume0p2 83891430 167782859 41945715 7 HPFS/NTFS
/dev/mapper/isw_eaaicdchgi_Volume0p3 167782860 209728574 20972857+ 7 HPFS/NTFS

My Windows hard disk installation already includes three NTFS partitions, ~40GB, ~40GB and ~20GB.

Share this page:

0 Comment(s)