There are two basic approaches you could take.
The first is, when installing your second distro, to have the installer write the GRUB bootloader to the partition's boot sector (as opposed to installing GRUB to the Master Boot Record). You then boot into Slackware and edit lilo.conf to add the new partition as a boot option. For example:
Code:
other = /dev/sda6
label = Debian
This will instruct Lilo (installed in the MBR) to transfer control over to GRUB (installed in sda6's boot sector). Remember to run the lilo command to incorporate your changes into the bootloader.
Alternatively, you can forgo installing GRUB altogether and, after installing your second distro, boot into Slackware and set up lilo.conf to boot the kernel of the second distro directly. In order to do this, the lilo command will need to be able to locate that kernel. This can be accomplished by mounting the second distro's partition (e.g., "mount /dev/sda6 /mnt/tmp/") and specifying the kernel's location in a new image option in lilo.conf:
Code:
image = /mnt/tmp/boot/debians-kernal-image
root = /dev/sda6
label = Debian
read-only
The second approach has the disadvantage that kernel updates for the second distro will require that you go through this process of remounting and running lilo.