PrepAway - Latest Free Exam Questions & Answers

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

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?

PrepAway - Latest Free Exam Questions & Answers

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