1

In order to emulate a Pi in the Qemu emulator, I will need to identify which (if any) of the files in /boot is the RAM disk, and which is the appropriate kernel.

Booting Raspbian however, there is no file called initrd.gz or similar.

How can I determine which file is the initrd, and which is the appropriate kernel?

3
  • 1
    There is NO RAM disk!
    – Milliways
    Oct 10, 2020 at 22:03
  • Do you mean the swap file? Check dphys-swapfile in /etc for location and info if you do.
    – user115418
    Oct 10, 2020 at 22:14
  • Maybe some research would help... this, and this
    – Seamus
    Oct 10, 2020 at 22:17

1 Answer 1

2

The Raspberry Pi OS does not use an Init RAM Disk. If you need one you have to create it by yourself. In addition to the ramdisk you have to add some settings in /boot/config.txt. I have an example to load storage drivers on an early stage. You may have a look at Easy backups and snapshots of a running system with LVM. To get an idea just only look at the section Prepare the installation with LVM drivers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.