LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   QEMU: tmpfs file system required (https://www.linuxquestions.org/questions/linux-software-2/qemu-tmpfs-file-system-required-481981/)

steven01 09-09-2006 05:36 PM

QEMU: tmpfs file system required
 
Hello everyone. I've been trying to get the QEMU CPU emulator / virtualisation system working recently. After installing a few shared libraries it is willing to open a console window....and do nothing. I have given it images that I know are bootable on real hardware but no dice. I think the problem may be in this startup message:

Code:

warning: could not create temporary file in /dev/shm
Using /tmp as fallback

The documentation says QEMU creates a temporary file in a tmpfs filesystem and uses it to store the guest OS's RAM allocation. However, using the mount command shows that no tmpfs file systems are mounted. So, my logic suggests that perhaps I should create one and mount it manually :Pengy: . Does anyone know how to do this. Any help would be appriciated. Thanks.

Steven.

win32sux 09-09-2006 07:10 PM

just add a line like this to your /etc/fstab file:
Code:

shm            /dev/shm    tmpfs  defaults        0    0


All times are GMT -5. The time now is 02:43 AM.