LinuxQuestions.org
Help answer threads with 0 replies.
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 05-24-2022, 05:00 PM   #1
marinacar
LQ Newbie
 
Registered: Dec 2009
Location: UK
Distribution: Slackware64-15
Posts: 23

Rep: Reputation: 5
Help! Problem with slackware 15 upgrade


Hi, I upgraded my Linux partition to slackware 15 today. It was not on 14.2 but on a more recent version of slackware-current, about 1 year old. I have upgraded this way for ages (normally once per year without a problems), but now when I boot it does not manage to mount my /dev/sda1 on / and it does not allow me to mount it manually either. The disk is detected with the correct partition with fdisk.
Now that my /efi has also disappeared, I cannot see the efi boot menu or boot my other OS. Completely stuck!! Any advice would be appreciated.
Thx
 
Old 05-24-2022, 06:47 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,344

Rep: Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587
Did you run "slackpkg install-new"?
 
Old 05-24-2022, 07:01 PM   #3
marinacar
LQ Newbie
 
Registered: Dec 2009
Location: UK
Distribution: Slackware64-15
Posts: 23

Original Poster
Rep: Reputation: 5
Hi, in UPGRADE.TXT they have the command

upgradepkg --install-new

That is what I used, not slackpkg install-new
 
Old 05-24-2022, 07:21 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,344

Rep: Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587
Was new packages install?
 
Old 05-24-2022, 07:55 PM   #5
marinacar
LQ Newbie
 
Registered: Dec 2009
Location: UK
Distribution: Slackware64-15
Posts: 23

Original Poster
Rep: Reputation: 5
Yes all looked fine with the installation of the new packages and upgrade of existing, no errors, so when I rebooted and got that problem I was utterly surprised. I could potentially reinstall completely on my / partition from dvd after reformatting (need to use another computer to burn it), but I was hoping to avoid doing that if possible. If I can figure out how mount my /dev/sda1 I can maybe repair it, but I have not managed to mount anything so far.
 
Old 05-24-2022, 07:56 PM   #6
baumei
Member
 
Registered: Feb 2019
Location: USA; North Carolina
Distribution: Slackware 15.0 (replacing 14.2)
Posts: 365

Rep: Reputation: 124Reputation: 124
This computer which you upgraded from a year old instance of Slackware-current to Slackware 15.0, what sort of computer is it? Factory built or custom built? If factory built, then what is the make and the model, and has it been modified? What are the specs which you think would be helpful in this diagnosis?

Are you able to boot this computer from a CD or DVD, or from a flash-drive?
 
Old 05-24-2022, 08:31 PM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,344

Rep: Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587
Quote:
Now that my /efi has also disappeared,
If this is an efi system did you run eliloconfig or copy the new kernel and initrd over to the efi partition before rebooting after upgrading? Your probably going to need a dvd/usb iso to boot from to fix the problem.

Last edited by colorpurple21859; 05-24-2022 at 08:35 PM.
 
Old 05-25-2022, 02:02 AM   #8
marinacar
LQ Newbie
 
Registered: Dec 2009
Location: UK
Distribution: Slackware64-15
Posts: 23

Original Poster
Rep: Reputation: 5
Hi, it is a 6 yr old Gygabite 14" computer (P45 I think, label with name faded), factory built but with extra hard drive, with Slackware on SSD and Windows on the hhd. It is an efi system and I suspect the issue came when I run eliloconfig. I will burn a dvd and see if I can use it to boot in safe mode on the existing disk. Not sure how exactly to fix it though without formatting so I will come to post here for help when I get there.
 
Old 05-25-2022, 06:50 AM   #9
marinacar
LQ Newbie
 
Registered: Dec 2009
Location: UK
Distribution: Slackware64-15
Posts: 23

Original Poster
Rep: Reputation: 5
Solved. It was not as terrible as I expected. After starting from DVD, and checking all was fine with the disk and that the EFI partition was OK, I tried various things and then I changed the booting order in my BIOS around (from "Slackware" to my own "mc" as first, where these labels which appear in my efibootmgr).

After running eliloconfig straight after the upgrade, I did not get a choice of what to boot and it started directly on "EFI\Slackware\elilo.efi from SYSTEM", which was not working for some reason, with no chance to load or detect my sda1 which contains my system files (kernel panic if ignored).

The above option is associated with this entry, after running
efibootmgr -v

Boot0003* Slackware HD(2,GPT,89130ae0-da1d-4381-8279-655d8cd34adf,0x96800,0x82000)/File(\EFI\SLACKWARE\ELILO.EFI)


When I set mc as number 1 for booting in my BIOS, all OS are correctly detected and refind allows me to select which one to book (generic, huge, those broker, MS, ....). Now I can select to boot on "boot\vmlinuz-huge-5... from /" and that works like a charm, booting my system onto Slackware 15. this is associated with the efibootmgr option:

Boot0005* mc HD(2,GPT,89130ae0-da1d-4381-8279-655d8cd34adf,0x96800,0x82000)/File(\EFI\BOOT\BOOTX64.EFI)

All is fine now.

I am not sure why the default slackware option did not load the vmlinuz correctly (I can see all soft links to the corresponding huge are correct), but I am content to be able to work again.

Thanks for all the help.
 
1 members found this post helpful.
Old 05-25-2022, 08:51 AM   #10
baumei
Member
 
Registered: Feb 2019
Location: USA; North Carolina
Distribution: Slackware 15.0 (replacing 14.2)
Posts: 365

Rep: Reputation: 124Reputation: 124
I am glad you found a solution to the problem. Thank you for reporting what you found. :-)
 
Old 05-25-2022, 12:35 PM   #11
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,344

Rep: Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587Reputation: 1587
Quote:
I am not sure why the default slackware option did not load the vmlinuz correctly (I can see all soft links to the corresponding huge are correct)
I suspect the kernel and/or initrd in /boot/efi//EFI/SLACKWARE is incorrect. Coping the kernel(not symlink) from /boot to /boot/efi/EFI/SLACKWARE/vmlinuz and the initrd.gz to /boot/efi/EFI/SLACKWARE/initrd.gz will probably fix the problem.

Last edited by colorpurple21859; 05-25-2022 at 12:38 PM.
 
1 members found this post helpful.
  


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] How to upgrade the Linux kernel during a Slackware 15.0 -> Slackware-Current upgrade? Swaggajackin Slackware 1 04-21-2022 06:17 PM
[SOLVED] HELP: How do I restore all my files that got erased by "apt-get dselect-upgrade" after failed upgrade from 32 to 64 bit Ubuntu 14.04 LTS judoka Linux - Newbie 11 03-05-2016 05:03 PM
Upgrade and dist-upgrade problem reinstall aMule end packare libupnp6 anunix Debian 2 05-12-2012 01:36 PM
Upgrade and dist-upgrade problem reinstall aMule end packare libupnp6 anunix Debian 1 05-12-2012 09:06 AM

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

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