On 9/24/2019 8:15 PM, shift83...@gmail.com wrote:
>>
>> I have tried multiple times to install FreeDOS on Raspberry Pi3.
>>
>>  *[*..*]*
>>
>> Has anyone seen this and been able to resolve it?
>>
>> On Wed, Sep 25, 2019 at 2:07 AM Ralf Quint <freedos...@gmail.com> wrote:

> There is no way to resolve this!
>>
>> The RPi (any model!) is based on an ARM RISC CPU, while FreeDOS (any DOS
>> actually) expects to run on an Intel x86 (compatible) CPU.
>>
>> These are two totally different worlds! The only way you could get
>> FreeDOS to run on a RPi is after installing one of the default Linux
>> versions to install QEMU, which is an x86 emulator and install FreeDOS
>> within that virtual machine. Again, FreeDOS can NEVER run natively on a
>> RPi...
>>
>
On Wed, Sep 25, 2019 at 9:46 AM Chris Schneider <shift83...@gmail.com>
wrote:

> That’s what I’m trying to do.  I have Raspian loaded and qemu loaded.
> Launching qemu with the freedos installation and I’m getting errors after
> the reboot from partitioning the image file.  It seems my cdrom iso can not
> be read.
>
>

Earlier, you mentioned you created your virtual disk with this:

*qemu-img* create dos.img 200M



And that's the correct command. Good so far.


And you ran QEMU with this command:

*qemu-system-i386* -m 16 -k en-us -rtc base=localtime -device cirrus-vga
> -fda FLOPPY.img -hda freedos.img -cdrom FD12CD.iso -boot order=d




This is very similar to the command line I gave in my article on
OpenSource.com about running FreeDOS on the Raspberry Pi
<https://opensource.com/article/18/3/can-you-run-dos-raspberry-pi> (using
QEMU). The command line I used was:

*qemu-system-i386* -m 16 -k en-us -rtc base=localtime -soundhw
sb16,adlib -device
> cirrus-vga -hda freedos.img -cdrom FD12CD.iso -boot order=d



I highlighted to show the similarities in those commands.


My OpenSource article provides a full breakdown of the command line, but
the *qemu-img* command creates a virtual hard drive image file
*dos.img* of size
200MB.

The *qemu-system-i386* command defines a virtual machine with these
parameters:

   - 16MB memory
   - US/English keyboard
   - Real-time clock set to host system's local time
   - Cirrus Logic VGA card (very common)
   - Hard drive image named *freedos.img*
   - CDROM ISO image named *FD12CD.iso*
   - Boot the virtual machine from the bootable CDROM first


That should work. You don't need to have a sound card defined in order to
install FreeDOS (that's extra).


*I have two suggestions for you:*

*(*1*)*
Your "hda" image file is different in the two commands. You created a hard
disk image named dos.img but you tried to reference a hard disk image
named freedos.img. Does the freedos.img image file exist? Try re-running
the *qemu-system-i386* command with the *dos.img* image file you created in
your earlier *qemu-img* command.

(2)
You have an extra parameter to define a floppy disk image named *FLOPPY.img*.
Does this image file exist? How did you create it? Try re-running the
*qemu-system-i386* command without the floppy drive defined. You don't need
it anyway for the install.


However, neither of my two suggestions would point to the installer being
unable to find the installation packages. But I'd try these steps anyway to
see if that fixes it. If it's still broken after that, we can try to debug
further.

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

Reply via email to