LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   When upgrading to kernel 5.15.80 unable to boot (https://www.linuxquestions.org/questions/slackware-14/when-upgrading-to-kernel-5-15-80-unable-to-boot-4175719917/)

NaboHipersonico 12-18-2022 05:32 AM

When upgrading to kernel 5.15.80 unable to boot
 
1 Attachment(s)
Law I don't know where you missed a post of this type, hahaha, well here you have it.

I've been trying since kernel 5.15.80 came out and no matter what I do I can't do it in any way, I'm going to explain in detail the steps I take to see where the error is, because no matter how hard I try I can't:

I use slackware xfce 64 bit, I was using it, with zero problems, with the generic 5.15.63 kernel and upgrading to the new kernel is where it all starts.

slackpkg update
slackpkg upgrade-all

The kernel updates appear, I accept them, when everything is finished:

I follow the steps described here for the generic kernel:

http://docs.slackware.com/es:slackwa...ackware_system

But in the part that says the kernel, I put the 5.15.80

later:

cp /boot/vmlinuz-generic-5.15.80 /boot/efi/EFI/
cp /boot/vmlinuz-generic /boot/efi/EFI/
cp /boot/initrd.gz /boot/efi/EFI/

Then I do the following in grub:

I edit the grub:

nano /boot/grub/grub.cfg

I copy everything.

Later:

grub-mkconfig -o /boot/grub/grub.cfg

I edit the grub again:

nano /boot/grub/grub.cfg

I delete everything and paste the grub that I copied earlier, but changing the entries that say 5.15.63, for 5.15.80

And then I restart the computer and when I restart, I always find what it says in the image that I attached and there is no way to start slackware. Windows boots and linux mint boots, but not slackware.

I have a rescuezilla image, with which I can leave the system as it was with the generic kernel 5.15.63, but I haven't restored it at the moment, in case I had a solution with a live cd.

If you wish, I can restore the image and we will go step by step to see if we succeed or if you see that it is better with a livecd, whatever you see is better.

Thanks for everything. Greetings.

JayByrd 12-18-2022 06:52 AM

The error in the photo indicates that the system is trying to mount sda7 before the device has been enumerated.

Try rebuilding your initrd using the option "-w 5". This should give ample time for your sda to be ready for mounting.

Similar thread here.

kjhambrick 12-18-2022 07:01 AM

Quote:

Originally Posted by JayByrd (Post 6398673)
The error in the photo indicates that the system is trying to mount sda7 before the device has been enumerated.

Try rebuilding your initrd using the option "-w 5". This should give ample time for your sda to be ready for mounting.

Similar thread here.

Thanks for the link(s) JayByrd.

I especially liked your modification to the -w arg in mkinitrd to countdown rather than a simple sleep ...

-- kjh


All times are GMT -5. The time now is 12:20 PM.