LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   can't find vmlinuz kernel in ver.14.2 ISO (https://www.linuxquestions.org/questions/slackware-14/cant-find-vmlinuz-kernel-in-ver-14-2-iso-4175689146/)

BudiKusasi 01-24-2021 01:12 AM

can't find vmlinuz kernel in ver.14.2 ISO
 
I can't find vmlinuz kernel in ver.14.2 ISO

Its name been changed ? to what?

Please help

Didier Spaier 01-24-2021 01:57 AM

vmlinuz is a symbolic link to the kernel. it's not shipped as-is in the ISO but is created in /boot when you install a kernel package.

BudiKusasi 01-24-2021 02:04 AM

Quote:

Originally Posted by Didier Spaier (Post 6211246)
vmlinuz is a symbolic link to the kernel. it's not shipped as-is in the ISO but is created in /boot when you install a kernel package.

link to which ?

which is needed in grub editing e.g.

Code:

...
...
linux /user/Downloads/slackware14.2/vmlinuz
initrd /user/Downloads/slackware14.2/initrd.img


Please help.

pghvlaans 01-24-2021 02:41 AM

By default, vmlinuz links to vmlinuz-huge-(kernel.version.here). The huge kernel doesn't need initrd to boot with GRUB. vmlinuz-generic goes to vmlinuz-generic-(kernel.version.here). The linking happens when the kernel packages are installed.

This works for my grub.cfg (no separate /boot partition):

Huge:
Code:

...
linux /boot/vmlinuz root=/dev/whatever

Generic:
Code:

...
linux /boot/vmlinuz-generic root=/dev/whatever
initrd /boot/initrd.gz


chris.willing 01-24-2021 02:41 AM

Quote:

Originally Posted by BudiKusasi (Post 6211249)
link to which ?

which is needed in grub editing e.g.

Code:

...
...
linux /user/Downloads/slackware14.2/vmlinuz
initrd /user/Downloads/slackware14.2/initrd.img


Please help.

My grub entry for that is:
Code:

menuentry "Installer for Slackware64-14.2" {
        root='(hd0,gpt3)'
        linux  /slackware64-14.2/kernels/huge.s/bzImage
        initrd  /slackware64-14.2/isolinux/initrd.img
}

You'll have to adapt root='(hd0,gpt3)' to whatever applies to your system.

chris

BudiKusasi 01-24-2021 05:44 AM

some redundant, inefficient though

7630144 EFI/BOOT/huge.s
7630144 kernels/huge.s/bzImage

39424516 EFI/BOOT/initrd.img
39424516 isolinux/initrd.img

keefaz 01-24-2021 02:55 PM

Quote:

Originally Posted by BudiKusasi (Post 6211285)
some redundant, inefficient though

7630144 EFI/BOOT/huge.s
7630144 kernels/huge.s/bzImage

39424516 EFI/BOOT/initrd.img
39424516 isolinux/initrd.img

One for boot with EFI firmware and other for legacy BIOS?


All times are GMT -5. The time now is 03:22 PM.