GNS3 / gns3-gui

GNS3 Graphical Network Simulator
http://www.gns3.com
GNU General Public License v3.0
2.17k stars 436 forks source link

multiple cdrom ISO support #3049

Open spikefishjohn opened 4 years ago

spikefishjohn commented 4 years ago

Before you start Please check if a similar feature request has already been submitted.

You may also post this issue directly on the GNS3 server repository if you know the feature request only applies to the server: https://github.com/GNS3/gns3-server/issues/new

Is your feature request related to a problem? Please describe. When making a fresh windows 10 ISO its nice to have 2 ISOs attached to a VM. This way you can kick off the installer and attach virtio drivers for storage and network (via iso). This cuts down on install process as you don't have to install the system then add drive and hack up windows to figure out there is a new disk storage subsystem.

Describe the solution you'd like Maybe just the option to add X ISOs to the cdrom page page or an option to set the drive type to cdrom and just use the disk image selection.

Describe alternatives you've considered I personally add advanced section to VM to work around this.

Additional context I had no idea Cumin (spice) was so amazing.

WaleedMortaja commented 1 year ago

Any updates on this?

It was hard to find the options that needs to be added on the advanced section to make it work as it is not stated in the post, @spikefishjohn

After a lot of trying, here is the command I used to do it: -drive file=/root/GNS3/images/QEMU/windows-server-2022-SERVER_EVAL_x64FRE_en-us.iso,if=ide,index=0,media=cdrom,id=cdrom0 -drive file=/root/GNS3/images/QEMU/virtio-win-0.1.229.iso,if=ide,index=1,media=cdrom,id=cdrom1

spikefishjohn commented 1 year ago

@WaleedMortaja Dang, my bad. If you would have requested I would have updated this with said info.

I just went to pull this out and noticed my server crashed (over due spring cleaning i think). Not that you need it but i'll attach once I get a second.

spikefishjohn commented 1 year ago

-nographic -usbdevice tablet -drive file=/home/gns3/GNS3/images/QEMU/virtio-win-0.1.173.iso,index=1,media=cdrom -cpu host

That is my advanced section. Also from my testing chose scsi for the disk type on windows. On my setup its dramatically faster then virtio.

spikefishjohn commented 1 year ago

BTW I have the windows ISO on the cdrom tab if that wasn't clear.

WaleedMortaja commented 1 year ago

@spikefishjohn Thank you for the fast response, and for sharing your experience.

Also from my testing chose scsi for the disk type on windows. On my setup its dramatically faster then virtio.

That's weird, but I will give it a shot when I have a chance.

BTW I have the windows ISO on the cdrom tab if that wasn't clear.

Since I provided an ISO file using the command, I preferred to have all the ISOs provided in consistent way, to ease the debugging later if needed. Just a matter of preference I guess. However, thank you for clarifying for me and for anyone else reading this.