Installing Slackware messed up Ubuntu installation
Hi guys. Sorry if this is the wrong forum to post this, it just seemed like the best one. I had Windows 7 and Ubuntu 12.10 installed on my laptop, and I decided to install Slackware 14.0 alongside the two. Installed fine, but Ubuntu was missing from the LILO menu. I edited /etc/lilo.conf to add Ubuntu. The Slackware part of the file looked like
Anyone know how I can fix this problem? Worst that can happen is that I'll have to reinstall Ubuntu, but I want to avoid that if I can.
LILO does not recognize the Grub2 boot system that Ubuntu uses. One way to get the Ubuntu back is this:
Boot the installation disc (or USB, if you used that)
Mount the Ubuntu partition: sudo mount /dev/sdaX /mnt
Run grub-install: sudo grub-install --root-directory=/mnt/ /dev/sda
Reboot, then run sudo update-grub
Grub2 can coexist with earlier boot systems like LILO, but the early ones (LILO, legacy grub) can't adapt to Grub2.
Thanks! It worked perfectly. Now I can boot to both!
|All times are GMT -5. The time now is 09:28 AM.|