V. Example installations
There is only one hard disk drive on the system, IDE or SCSI. Three operating systems are installed: Solaris, Linux and Windows NT. We use FAT volume on the extended partition enables communication between the three operating systems. The default boot manager is Solaris one.
The hard disk will be partitioned as follows (proportions are meaningless):
|
With Linux fdisk
create one primary partition of type ext2fs - 0x83 for at
least /
and /boot
file systems, one primary
partition for future Solaris installation - temporarily it may be FAT-32,
and an extended partition. The first logical volume on the extended partition
should be FAT-16 or FAT-32 to make it accessible by Solaris. After FAT
volume create one logical volume for swap of type 0x82 and as many
logical volumes of type ext2fs - 0x83 for other file systems, as you need.
For desktop Linux you will probably put /
, /boot
,
/var
, /tmp
and /usr
file systems into
the fdisk
primary partition, swap and /home
file systems into
separate logical volumes. Before, read notes on the
size and placement of Linux primary partition, and
[Koehntopp], [Veselosky] for organizing Linux file systems.
Install Lilo into /dev/sda2
- Linux primary partition. At this
point, Linux partition is marked active and no other system can be booted.
fdisk
or Ranish PM.
/share
directory, and add the following line
to /etc/fstab
file:
/dev/sda5 /share vfat user,rw,exec 0 0
This will make FAT-16 partition automatically mounted at the boot time.
/share
directory, and add the following
line to /etc/vfstab
file under Solaris:
/dev/dsk/c0t0d0p4:c - /share pcfs - yes -
FAT-16 partition will be mounted automatically at the boot time (see notes on mounting FAT partitions).
/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/sda2 read-only other=/dev/sda1 label=nt other=/dev/sda3 label=solaris
/sbin/lilo
to apply changes
(see notes on LILO configuration).
Remarks:
hda
instead of sda
and drop t0
.