V. Example installations
There is only one hard disk drive on the system. Four operating systems are installed: Solaris, Linux, Windows NT and Windows 98. FAT volume on the extended partition enables communication between all operating systems. The default boot manager is Solaris one. Windows 98 is selected to boot in the NT Loader menu.
The hard disk will be partitioned as follows (proportions are meaningless):
|
fdisk
create one
primary partition of type ext2fs 0x83 for /
, /boot
and other system file systems, an extended partition, one FAT logical volume
at the beginning of the extended partition, one logical volume for
swap of type 0x82 and one logical volume of type ext2fs 0x83 for
/home
file system (read notes on Linux installation in
V.2).
Install Lilo into /dev/sda3
- Linux primary partition. At this
point, Linux partition is marked active and only Linux may be booted.
fdisk
utility, mark Solaris partition as active. This
will make Solaris boot manager the default one, which allows to boot other
systems.
/share
directory, and add the following line
to /etc/fstab
file:
/dev/sda5 /share vfat user,rw,exec 0 0
This will make (4.1) FAT-32 partition automatically mounted at the boot time.
/share
directory, and add the following
line to /etc/vfstab
file:
/dev/dsk/c0t0d0p4:c - /share pcfs - yes -
(4.1) FAT-32 partition will be mounted automatically at the boot time (see notes on mounting FAT partitions).
Remarks:
If the hard disk is IDE use hda
instead of sda
and drop t0
.
/etc/lilo.conf
, as in the example:
boot=/dev/sda map=/boot/map install=/boot/boot.b compact prompt timeout=50 image=/boot/vmlinuz-2.0.39 label=linux root=/dev/sda3 read-only other=/dev/sda1 label=nt other=/dev/sda2 label=solaris
/sbin/lilo
to apply changes
(see notes on LILO configuration).
Next time you will boot the system LILO should show up at the start of boot up. Windows 98 can be loaded by selecting NT in LILO prompt and then Windows 98 in the NT Loader menu.