I have installed the latest Salix 14.2 in my laptop and the LILO installation failed. The laptop had SolusOS and Windows 10 on it. Due to the failure of LILO install, but laptop failed to boot. Unfortunately, the documentation on Salix Forums seem to be outdated. I looked at the post viewtopic.php?p=16546. By adding the parameters "huge.s root=/dev/sda6 rdinit= ro" was able to get me to the login prompt, but my keyboard and mouse was not working and hence I could not install grub. After doing several google searches, I finally found a method that worked for me and I am listing the procedure below.
1. Install Salix using a DVD or USB and during the boot loader prompt, select the option "Do not install LILO".
2. I have used an Xubuntu 14.04 live USB to install grub. Any live USB should work. Boot from Xubuntu 14.04 live USB. Once logged in, connect to the internet.
3. Open up a terminal and enter the following commands.
Code: Select all
sudo mount /dev/sda6 /mnt ==> Replace /dev/sda6 with the partition where Salix is installed.
cd /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
5. Check to see if we have internet connection by typing the below command. Usually chrooted environments will not have network connection.
Code: Select all
ping yahoo.com
7. Try "ping yahoo.com" and make sure you are able to see the replies. The output should be something like the one shown below.
Code: Select all
Pinging yahoo.com [98.138.253.109] with 32 bytes of data:
Reply from 98.138.253.109: bytes=32 time=238ms TTL=45
Reply from 98.138.253.109: bytes=32 time=238ms TTL=45
Ping statistics for 98.138.253.109:
Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 238ms, Maximum = 238ms, Average = 238ms
Code: Select all
/usr/sbin/reposetup
Code: Select all
/usr/sbin/slapt-get --install grub ==> If grub is not available, this command will install grub.
/usr/sbin/grub-install /dev/sda
/usr/sbin/grub-install --recheck /dev/sda
/usr/sbin/update-grub
Thanks,
Balaji.