Last active
August 29, 2015 14:25
-
-
Save skarllot/488e145cda00ca7eb488 to your computer and use it in GitHub Desktop.
Create a new initrd (rescue CentOS 5)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mount --bind /proc /mnt/sysimage/proc | |
mount --bind /dev /mnt/sysimage/dev | |
mount --bind /sys /mnt/sysimage/sys | |
chroot /mnt/sysimage | |
cd /boot | |
mv initrd.img initrd.old.img | |
mkinitrd initrd-<ver>.img <ver> | |
cd / | |
sync; sync; sync | |
telinit 6 | |
# Xen | |
mkinitrd --with-xenblk ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment