How to add floppy or usbdevice?

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
tvor
Posts: 3
Joined: Fri Jul 07, 2017 11:21 am

How to add floppy or usbdevice?

Post by tvor » Fri Jul 07, 2017 1:11 pm

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?

ramindia
Posts: 409
Joined: Sun Mar 19, 2017 10:27 pm

Re: How to add floppy or usbdevice?

Post by ramindia » Fri Jul 07, 2017 8:31 pm

tvor wrote:
Fri Jul 07, 2017 1:11 pm
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?
Never Tried myself, but if you keen to do worth reading below document options.

https://wiki.archlinux.org/index.php/QE ... zed_system

R!

ecze
Posts: 534
Joined: Wed Mar 15, 2017 1:54 pm

Re: How to add floppy or usbdevice?

Post by ecze » Sat Jul 08, 2017 7:16 am

-fda /tmp/floppy.img will work

you need to give te abosolute path to the image file....

E.

tvor
Posts: 3
Joined: Fri Jul 07, 2017 11:21 am

Re: How to add floppy or usbdevice?

Post by tvor » Mon Jul 10, 2017 8:28 am

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

?

tvor
Posts: 3
Joined: Fri Jul 07, 2017 11:21 am

Re: How to add floppy or usbdevice?

Post by tvor » Fri Jul 14, 2017 12:34 pm

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?

Post Reply