Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-18-2013, 09:25 PM   #1
Registered: Sep 2007
Location: Nottingham, Maryland
Distribution: Slackware 13/64 bit
Posts: 91

Rep: Reputation: 15
Slackware won't boot after 14.1 upgrade lilo removal grub2 install

I installed Slackware 14 from DVD (64) made from an iso image, it installed properly. After install made sure wireless networking was working correctly and then upgraded to 14.1 using slackpkg this also went perfectly, even after reboot. I then installed Grub2 using

grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
Nothing was reported that there was a problem. I then removed lilo using

lilo -u
Now when I reboot it tries to boot from a network device which it is unable to do. I boot with the Slackware 14 (64) DVD load the kernel and once in i mount the root partition for the Linux system (/dev/sda2), it mounts and doesn't report any errors. I was going re-run the grub-install and grub-mkconfig commands to try and fix this but I can't seem to find the grub-install I find the grub-mkconfig. I am at a loss on what to to other then re-installing Slackware 14 (64) from DVD and then upgrade to 14.1. Even with that what did I do wrong to prevent it from loading after the Grub2 install and the lilo removal?
Old 12-18-2013, 09:38 PM   #2
Richard Cranium
Senior Member
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 2,612

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
When you installed grub, you had overwritten whatever lilo had done to the mbr (or where ever you installed grub). Running lilo -u probably screwed up the grub install.

Both grub-mkconfig and grub-install are in /usr/sbin.
Old 12-18-2013, 10:10 PM   #3
Registered: Sep 2007
Location: Nottingham, Maryland
Distribution: Slackware 13/64 bit
Posts: 91

Original Poster
Rep: Reputation: 15
I booted off the DVD and it reported an error something to the effect of passing options to lilo. But it did allow me in with my folders and paths end environments in tact. I was able to re-run the grub-install and grub-mkconfig and get the grub2 bootloader setup and working properly. Thank you for your speedy response.


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
After Installation Slackware Won't Boot & Lilo won't install nikiiliev Slackware - Installation 6 03-04-2006 12:24 AM
Kernel 2.6.81 Won't Boot with LILO under Slackware 10.0 pwo Linux - Software 2 10-22-2004 01:40 AM
Lilo won't boot XP after kernel upgrade jafriede Slackware 6 09-22-2004 01:35 PM
new to slackware, lilo won't boot but bootdisk is fine slackist Linux - Newbie 2 06-06-2004 08:43 PM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM

All times are GMT -5. The time now is 02:06 AM.

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