Skip to content

Linux rebuild the initial ramdisk image

cpx February 4, 2013 1 min read CentOS

uname -r

Make backup of existing ram disk:

chroot /mnt/sysimage
 cd /boot
mkinitrd -v -f initrd <TAB>
mkinitrd -v -f initrd2.4.18-19.8.0.img 2.4.18-19.8.0

 

# cp /boot/initrd.$(uname -r).img /root
# mkinitrd -o /boot/initrd.$(uname -r).img $(uname -r)
# ls -l /boot/initrd.$(uname -r).img
initrd /boot/initrd.img-2.6.15.4.img
0 0 votes
Article Rating
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x