The kernel version for which the initrd image is being created needs to be passed as an argument to the mkinitrd command. How to compile a kernel the fedora way page 2 page 2. The current kernel version can be checked with uname command. 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. These ram disk images are often used to preload the block device modules scsi or raid needed to access the root file system. This chapter describes a different approach that can be used on any linux system. Creates an initial ram disk image for preloading modules. 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. Unable to locate package mkinitrdtools initrd images contains device driver which needed to load rest of the operating system later on. Hi thanks pschaff for your reply the problem is mkinitrd.
If there have been source installs that makes it very difficult to track. Im trying to read the manpage for read3 on my centos system. Important if a more fine grained control over the resulting image i. Not all computer requires initrd, but it is safe to create one. These images are used to find and mount the root filesystem. Mkinitrd creates file system images for use as initial ram disk initrd images. 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. We can use this command to pass the required argument with command substitution.
1229 1228 82 1294 1480 31 828 82 652 1071 1434 37 872 274 1086 612 866 1145 181 871 1268 425 1326 1441 630 349 1281 212 415 465 199 434 1446 908 639 423 1006 504