kermel centos 8 & initrd file

Issues related to applications and software problems and general support
Post Reply
MathildeHermet
Posts: 1
Joined: 2019/10/23 20:23:37

kermel centos 8 & initrd file

Post by MathildeHermet » 2019/10/23 20:36:40

Hello,

I try to make some manual configuration on the grub.conf file, yet I can't find the files mentioned in the topic in the boot directory.
I want to find the initrd file.

Code: Select all

[root@localhost boot]# ls
config-4.18.0-80.el8.x86_64                              loader
efi                                                      lost+found
grub2                                                    System.map-4.18.0-80.el8.x86_64
initramfs-0-rescue-08b08f9d94b94365a8c388175642908d.img  vmlinuz-0-rescue-08b08f9d94b94365a8c388175642908d
initramfs-4.18.0-80.el8.x86_64.img                       vmlinuz-4.18.0-80.el8.x86_64
initramfs-4.18.0-80.el8.x86_64kdump.img
That is what I try I put in my grub.cfg.

Code: Select all

### BEGIN /etc/grub.d/11_centos8 ###
menuentry "OS_NAME" {
set root=(hd0,2)
kernel /boot/vmlinuz-4.18.0-80.el8.x86_64 
initrd /boot/initramfs-4.18.0-80.el8.x86_64.img
}

### END /etc/grub.d/11_centos8 ###

Is there anywhere else where I can find the initrd and the kernel linux for centos 8 ?

nouvo09
Posts: 184
Joined: 2009/09/19 19:21:36
Location: Paris, France

Re: kermel centos 8 & initrd file

Post by nouvo09 » 2019/10/24 06:31:02

Fist of all, post the content of the file

etc/defaults/grub
Member of centos-FR forum

Post Reply