LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 08-19-2019, 11:58 PM   #1
JoshBeta1
LQ Newbie
 
Registered: Jan 2019
Location: Mexico City
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
Why can't I boot after updating Slackware's packages?


Salutations & Greetings. xD

After using Debian for six years (2013-2019), I decided to move to Slackware. xD

The Slackware's version I installed is the stable, the 14.2. xD

After facing a total disaster when installing Slackware by first time (I had to modify the MBR of the hard disk from DOS to GPT format with "gdisk" and "cgdisk" because the Slackware's installer couldn't find the EFI's partition, I had to make partitions using "cfdisk", I made my computer to go online with the "ifconfig" and "dhclient" commands, and I did the rest with no tutorial, guessing all by myself, using the "--help" and/or the "man" only), I noticed the web browser (Firefox) had problems due to the fact Slackware included an old version, so I decided to update and upgrade the whole packaging with:

"slackpkg gpg update"
"slackpkg update"
"slackpkg install-new"
"slackpkg upgrade-all"

The problem of that was the fact that the kernel's upgrade made the whole system to fail. At the end, I had decided to "overwrite" the files, and when I rebooted, there were "missing" modules. I had to repeat the whole installation again and repeat the updating and the upgrading again.

And once again appeared this:
Click image for larger version

Name:	Captura de pantalla_2019-08-19_19-50-06.png
Views:	56
Size:	77.9 KB
ID:	31160

But this time I decided to choose the "remove new files" instead...

And, after searching about that on the Internet, I found this:

https://docs.slackware.com/howtos:sl...:systemupgrade

And I did what it's explained there, but I think it's too late. I'm afraid by the fact that, if I reboot, I might screw the whole system up again.

What would happen to my system this time?
Must I be prepared to repeat another installation process again?
 
Old 08-20-2019, 12:26 AM   #2
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,063

Rep: Reputation: 146Reputation: 146
If you upgraded kernel, you must update your boot manager (lilo, elilo, or grub) so it sees the change.
 
Old 08-20-2019, 07:29 AM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
You need to copy /boot/vmlinuz to /boot/efi/EFI/Slackware/vmlinuz
 
Old 08-20-2019, 02:38 PM   #4
JoshBeta1
LQ Newbie
 
Registered: Jan 2019
Location: Mexico City
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by dchmelik View Post
If you upgraded kernel, you must update your boot manager (lilo, elilo, or grub) so it sees the change.
Well, the problem is that "/etc/lilo.conf" doesn't exist. Instead, what I found was:

/var/log/setup/text.lilohelp
/var/log/setup/setup.liloconfig
/var/log/setup/setup.ll.eliloconfig
/var/log/packages/lilo-24.2-x86_64-2
/var/log/packages/elilo-3.16-x86_64-3_slack14.2
/var/log/removed_packages/elilo-3.16-x86_64-2-upgraded-2019-08-19,18:07:54
/boot/efi/EFI/Slackware/elilo.conf
/boot/efi/EFI/Slackware/elilo.efi
/boot/elilo-x86_64.efi
/boot/elilo-ia32.efi
/sbin/lilo
/sbin/liloconfig
/usr/bin/keytab-lilo
/usr/man/man8/lilo.8.gz
/usr/man/man8/keytab-lilo.8.gz
/usr/man/man8/lilo-uuid-diskid.8.gz
/usr/man/man5/lilo.conf.5.gz
/usr/sbin/eliloconfig
/usr/sbin/eliloalt
/usr/sbin/lilo-uuid-diskid
/usr/sbin/keytab-lilo
/usr/share/vim/vim74/syntax/lilo.vim
/usr/lib64/os-probes/mounted/x86/efi/10elilo
/usr/lib64/linux-boot-probes/mounted/x86/50lilo
/usr/lib64/linux-boot-probes/mounted/50lilo
/usr/doc/elilo-3.16
/usr/doc/elilo-3.16/examples
/usr/doc/elilo-3.16/examples/netboot
/usr/doc/elilo-3.16/examples/netboot/dhcpd-pxe.conf
/usr/doc/elilo-3.16/examples/netboot/dhcpd.conf
/usr/doc/elilo-3.16/examples/textmenu_chooser
/usr/doc/elilo-3.16/examples/textmenu_chooser/params.msg
/usr/doc/elilo-3.16/examples/textmenu_chooser/elilo-textmenu.conf
/usr/doc/elilo-3.16/examples/textmenu_chooser/textmenu-message.msg
/usr/doc/elilo-3.16/examples/textmenu_chooser/general.msg
/usr/doc/elilo-3.16/TODO
/usr/doc/elilo-3.16/netbooting.txt
/usr/doc/elilo-3.16/simple_chooser.txt
/usr/doc/elilo-3.16/elilo.txt
/usr/doc/elilo-3.16/LIMITATIONS
/usr/doc/elilo-3.16/fpswa.txt
/usr/doc/elilo-3.16/elilovars.txt
/usr/doc/elilo-3.16/ChangeLog
/usr/doc/elilo-3.16/eliloalt.txt
/usr/doc/elilo-3.16/textmenu_chooser.txt
/usr/doc/elilo-3.16/edd30.txt
/usr/doc/elilo-3.16/devschemes.txt
/usr/doc/elilo-3.16/README.txt
/usr/doc/elilo-3.16/README.gnu-efi
/usr/doc/elilo-3.16/README
/usr/doc/lilo-24.2
/usr/doc/lilo-24.2/COPYING
/usr/doc/lilo-24.2/QuickInst
/usr/doc/lilo-24.2/README
/usr/doc/lilo-24.2/sample
/usr/doc/lilo-24.2/sample/lilo.old-special.conf
/usr/doc/lilo-24.2/sample/sl1337.bmp
/usr/doc/lilo-24.2/sample/slack14.0.2012.bmp
/usr/doc/lilo-24.2/sample/slack.bmp
/usr/doc/lilo-24.2/sample/slack64.bmp
/usr/doc/lilo-24.2/sample/Makefile
/usr/doc/lilo-24.2/sample/lilo.example.conf
/usr/doc/lilo-24.2/sample/lilo.old-raid.conf
/usr/doc/lilo-24.2/doc
/usr/doc/lilo-24.2/doc/map.tex
/usr/doc/lilo-24.2/doc/tech.tex
/usr/doc/lilo-24.2/doc/bootloader.tex
/usr/doc/lilo-24.2/doc/parameter.tex
/usr/doc/lilo-24.2/doc/README
/usr/doc/lilo-24.2/doc/parameter.fig
/usr/doc/lilo-24.2/doc/fullpage.sty
/usr/doc/lilo-24.2/doc/image.tex
/usr/doc/lilo-24.2/doc/other.fig
/usr/doc/lilo-24.2/doc/bootloader.fig
/usr/doc/lilo-24.2/doc/other.tex
/usr/doc/lilo-24.2/doc/image.fig
/usr/doc/lilo-24.2/doc/t2a.pl
/usr/doc/lilo-24.2/doc/html
/usr/doc/lilo-24.2/doc/html/user_21-516.html
/usr/doc/lilo-24.2/doc/html/user_21-510.html
/usr/doc/lilo-24.2/doc/html/user_21-53.html
/usr/doc/lilo-24.2/doc/html/tech_21-52.html
/usr/doc/lilo-24.2/doc/html/user_21-55x.png
/usr/doc/lilo-24.2/doc/html/user_21-520x.png
/usr/doc/lilo-24.2/doc/html/user_21-574x.png
/usr/doc/lilo-24.2/doc/html/user_21-510x.png
/usr/doc/lilo-24.2/doc/html/user_21-527.html
/usr/doc/lilo-24.2/doc/html/user_21-528.html
/usr/doc/lilo-24.2/doc/html/tech_21-53x.png
/usr/doc/lilo-24.2/doc/html/user_21-58.html
/usr/doc/lilo-24.2/doc/html/user_21-59x.png
/usr/doc/lilo-24.2/doc/html/user_21-57x.png
/usr/doc/lilo-24.2/doc/html/user_21-511x.png
/usr/doc/lilo-24.2/doc/html/user_21-54x.png
/usr/doc/lilo-24.2/doc/html/tech_21-5.html
/usr/doc/lilo-24.2/doc/html/user_21-57.html
/usr/doc/lilo-24.2/doc/html/user_21-512.html
/usr/doc/lilo-24.2/doc/html/user_21-515.html
/usr/doc/lilo-24.2/doc/html/user_21-529.html
/usr/doc/lilo-24.2/doc/html/user_21-513.html
/usr/doc/lilo-24.2/doc/html/user_21-5.css
/usr/doc/lilo-24.2/doc/html/tech_21-50x.png
/usr/doc/lilo-24.2/doc/html/user_21-51x.png
/usr/doc/lilo-24.2/doc/html/user_21-55.html
/usr/doc/lilo-24.2/doc/html/user_21-58x.png
/usr/doc/lilo-24.2/doc/html/user_21-522.html
/usr/doc/lilo-24.2/doc/html/user_21-52x.png
/usr/doc/lilo-24.2/doc/html/user_21-526.html
/usr/doc/lilo-24.2/doc/html/user_21-530.html
/usr/doc/lilo-24.2/doc/html/user_21-524.html
/usr/doc/lilo-24.2/doc/html/tech_21-51x.png
/usr/doc/lilo-24.2/doc/html/user_21-523.html
/usr/doc/lilo-24.2/doc/html/user_21-521x.png
/usr/doc/lilo-24.2/doc/html/user_21-52.html
/usr/doc/lilo-24.2/doc/html/user_21-513x.png
/usr/doc/lilo-24.2/doc/html/user_21-5.html
/usr/doc/lilo-24.2/doc/html/user_21-514.html
/usr/doc/lilo-24.2/doc/html/user_21-522x.png
/usr/doc/lilo-24.2/doc/html/user_21-517.html
/usr/doc/lilo-24.2/doc/html/user_21-56.html
/usr/doc/lilo-24.2/doc/html/index.html
/usr/doc/lilo-24.2/doc/html/user_21-518.html
/usr/doc/lilo-24.2/doc/html/tech_21-54x.png
/usr/doc/lilo-24.2/doc/html/user_21-521.html
/usr/doc/lilo-24.2/doc/html/tech_21-52x.png
/usr/doc/lilo-24.2/doc/html/user_21-53x.png
/usr/doc/lilo-24.2/doc/html/user_21-512x.png
/usr/doc/lilo-24.2/doc/html/tech_21-55x.png
/usr/doc/lilo-24.2/doc/html/user_21-514x.png
/usr/doc/lilo-24.2/doc/html/user_21-520.html
/usr/doc/lilo-24.2/doc/html/tech_21-5.css
/usr/doc/lilo-24.2/doc/html/user_21-50x.png
/usr/doc/lilo-24.2/doc/html/user_21-525.html
/usr/doc/lilo-24.2/doc/html/tech_21-53.html
/usr/doc/lilo-24.2/doc/html/user_21-519.html
/usr/doc/lilo-24.2/doc/html/user_21-54.html
/usr/doc/lilo-24.2/doc/html/user_21-59.html
/usr/doc/lilo-24.2/doc/html/user_21-511.html
/usr/doc/lilo-24.2/doc/html/user_21-56x.png
/usr/doc/lilo-24.2/doc/map.fig
/usr/doc/lilo-24.2/doc/user.tex
/usr/doc/lilo-24.2/doc/rlatex
/usr/doc/lilo-24.2/doc/Makefile.old
/usr/doc/syslinux-4.07/doc/keytab-lilo.txt
/usr/doc/gnu-efi-3.0.4/README.elilo
/etc/lilo.conf_example

And I'm unsure about what I'm looking for, exactly.

Then, I read[ed] what I found about ELILO and EFI here:

https://docs.slackware.com/start?id=...:systemupgrade

And I executed "eliloconfig"...
What happened after that was this:

Click image for larger version

Name:	Captura de pantalla_2019-08-20_14-35-40.png
Views:	28
Size:	85.8 KB
ID:	31166

Click image for larger version

Name:	Captura de pantalla_2019-08-20_14-36-18.png
Views:	32
Size:	87.1 KB
ID:	31167

Click image for larger version

Name:	Captura de pantalla_2019-08-20_14-36-29.png
Views:	30
Size:	84.5 KB
ID:	31168

Did I something wrong?
 
Old 08-20-2019, 02:42 PM   #5
JoshBeta1
LQ Newbie
 
Registered: Jan 2019
Location: Mexico City
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
You need to copy /boot/vmlinuz to /boot/efi/EFI/Slackware/vmlinuz
Sorry, dude. Neither "nano" nor "vim" are able to read what it's written there.
So, I don't know how to do that.
 
Old 08-20-2019, 03:28 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
boot the slackware iso
Code:
mount /dev/sdxx /mnt
mount /dev/sd?? /mnt/boot/efi
cp /mnt/boot/vmlinux /mnt/boot/efi/EFI/Slackware/
change the sdxx to match the partition that your slackware is on, changed the sd?? to match the efi partition.
reboot and see if that fixes the problem
 
Old 08-20-2019, 04:20 PM   #7
JoshBeta1
LQ Newbie
 
Registered: Jan 2019
Location: Mexico City
Distribution: Slackware
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
boot the slackware iso
Code:
mount /dev/sdxx /mnt
mount /dev/sd?? /mnt/boot/efi
cp /mnt/boot/vmlinux /mnt/boot/efi/EFI/Slackware/
change the sdxx to match the partition that your slackware is on, changed the sd?? to match the efi partition.
reboot and see if that fixes the problem
Done. xD
I just Hope & Expect don't screwing the system up again the next time I reboot.
 
  


Reply

Tags
installation, kernel compile error, slackware 14.2, updates



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
We are updating Mageia 2 packages and isos and Cauldron packages for design ennael Mageia 2 06-25-2012 12:01 AM
Updating Non-Stock Packages After a Slackware Release Woodsman Slackware 6 12-09-2008 06:04 PM
why is bind updating reverse zone with updating zone 202.1.168.192.1.168.192.in-addr marcobjorge Linux - Networking 5 10-12-2008 04:53 AM
After updating SuSE 9.2 packages, system fails boot without mounting /dev/hda2 orgcandman Linux - Software 5 08-16-2005 08:59 PM
Updating packages from redhat - insatlling *.hdr packages jomy Linux - Networking 1 01-18-2005 08:36 AM

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

All times are GMT -5. The time now is 08:20 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