IDE drives, by convention, are given /dev/hd[L] as device names. L is the letter assigned to disks in the system, starting with a.
For SCSI drive, related dev names are /dev/sd[L]
For management purpose, a hard drive is divided into disk partitions. There are two types of disk partitions in a PC hard drive: primary and extended. Within an extended partitions you can have more logical partitions.
Partitions are identified by /dev/hda[n] or /dev/sda[n] where n is the partition ID.
Most disks allow 3 primary partitions and one extended partition.
Leave primary partition (/dev/hda1) for Win32, create an extended partition (/dev/hda2) for Linux. Note that root partition need to be under cylinder1024
From the extended partition, create logic partitions for each of the linux partitions (/dev/hda5-9)
For dual boot using NT loader, you may want choose to install LILO on the first sector of the root partition. This avoids competing with the Window NT loader on MBR. Once MBR is overwritten by LILO. Window systems do not know where to load kernel. It is bad for future upgrade.
Make sure you create a boot floppy, since during the first reboot, NT loader does not have any info on how to load Linux Kernel.
Reboot with the boot floppy.
Use dd command to copy the 512B bootsect information as a file, bootsect.lin and save it in a floppy disk. dd if=/dev/hda3 bs=512 count-=1 of=/dosc/bootsect.lin
Reboot without boot floppy into the window system, copy bootsect.lin file from the floppy to the window boot partition such as C:
Edit the C:oot.ini and add c:ootsect.lin=“Redhat Linux 6.2” in the OS section.
For every new Linux installation, you need do this again.
Make brief note on the steps and interactions during the installation.
Choose “customize” installation instead of default server or workstation installation.
Create swap and root partitions as suggested in the handout.
In step 8, check the specific packages: web, ftp, sql, nfs.
Edit /home/httpd/conf/httpd.conf with ServerName bilbo<frodo> and start web server with “/usr/sbin/httpd”
Ftp your personal web page and images files to the machine.
Make a cgi-bin directory in /home/httpd/cgi-bin/<yourlogin>.
Make sure all paths are readable or executable.
From the browser on other machines in the lab, make hard copies of the default web page, your personal web page, and the result of the sessionvar.pl. Submit your brief installation note with those hard copies as your hw2.