Hello
I need to add removable disk to linux virtual machine. I tried to use 'qemu_options' in /templates/my-vm.php. But node does not work (stoping). Message in php_errors log "WARNING: Attribute ignored, invalid node_uuid (40026)".
Options i have tried:
-fda floppy.img
-drive file=floppy.img,index=0,if=floppy
-usbdevice disk:format=raw:floppy.img
Disk image here /opt/unetlab/addons/qemu/my-vm/floppy.img
Is it possible to add floppy or usbdevice help please?
How to add floppy or usbdevice?
Moderator: mike
-
- Posts: 409
- Joined: Sun Mar 19, 2017 10:27 pm
Re: How to add floppy or usbdevice?
Never Tried myself, but if you keen to do worth reading below document options.tvor wrote: ↑Fri Jul 07, 2017 1:11 pmHello
I need to add removable disk to linux virtual machine. I tried to use 'qemu_options' in /templates/my-vm.php. But node does not work (stoping). Message in php_errors log "WARNING: Attribute ignored, invalid node_uuid (40026)".
Options i have tried:
-fda floppy.img
-drive file=floppy.img,index=0,if=floppy
-usbdevice disk:format=raw:floppy.img
Disk image here /opt/unetlab/addons/qemu/my-vm/floppy.img
Is it possible to add floppy or usbdevice help please?
https://wiki.archlinux.org/index.php/QE ... zed_system
R!
-
- Posts: 534
- Joined: Wed Mar 15, 2017 1:54 pm
Re: How to add floppy or usbdevice?
-fda /tmp/floppy.img will work
you need to give te abosolute path to the image file....
E.
you need to give te abosolute path to the image file....
E.
-
- Posts: 3
- Joined: Fri Jul 07, 2017 11:21 am
Re: How to add floppy or usbdevice?
Thank you, ecze, for reply
I have tried options you recommend. Node is working. Putty is connecting, but nothing on console, black screen.
-fda /opt/unetlab/addons/qemu/my-vm/floppy.img
-fda /tmp/floppy.img
-fda /tmp/floppy.img -boot order=c
?
I have tried options you recommend. Node is working. Putty is connecting, but nothing on console, black screen.
-fda /opt/unetlab/addons/qemu/my-vm/floppy.img
-fda /tmp/floppy.img
-fda /tmp/floppy.img -boot order=c
?
-
- Posts: 3
- Joined: Fri Jul 07, 2017 11:21 am
Re: How to add floppy or usbdevice?
Additional info
When node is working (without -fda). File size /opt/unetlab/tmp/ ... hda.qcow2 was growing till 11584 KB.
When node is not working (with -fda). File size /opt/unetlab/tmp/ ... hda.qcow2 was only 384 KB.
Can experts dive an advise, how to get debug info?
What is wrong with file hda.qcow2?
When node is working (without -fda). File size /opt/unetlab/tmp/ ... hda.qcow2 was growing till 11584 KB.
When node is not working (with -fda). File size /opt/unetlab/tmp/ ... hda.qcow2 was only 384 KB.
Can experts dive an advise, how to get debug info?
What is wrong with file hda.qcow2?