I got LILO to boot Solaris/x86 2.5.1. Solaris/x86 2.6 should boot
in the same way I guess. A bit of background first.
Solaris/x86 2.5.1 was initially installed in the primary-master
harddisk, i.e being the only harddisk in the system; whereas
Win95+Linux are in the other harddsik which I temporarily removed
from the system during Solaris installation.
Solaris boots according to the boot-path variable in /etc/bootrc.
During boot, fsck will check the disk according to the entries in
/etc/vfstab. Similarly, mount will scan /etc/vfstab when
In order to boot Solaris from secondary-master disk, these two file
MUST be modified, and the /dev/rdsk/ and /dev/dsk/ directories MUST
The procedures go like these, assuming you can afford to lose
the Solaris partition because recovery from incorrect entries
in the files to be modified in the following steps is tricky:
1. Type 'touch /reconfigure' before shutdown Solaris. Simply
place a disk as secondary-master. Solaris will create the
correct links from /dev/rdsk/ and /dev/dsk/ to
example, if you only have one primary-master (Solaris) and
one secondary-master (any disk), you should see entries like
2. If you don't see the entries in step 1, stop moving on.
Otherwise, we're going to make changes to /etc/bootrc and
b. change all instances of c0d0sXX in /etc/vfstab to c1d0sXX.
Step a informs the secondary Solaris boot loader that we're
booting from the secondary-master harddisk while step b is
for fsck to check the correct Solaris partitions and mount
to find the filesystems for mounting.
3. Do a 'touch /reconfigure' again, just in case. Shutdown Solaris.
Transfer the harddisk with Solaris from primary-master to
4. Put in the harddisk with Linux/LILO back to primary-master. Boot
Linux and add the following entries to /etc/lilo.conf.
# solaris at secondary master
other = /dev/hdc1
loader = /boot/chain.b
label = solaris
Proceed with lilo installation as you would normally do.
These are basically the steps I 'discovered' through countless
failed attempts to get Solaris to boot from sec-master. If you
need to boot Solaris from primary-slave, c1d0sXX should then be
c0d1sXX according to the harddisk naming convention of Solaris,
and hdc1 -> hdb1 according to Linux's convention.
Let me know if I have left out any steps. Hope it helps.
> >Anybody know how can I boot Solaris/x86 2.6 using Linux's LILO? When
> >I try using it the Solaris boot-loader simply crashes. I don't even get
> >the boot program loaded.
> Check out:
> It specifically states on how to use Linux' LILO to boot into Solaris. I use
> LILO since I have three different OS' on my box.
> Hope this helps,