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

Notices


Reply
  Search this Thread
Old 12-18-2013, 09:25 PM   #1
KrazyKanuk
Member
 
Registered: Sep 2007
Location: St. Catharines, Ontario
Distribution: Slackware 15/64 bit
Posts: 139

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

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

Code:
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: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230
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
KrazyKanuk
Member
 
Registered: Sep 2007
Location: St. Catharines, Ontario
Distribution: Slackware 15/64 bit
Posts: 139

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.
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:55 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
Open Source Consulting | Domain Registration