Which of the following commands can be used to access the content of a ramdisk file (/boot/initrd) used by the kernel at boot time?

Which of the following commands can be used to access the content of a ramdisk file (/boot/initrd)
used by the kernel at boot time?

Which of the following commands can be used to access the content of a ramdisk file (/boot/initrd)
used by the kernel at boot time?

A.
mount /boot/initrd /mnt/ -0 loop; cat /mnt

B.
mkintird -d /boot/initrd; mount /boot/initrd /mnt/ -o loop

C.
cp /boot/initrd /tmp/initrd.gz; mount /tmp/initrd /mnt/ -o loop

D.
cp /boot/initrd /tmp/initrd.gz; gunzip initrd.gz; mount /tmp/initrd /mnt/ -o loop

E.
cp /boot/initrd /tmp/initrd.gz; gunzip initrd.gz; mount /tmp/initrd /mnt/

Explanation:

This is the old initrd version. New initramfs is a zipped cpio archive which doesn’t need to be
mounted.



Leave a Reply 0

Your email address will not be published. Required fields are marked *