Hi Jim:

Great to hear from you.

I am using the example command from the EBook, only I’m using FD13LGCY.ISO.

When I run QEMU, it gives me a warning about the freedos.img being a RAW image, 
and that writing to block 0 is restricted.  But, the install takes me through 
fdisk and it says it partitions it.  Then, it reboots and formats.  After 
format, it says it’s gathering information, hangs and eventually says it can’t 
find the package.

I am a blind user, so my screen reader is doing OCR on the screen so I have 
some idea what’s going on.

I’m going to try sighted assistance later and see if I’m leaving something out.

Meantime, I’m using 1.3RC1 under VMWare Player, and So far, no major problems 
under 1.3RC1.  For now, it’s doing what I want.

Would say more, but, this is the third time I’ve tried to write this, and wiped 
it out twice.  Going to get some sleep.

Looking forward to the official 1.3 release.


Sent from Mail for Windows 10

From: Jim Hall
Sent: Saturday, June 15, 2019 12:58 PM
To: Discussion and general questions about FreeDOS.
Subject: Re: [Freedos-user] Installing with QEMU



On Sat, Jun 15, 2019 at 9:17 AM Joseph Norton <[email protected]> wrote:
Hi listers:
 
I’m trying to install FreeDOS with QEMU, and I get as far as formatting the hd, 
then, the installation says it can’t find the package files.
 
I used the example in the Using FreeDOS Ebook, but, I did have to create the 
“freedos.img” file, which was not covered.
 
I’m planning to do some more troubleshooting later myself, but, if this has 
been run into before, I would appreciate any advice.
 
Probably something I’m not typing in the command-line for either the image 
creation or the startup.
 


First, you need to create the virtual disk image file that QEMU will use as 
your C: drive. Do this:

qemu-img create freedos.img 300M


Then you boot FreeDOS in QEMU. Note that QEMU takes a ton of command line 
arguments to define each part of the virtual machine. Here's my command line:

qemu-system-i386 -m 32 -k en-us -rtc base=localtime -soundhw sb16,adlib,pcspk 
-device cirrus-vga -display gtk -hda freedos.img -cdrom FD12CD.iso -drive 
file=fat:rw:/home/jhall/dos -boot order=c


To break that apart:

qemu-system-i386 is the command to run QEMU

-m 32 sets the machine to use 32MB of memory

-k en-us sets the keyboard to US/English (you should be able to omit this and 
QEMU will pick up your host system's keyboard language)

-rtc base=localtime defines the real time clock to use your host system's local 
time

-soundhw sb16,adlib,pcspk creates the sound hardware, using SoundBlaster16 with 
AdLib music, and PC speaker emulation (through your host system's sound card)

-device cirrus-vga defines a standard Cirrus Logic VGA card (should work with 
every DOS application)

-display gtk uses GTK (GNOME) for the display environment (gives a nice little 
window with controls)

-hda freedos.img defines the C: drive ("hda" in "Linux-speak") as the 
freedos.img file you created earlier

-cdrom FD12CD.iso says to use the FreeDOS 1.2 CDROM image as the CDROM

-drive file=fat:rw:/home/jhall/dos emulates a "D:" drive from a folder 
(/home/jhall/dos) in my Linux home directory. If you want to do this, use a 
directory in your own Linux home directory. Don't modify the contents of 
/home/jhall/dos (or whatever directory you set here) while QEMU is running 
because QEMU will likely get confused.

-boot order=c says to boot the C: drive first (use -boot order=d to boot from 
the CDROM). So use -boot order=d when you install FreeDOS, and use -boot 
order=c after that.

More info here:
https://opensource.com/article/17/10/run-dos-applications-linux

_______________________________________________
Freedos-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to