> On Tue, May 06, 2025 at 10:38:19AM +0000, John Thomas via Freedos-user wrote:
>I have gotten FreeDOS 1.4 up and running over Virtual Box over an Ubuntu linux 
>host. Now I want to import a DOS executable into my FreeDOS1.4 Virtual Machine 
>so I can execute it.

As others have mentioned, a few options out there, however typically not
quickly and easily performed.

I've been migrating to Qemu, especially for simpler or older operating
systems, rather than using Virtual Box.

Best and easiest method for Qemu

Check for partition sector size and start sector:

$ fdisk -l

start sector * sector size = mount offset

Typically 63 start sector * 512 sector size = 32256

# mount -o loop,offset=32256 freedos.img /mnt/tmp

Just remember, do not mount the image while an emulation or operating
system is using the file system.  Best practice, quickly mount, copy
data, unmount.

VirtualBox has vboximg-mount for mac osx, while Linux would need to use a
raw image file format:

$ VBoxManage clonehd --format RAW /path/to/your.vdi /path/to/your.img

# mount -t ext3 -o loop,rw /path/to/your.img /path/to/mountpoint

Otherwise, VirtualBox typically requires guest utilities installed into
the guest operating system for sharing files to and fro while the
virtualized operating system is running.  Can be a real hassle after
upgrades, due to guest utilities requiring upgrading too.

Roger

Attachment: signature.asc
Description: PGP signature

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

Reply via email to