Linux - How to rebuild image mkinitrd, Rebuild sysimage in linux

How to rebuild image mkinitrd

how to rebuild sysimage in linux?

As a linux admin you must know, how to rebuild the system image. To rebuild the system image you can follow the below steps.

1) Boot Linux from CD

2) You will get boot promt on screen.

3) Type linux rescue
   boot: linux rescue

4) Rescue mode will mount system image under the /mnt/sysimage directory

5) Now change chroot to /mnt/sysimage
   # chroot /mnt/sysimage

6) Use mkinitrd command to rebuild the image
   # mkinitrd /boot/initrd

7) After building image, exit and reboot the machine.
   # exit

   # reboot -f

8) remove the linux boot cd and reboot machince as above.

The above commands will help you to rebuild the image without any issue.

The topic on Linux - How to rebuild image mkinitrd is posted by - Math

Hope you have enjoyed, Linux - How to rebuild image mkinitrdThanks for your time

Tech Bluff