Skip to content

Linux rebuild the initial ramdisk image

cpx February 4, 2013 1 min read CentOS Linux

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

Be the first to comment

protected · no tracking

0 comments