Lab 5: Installation of a dual-boot system Ubuntu/SUSE
Last modified: Oct 4, 2011
The purpose of this lab is to perform CD-ROM.iso installs of two Linux Operating Systems so that they share the same disk, but boot separately. You will also be installing the VMware-Tools package and the Apache web server package demonstrating your ability to use package managers in Linux. The two distributions you will be installing are Ubuntu 10.04 and SUSE 11.
Read through the requirements before you start the lab, so you will know what the constraints and requirements are and where your freedoms are.
Preparation
You will create a new VM for this lab and give it the followng name:
loginname2-191), make sure it has the following
settings:
- 8 GB hard disk - thin provisioning
- 512 MB RAM
- OS type should be Other 2.6 Linux (32-bit)
- NIC assigned to CIS Network
Requirements
- Your virtual machine must contain exactly 4 primary partitions:
- 1 512 MB partition for swap space - to be used by both operating systems.
- 1 512 MB partition for an ext2 /home filesystem - to be shared by both os's
- remaining disk space should be split into two partitions as you see fit; one
partition will be the root partition for Ubuntu, the other, the root parition for SuSE.
- The two hostnames must be ubuntu.localdomain and suse.localdomain respectively.
- Create cis191 accounts for each OS in addition to the root account.
- All accounts must have funny cabrillo as the password.
- The timezone must be Pacific Standard Time.
- Networking must be dhcp.
- The purpose of the Ubuntu system is as a desktop computer and should come up with a graphics login.
- The purpose of the SuSE system is as a Web server and should come up in
runlevel 3.
- The Ubuntu system must have Vmware-Tools installed.
- The SuSE system must have apache web-server installed and running at runlevel 3. Note: the package name is apache2; you don't have to configure apache to work, just install it and set it up to run at runlevel 3.
- Install the software package, filezilla, on the Ubuntu system.
- The boot screen must give me a clear choice for booting into either Ubuntu or SuSE.
- The same partition should be used for swap space for both systems, and
regardless which system I boot up I should find myself (cis191) in the same
home directory.
Advice
Ubuntu uses the new GRUB2 system which is still a two stage bootloader, but is considerably differenct from GRUB that you have seen thus far. SuSE uses GRUB, so my advice is to install SuSE after installing Ubuntu if you want to work with the grub.conf file that you are used to.
Turn in
Your lab report must contain the following information:
- Your harddisk layout, (fdisk -l)
- How the file systems are mounted for each OS, (mount)
- The GRUB configuration used by the booting bootloader, (menu.lst)
- That apache is running at runlevel 3 in SuSE, (chkconfig and ps)
- The packages installed on both operating systems, (dpkg -l and rpm -qa)
Save this information to a file called lab5 and secure copy it to your home directory on opus:
scp lab5 logname@opus.cabrillo.edu:lab5
Grading Rubric
Your lab will be graded for the following components:
- 5 points -
- for the correct disk layout - 4 primary partitions as described above.
- 4 points -
- for the correct mounting of each each filesystem.
- 4 points -
- for a menu.lst file that shows both Ubuntu and SuSE operating systems.
- 2 points -
- for runlevel three being the apache web server and SuSE runlevel.
- 5 points -
- for the correct software packages being installed on each OS.