How to Add SLAX to Lilo.Conf
- 1). Power up the computer. Insert the SLAX live CD into the CD/DVD drive on the computer. Reboot the computer and allow the computer to boot into the SLAX live CD. Click the black "Terminal" icon located in the menu bar of the SLAX display. The terminal console command prompt will appear.
- 2). Type "vi /etc/lilo.conf" at the command prompt, and then press the "Enter" key. The contents of the "lilo.conf" file will appear. Tap the "Arrow" keys on the keyboard to navigate to the "append=" line, and then press the "I" key. Add "changes=/dev/hda4" just before the last quote in the line, except replace "/dev/hda4" with the device path of the last partition on the SLAX drive.
- 3). Use the "Arrow" keys on the keyboard to navigate to a "/mnt/make_disk4372q84246 " line. Backspace over the "/mnt/make_disk4372q84246," and then type the mount point path of the SLAX boot partition. Replace each instance of "/mnt/make_disk4372q84246" with the name of the mount point path. For example, when a "/mnt/make_disk4372q84246" entry is found, press the "Backspace" key to delete the "/mnt/make_disk4372q84246" entry, and then type "/" if that is the mount point on the hard drive. Repeat for each "/mnt/make_disk4372q84246" entry that is found.
- 4). Press the "ESC" key, and then tap the ":" key followed by the "W" key and the "Q" key. Press the "Enter" key to save the changes.
- 5). Type "lilo -C /mnt/hda3/lilo.conf -m /mnt/hda3/lilo.map -s /mnt/hda3/origmbr," but replace the "/mnt/hda3" with the mount point path of the boot partition. Press the "Enter" key. For example, if the mount point path is "/," the command to type is ""lilo -C /lilo.conf -m /lilo.map -s /origmbr."
- 6). Reboot the computer. Remove the boot CD immediately upon initial reboot.