LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 02-04-2013, 10:50 PM   #1
nine9nine
Member
 
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
Code:
image=/boot/vmlinuz
    label=linux
    root=/dev/sda8
    read-only
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, 11:22 PM   #2
albinard
Member
 
Registered: Jan 2011
Location: New Mexico
Distribution: Xubuntu, Lubuntu
Posts: 106

Rep: Reputation: 43
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, 05:48 PM   #3
nine9nine
Member
 
Registered: Jan 2011
Distribution: Ubuntu
Posts: 123

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


Reply


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 10:39 AM
Slackware 10.2 installation fails, after installing CD2 mlsteckshack Slackware - Installation 4 01-20-2006 08:00 PM
Open bsd messed up my MBR, problem with installing Slackware lilo klemen Slackware 2 04-06-2005 06:37 AM
Installation errors installing slackware 9.1 lasalsademuerte Slackware 12 11-15-2003 02:26 AM


All times are GMT -5. The time now is 11:39 PM.

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