Re: [Freedos-user] virt-install freedos

2022-06-01 Thread crg
Thanks Alan, 

I will try the tutorial.
luckily, portuguese is not a problem ;-)

Cesar


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] virt-install freedos

2022-06-01 Thread Alain Mouette
No more attached file, link here: 
https://www.dropbox.com/s/wk22xq6ecgb85ga/Tec_NetBootDisk%20-%20Cosmodata.html?dl=0


--
You should try *NetBootDisk*, it's a MS-Client

Attached a tutorial I made for a very basic instalation. (portuguese)

Alain

On 5/26/22 10:07, Louis Santillan wrote:
You also need to provide a ‘model’ on the ‘network’ parameter.  e1000 
or rtl8139 have DOS packet drivers available.


On Thu, May 26, 2022 at 4:29 AM  wrote:

Hello everybody. Thanks for the help so far, sorry for the delay
in responding.

The simplest way for me to create a FreeDOS VM on my server was to
install it on a local VM and copy the disk image to the server,
once there I created the VM with the following command.

virt-install \
    --name DOS01 \
    --network bridge=br0 \
    --ram 32 \
    --disk /kvm/disk/dos01.img \
--graphics=vnc,password=cadeafaca,listen=0.0.0.0,port=5913 \
    --hvm \
    --import

Almost everything worked.
The other VMs (Debian) are happy with the bridge interface but
FreeDOS returned the following error.

QEMU network detected.
Physical hardware networking is not supported at this time.

I've tried a few variations trying to use tap interface but still
no success. Any idea what to do?
Like the other VMs, I want this one to be directly exposed to my
internal network, not using NAT.

The point with all this is to try to rebuild the old BBS and DOS
is not exactly an environment I expect to see networking in.
Perhaps a simpler way is to simulate a serial interface and then
try to export it to the network.

Thanks everyone for the help!

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
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] virt-install freedos

2022-05-26 Thread crg
Hello Louis,

> You also need to provide a ‘model’ on the ‘network’ parameter.  e1000 or 
> rtl8139 have DOS packet drivers available.

I tried with the command below, and some variations
--network bridge=virbr0,model=rtl8139

> You can also use nicscan.exe (
> http://www.georgpotthast.de/sioux/packet.htm 
> ) or pcinic.com 
>  (
> http://dunfield.classiccmp.org/dos/index.htm 
> ) to verify the nic is 
> correctly configured in the VM.

I'll take a look, thanks for the help!

Cesar___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] virt-install freedos

2022-05-26 Thread Louis Santillan
You can also use nicscan.exe (
http://www.georgpotthast.de/sioux/packet.htm) or pcinic.com (
http://dunfield.classiccmp.org/dos/index.htm) to verify the nic is
correctly configured in the VM.

On Thu, May 26, 2022 at 6:07 AM Louis Santillan  wrote:

> You also need to provide a ‘model’ on the ‘network’ parameter.  e1000 or
> rtl8139 have DOS packet drivers available.
>
> On Thu, May 26, 2022 at 4:29 AM  wrote:
>
>> Hello everybody. Thanks for the help so far, sorry for the delay in
>> responding.
>>
>> The simplest way for me to create a FreeDOS VM on my server was to
>> install it on a local VM and copy the disk image to the server, once there
>> I created the VM with the following command.
>>
>> virt-install \
>> --name DOS01 \
>> --network bridge=br0 \
>> --ram 32 \
>> --disk /kvm/disk/dos01.img \
>> --graphics=vnc,password=cadeafaca,listen=0.0.0.0,port=5913 \
>> --hvm \
>> --import
>>
>> Almost everything worked.
>> The other VMs (Debian) are happy with the bridge interface but FreeDOS
>> returned the following error.
>>
>> QEMU network detected.
>> Physical hardware networking is not supported at this time.
>>
>> I've tried a few variations trying to use tap interface but still no
>> success. Any idea what to do?
>> Like the other VMs, I want this one to be directly exposed to my internal
>> network, not using NAT.
>>
>> The point with all this is to try to rebuild the old BBS and DOS is not
>> exactly an environment I expect to see networking in. Perhaps a simpler way
>> is to simulate a serial interface and then try to export it to the network.
>>
>> Thanks everyone for the help!
>>
>> 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


Re: [Freedos-user] virt-install freedos

2022-05-26 Thread Louis Santillan
You also need to provide a ‘model’ on the ‘network’ parameter.  e1000 or
rtl8139 have DOS packet drivers available.

On Thu, May 26, 2022 at 4:29 AM  wrote:

> Hello everybody. Thanks for the help so far, sorry for the delay in
> responding.
>
> The simplest way for me to create a FreeDOS VM on my server was to install
> it on a local VM and copy the disk image to the server, once there I
> created the VM with the following command.
>
> virt-install \
> --name DOS01 \
> --network bridge=br0 \
> --ram 32 \
> --disk /kvm/disk/dos01.img \
> --graphics=vnc,password=cadeafaca,listen=0.0.0.0,port=5913 \
> --hvm \
> --import
>
> Almost everything worked.
> The other VMs (Debian) are happy with the bridge interface but FreeDOS
> returned the following error.
>
> QEMU network detected.
> Physical hardware networking is not supported at this time.
>
> I've tried a few variations trying to use tap interface but still no
> success. Any idea what to do?
> Like the other VMs, I want this one to be directly exposed to my internal
> network, not using NAT.
>
> The point with all this is to try to rebuild the old BBS and DOS is not
> exactly an environment I expect to see networking in. Perhaps a simpler way
> is to simulate a serial interface and then try to export it to the network.
>
> Thanks everyone for the help!
>
> 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


Re: [Freedos-user] virt-install freedos

2022-05-26 Thread crg
Hello everybody. Thanks for the help so far, sorry for the delay in responding.

The simplest way for me to create a FreeDOS VM on my server was to install it 
on a local VM and copy the disk image to the server, once there I created the 
VM with the following command.

virt-install \
--name DOS01 \
--network bridge=br0 \
--ram 32 \
--disk /kvm/disk/dos01.img \
--graphics=vnc,password=cadeafaca,listen=0.0.0.0,port=5913 \
--hvm \
--import

Almost everything worked. 
The other VMs (Debian) are happy with the bridge interface but FreeDOS returned 
the following error.

QEMU network detected.
Physical hardware networking is not supported at this time.

I've tried a few variations trying to use tap interface but still no success. 
Any idea what to do?
Like the other VMs, I want this one to be directly exposed to my internal 
network, not using NAT. 

The point with all this is to try to rebuild the old BBS and DOS is not exactly 
an environment I expect to see networking in. Perhaps a simpler way is to 
simulate a serial interface and then try to export it to the network.

Thanks everyone for the help!

Cesar

___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] virt-install freedos

