KVM/qemu as presented by virt-manager/virsh does something funny with the
config of the VM.  After initial boot it’ll “forget” about the CDROM.
Seems like it’s intended for OSes that don’t need to reboot after
formatting the primary drive.  I saw this behavior in RHEL and Fedora using
Cockpit, virt-manager, virsh.

Eventually I was able to install FreeDOS but I had to manually add back the
ISO and also manually fix the boot order.

This seems a lot like the reference I used back then.

https://docs.fedoraproject.org/en-US/Fedora/18/html/Virtualization_Administration_Guide/sect-Attaching_and_updating_a_device_with_virsh.html


On Sun, May 22, 2022 at 7:02 PM <c...@crg.eti.br> wrote:

> Hi!
>
> I'm trying to install FreeDOS in a virtual machine via virt-install, as
> the host machine is remote and doesn't have a graphical environment, so I
> only have access via ssh. Still, I can export the installer screen via VNC.
>
> The installation process loads, and I can get to the part of creating the
> primary partition, but I need to restart the machine after partitioning,
> and I cannot resume the installation from that point forward.
>
> This is the command I'm using.
>
> virt-install \
>     --name DOS01 \
>     --network bridge=br0 \
>     --ram 512 \
>     --disk
> /mnt/sd/vmdisk/DOS01.img,device=disk,bus=virtio,size=10,format=qcow2 \
>     --graphics=vnc,password=cadeafaca,listen=0.0.0.0,port=5913 \
>     --hvm \
>     --cdrom /kvm/iso/FD13LIVE.iso \
>     --boot cdrom
>
> Does anyone have experience with virt-install + FreeDOS?
>
> It would probably be more straightforward for me to use qemu directly, but
> as I already have several VMs running managed by virt-manager, I wanted to
> keep using it for FreeDOS.
>
> Cesar
>
> _______________________________________________
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to