Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-04-2013, 09:50 PM   #1
Registered: Jan 2011
Distribution: Ubuntu
Posts: 123

Rep: Reputation: 1
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
At least, I think. I'm in Windows right now. To add Ubuntu, I copied the same exact thing, except I replace /dev/sda8 with /dev/sda6. When I try to boot Ubuntu, it boots, but when I get to the login screen, the mouse and keyboard don't work, and I get a notification saying that the network went offline. At the moment, I have no idea what caused this problem, since I've had Backtrack installed as a third OS before without problem. The only thing I can think of is possibly the "/boot/vmlinuz" is wrong, and there should be some numbers after "vmlinuz", such as "vmlinuz-2.0.36".
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.
Old 02-04-2013, 10:22 PM   #2
Registered: Jan 2011
Location: New Mexico
Distribution: Xubuntu Core
Posts: 185

Rep: Reputation: 59
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.
Old 02-05-2013, 04:48 PM   #3
Registered: Jan 2011
Distribution: Ubuntu
Posts: 123

Original Poster
Rep: Reputation: 1
Thanks! It worked perfectly. Now I can boot to both!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Yikes!!! Installing grub hurt my Slackware installation! Robert.Thompson Slackware 4 02-04-2011 09:39 AM
Slackware 10.2 installation fails, after installing CD2 mlsteckshack Slackware - Installation 4 01-20-2006 07:00 PM
Open bsd messed up my MBR, problem with installing Slackware lilo klemen Slackware 2 04-06-2005 05:37 AM
Installation errors installing slackware 9.1 lasalsademuerte Slackware 12 11-15-2003 01:26 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration