LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   copying initrd.img file to different server. (https://www.linuxquestions.org/questions/linux-server-73/copying-initrd-img-file-to-different-server-4175414604/)

kris_rocks! 07-03-2012 04:24 AM

copying initrd.img file to different server.
 
Hi Guys,

If I'm copying initrd.img file from machine on which it has created to different server. Will it work?

pantdk 07-04-2012 10:28 PM

copy will not work

The initial RAM disk (initrd) is an initial root file system that is mounted prior to when the real root file system is available. The initrd is bound to the kernel and loaded as part of the kernel boot procedure. The kernel then mounts this initrd as part of the two-stage boot process to load the modules to make the real file systems available and get at the real root file system.

so can create new one

#mkinitrd /boot/initrd-`uname -r`.img `uname -r`


more to understand

http://www.ibm.com/developerworks/li...trd/index.html


All times are GMT -5. The time now is 04:58 AM.