LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-26-2019, 09:03 AM   #1
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
upgrade failure on -current


I have been on the 64 -current upgrades for quite a long time and have had rather few problems or issues and understand the procedures and how to fix minor problems.
I upgraded from the 20 Feb -current tree and the 4.19.24 kernel to the 4.19.25 kernel (Sat 23 Feb). I ran eliloconfig as I always need to do after kernel upgrade.

On reboot I got a login prompt with the keyboard disabled
and the message says that I am using 4.19.24 (not 4.19.25).
I tried the upgrade on a different partition on the same machine and had no problems at all upgrading to 4.19.25 .
I find nothing wrong with the disk and indeed the disk checks on boot are all ok but there are errors about missing kernel modules. The disk is not full.
It seems that the upgrade has failed. I have not encountered this problem before.

Can I fix the botched upgrade by chroot-ing into the root of the failed upgrade or do I need to reinstall slackware on that partition?

Last edited by Regnad Kcin; 02-26-2019 at 09:04 AM. Reason: format
 
Old 02-26-2019, 10:17 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
You shouldn't need to reinstall. My guess is that for some reason eliloconfig didn't work. You should be able to boot off your install media, mount the EFI partition, and manually copy over the kernel (and possibly initrd, if you need that) to the efi/Slackware/ folder on that partition.
 
1 members found this post helpful.
Old 02-26-2019, 03:12 PM   #3
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
If you do the manual update as bassmadrigal suggested, make sure that the eliloconfig that sits next to kernel and image will use the newly copied kernel and image. In case you're using the generic names this won't be a problem, but in case your kernel and image carry the kernel-number -say when also using refind for booting- the config needs editing; this can be done very quickly as root in midnight commander (mc) via-F4/F2).

Last edited by brobr; 02-26-2019 at 03:23 PM.
 
2 members found this post helpful.
Old 02-26-2019, 04:03 PM   #4
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Original Poster
Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
BassMadrigal was right.
The problem was with eliloconfig even though I had carefully run it
after the upgrade.

I was able to boot the slackware on that disk with Grub
(no, I don't like Grub) so I am going again
and will get back to addressing efi issues after I do some other pressing work.

thanks much.
*
@brobr - I am not using refind as present but it
is an interesting tool and I have used it.
I learned a lot about bootloaders from
the refind website http://www.rodsbooks.com/refind/
 
Old 02-26-2019, 06:41 PM   #5
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Original Poster
Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
thanks again.
I got the EFI fixed.
I was surprised by the failure of eliloconfig.
I had boot problems previously when I had forgotten to run lilo or eliloconfig but this was the first time that eliloconfig failed for me.
 
Old 02-26-2019, 07:40 PM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Regnad Kcin View Post
thanks again.
I got the EFI fixed.
I was surprised by the failure of eliloconfig.
I had boot problems previously when I had forgotten to run lilo or eliloconfig but this was the first time that eliloconfig failed for me.
I'm glad you got it solved! EFI certainly does make things a bit easier in that you just need to have the file copied over to the EFI partition and referenced properly in the elilo.conf, but when the tools fail, it certainly does cause problems.

It would certainly be interesting to see why or how it failed. If you have any guesses as to why or if you remember any error messages that might've popped up, it might help get the program updated to catch the error and display it or to fix any broken code that might exist in the program.
 
Old 03-01-2019, 10:42 PM   #7
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Original Poster
Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
Quote:
Originally Posted by bassmadrigal View Post
I'm glad you got it solved! EFI certainly does make things a bit easier in that you just need to have the file copied over to the EFI partition and referenced properly in the elilo.conf, but when the tools fail, it certainly does cause problems.

It would certainly be interesting to see why or how it failed. If you have any guesses as to why or if you remember any error messages that might've popped up, it might help get the program updated to catch the error and display it or to fix any broken code that might exist in the program.

I have continued to upgrade on the -current tree and no further issues. I am not sure why it eliloconfig failed that one time.
 
  


Reply



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] Linux Mint 19 upgrade to 19.1 upgrade failure - missing gksudo bodge99 Linux Mint 33 12-23-2018 10:05 AM
[SOLVED] Failure after failure after failure.....etc 69Rixter Linux - Laptop and Netbook 5 04-14-2015 09:58 AM
DISCUSSION: Upgrade to Slackware -current without a -current CD truthfatal LinuxAnswers Discussion 0 09-19-2006 01:42 PM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM
PostScript failure result in printing failure cawwt Linux - General 2 10-01-2004 01:06 PM

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

All times are GMT -5. The time now is 07:43 AM.

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