2022-05-23 Thread Jon Brase
>I believe the simplest will be to create the VM on another machine and learn 
>how to import it to the host machine.

No, the simplest thing is to open up virt-manager on the other machine, go to 
"File -> Add connection", fill out the dialog to connect to the host machine, 
then go to "File -> New virtual machine" and select the connection you just 
added in the "connection" dropdown. Once you've done that, you can create and 
use a VM on the host machine exactly as if it were local to the machine you're 
running virt-manager on. That's the beauty of virt-manager: you can administer 
VMs on anything you can reach by ssh just as if they were local.
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] virt-install freedos

2022-05-23 Thread Jon Brase
>KVM is the underlying hypervisor here. It uses QEMU tools for creating disk
images and things, but it doesn't use the core QEMU emulator for
running x86 OSes on x86.

KVM is a kernel component, so userland processes use it for things, not the 
other way around (specifically, it's a virtualization driver that turns the 
kernel into a hypervisor). It's more accurate to say that when the architecture 
of the guest OS matches that of the host CPU, QEMU uses the host CPU via KVM 
rather than emulating it.

In any case, Cesar was talking about running QEMU via a front end vs. launching 
it bare, and that's independent of whether QEMU is using its own emulation or 
KVM as the backend to provide a CPU for the VM.


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] virt-install freedos

2022-05-23 Thread crg
Hi Louis,

> 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.


I believe the simplest will be to create the VM on another machine and learn 
how to import it to the host machine.

Thanks for the help and the reference.

Cesar___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] virt-install freedos

2022-05-23 Thread Liam Proven
On Mon, 23 May 2022 at 04:02,  wrote:
>
> 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.

OK.

> Does anyone have experience with virt-install + FreeDOS?

Well, no, but I have used KVM

This is normal behaviour for KVM, whatever UI you use to control it.

It does a strange temporary-attach of a CD image *for the first run
only* and then the developers assumed the OS was fully installed and
automatically detach the CD image.

You can manually attach the ISO instead and then it will stay there
until you eject it. That may be preferable.

Another alternative: use a Linux boot ISO to make the partitions for
DOS, and copy the the VHD image into place afterwards.

You should be able to use Virtual Machine Manager remotely over ssh
with no need for X.11 or VNC. In theory a VM created with any tool
that talks to KVM should be able to manage the same VMs.

VMM worked for me as it's vaguely similar to VirtualBox and VMware
player/workstation/server, which I am personally more familiar with.

> 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.

No problem. You don't need QEMU itself. It's an emulator. KVM is the
underlying hypervisor here. It uses QEMU tools for creating disk
images and things, but it doesn't use the core QEMU emulator for
running x86 OSes on x86.

-- 
Liam Proven ~ Profile: https://about.me/liamproven
Email: lpro...@cix.co.uk ~ gMail/gTalk/FB: lpro...@gmail.com
Twitter/LinkedIn: lproven ~ Skype: liamproven
UK: (+44) 7939-087884 ~ Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[Freedos-user] virt-install freedos

2022-05-23 Thread Jon Brase
>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.

So virt-install is a tool for virt-manager, but I don't think I've ever used it 
directly (there's a good possibility the VM creation wizard for virt-manager 
uses it on the back end, I've never peeked under the hood to confirm that). 
Virt-manager can manage VMs on remote hosts, so I use the full-up graphical 
environment even for my headless VM host.


___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] virt-install freedos

2022-05-23 Thread Jon Brase
>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.

I think what's happening is that it detaches the disk image if the virtual CD 
drive receives an eject command. On real hardware, if the software opens the CD 
tray but you still want the install media for the next boot, you just push the 
tray back in instead of removing the disk. On virtual hardware, if "eject" is 
interpreted as "detach", the ejection becomes a bit more of a hassle.
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] virt-install freedos

2022-05-22 Thread Louis Santillan
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  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


[Freedos-user] virt-install freedos

2022-05-22 Thread crg
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