This chapter describes a different approach that can be used on any linux system. How to compile a kernel the fedora way page 2 page 2. Im trying to read the manpage for read3 on my centos system. If there have been source installs that makes it very difficult to track. Important if a more fine grained control over the resulting image i. We can use this command to pass the required argument with command substitution. The kernel version for which the initrd image is being created needs to be passed as an argument to the mkinitrd command.
These ram disk images are often used to preload the block device modules scsi or raid needed to access the root file system. Not all computer requires initrd, but it is safe to create one. How to fix a broken initrd image in linux december 1, 2014 updated october 6, 2019 by arun pyasi booting, linux howto, troubleshooting today, well show you how you can fix your broken or accidentally deleted initrd image ie. Centos 6 doesnt use mkinitrd any more, it uses something called dracut. Creates an initial ram disk image for preloading modules. My guess is that something is wrong with yum, rpm, or one of the dependencies. These images are used to find and mount the root filesystem. The initial ramdisk may be responsible for loading kernel modules such a filesystem or scsi controller module that are needed to mount the root filesystem. Unable to locate package mkinitrdtools initrd images contains device driver which needed to load rest of the operating system later on. The current kernel version can be checked with uname command. Hi thanks pschaff for your reply the problem is mkinitrd. If you have changed a motherboard or moved a disk to a different system it may fail to boot due to the lack of appropriate drivers in the initial ram disk image initramfs for centos 6, initrd for centos 5. Mkinitrd creates file system images for use as initial ram disk initrd images.