All of lore.kernel.org
 help / color / mirror / Atom feed
* Installing freedos
@ 2004-01-25 18:53 Jan Willem Stumpel
  2004-01-25 19:16 ` Bart Oldeman
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Willem Stumpel @ 2004-01-25 18:53 UTC (permalink / raw)
  To: linux-msdos

Wouldn't it be nice if freedos could be installed with a command like

installfreedos <directory>

Instantly transforming <directory> into a dosemu-bootable C:
drive, with a sub-directory full of DOS utilities?

Or is this already possible?

BTW here is a sneak preview of the new version of Dosemu for Dummies:

http://www.jw-stumpel.nl/dosemu-new.html

Regards, Jan



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Installing freedos
  2004-01-25 18:53 Installing freedos Jan Willem Stumpel
@ 2004-01-25 19:16 ` Bart Oldeman
  0 siblings, 0 replies; 4+ messages in thread
From: Bart Oldeman @ 2004-01-25 19:16 UTC (permalink / raw)
  To: linux-msdos

On Sun, 25 Jan 2004, Jan Willem Stumpel wrote:

> Wouldn't it be nice if freedos could be installed with a command like
>
> installfreedos <directory>
>
> Instantly transforming <directory> into a dosemu-bootable C:
> drive, with a sub-directory full of DOS utilities?
>
> Or is this already possible?

yes, it's called "dosemu -install". possible with the installation from
source and the RPM. That might simplify a bit of the "dummies" page --
I'll have another look at that later; for this week I think I should take
a break from DOSEMU. It eats too much time right now.

Bart


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Installing FreeDOS
  2022-02-21 17:28 Installing FreeDOS Liam Proven
@ 2022-02-21 18:07 ` Tomas By
  0 siblings, 0 replies; 4+ messages in thread
From: Tomas By @ 2022-02-21 18:07 UTC (permalink / raw)
  To: Liam Proven; +Cc: linux-msdos

On Mon, 21 Feb 2022 18:28:59 +0100, Liam Proven wrote:
>   File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
>     raise HTTPError(req.full_url, code, msg, hdrs, fp)
> urllib.error.HTTPError: HTTP Error 404: Not Found
> [...]
> I don't know Python to any useful level, so fixing this script is
> beyond me. Is there any other way I can proceed?


That's just a 404. The script is probably fine.

(I have no idea about Freedos/Dosemu, but you could try to locate the
file on the web and change the URL wherever it is.)

/Tomas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Installing FreeDOS
@ 2022-02-21 17:28 Liam Proven
  2022-02-21 18:07 ` Tomas By
  0 siblings, 1 reply; 4+ messages in thread
From: Liam Proven @ 2022-02-21 17:28 UTC (permalink / raw)
  To: linux-msdos

I would like to install the newly-released FreeDOS 1.3 into dosemu2
(on Ubuntu 21.10, x86-64.)

In fact, I would like to install *any* FreeDOS into it. :-) I have
installed the package `install-freedos` but it does not do what it
says -- in fact, it does not do anything. I think it installs some
scripts and the user must run them.

The entirety of the package description is:

«
A set of scripts to install freedos.
Also provides a set of bat files for dosemu2 integration.
»

It does not tell me what the scripts are, or where they are located,
or what to run, or what parameters are needed. There's no `man` page.
I can't find any info at all on the web, and there's no info on
Github:
https://github.com/dosemu2/install-freedos

So, I have been trying to work it out for myself, but so far, without
success. I would be very happy to write some README files for you,
maybe even a HOWTO or something, if I could work out what to do.

Looking at the package properties, I can see the following list of files:

«
/.
/usr
/usr/libexec
/usr/libexec/dosemu
/usr/libexec/dosemu/dosemu-downloaddos
/usr/libexec/dosemu/dosemu-installfreedosuserspace
/usr/libexec/dosemu/dosemu-setupfreedos
/usr/share
/usr/share/doc
/usr/share/doc/install-freedos
/usr/share/doc/install-freedos/changelog.Debian.gz
/usr/share/doc/install-freedos/copyright
/usr/share/dosemu2-extras
/usr/share/dosemu2-extras/bat
/usr/share/dosemu2-extras/bat/dosrc.d
/usr/share/dosemu2-extras/bat/dosrc.d/1sugfdus.bat
/usr/share/dosemu2-extras/bat/dosrc.d/bin2path.bat
/usr/share/dosemu2-extras/bat/insfdusr.bat
/usr/share/dosemu2-extras/bat/rmfdusr.bat
»

There's no usage message if the batch files are invoked without
parameters. That would help! I was reasonably skilled with DOS batch
files 30 years ago, so if I can work this out, I can add that for you.

So, I tried `-?` which got me an informative error. Then I tried `-h`
and that got me some info.

Next I tried:

root@lproven:/usr/libexec/dosemu# ./dosemu-downloaddos freedos12

This downloads 9 files, then fails with this error:

«
Downloading https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/base/command.zip...
Traceback (most recent call last):
  File "/usr/libexec/dosemu/./dosemu-downloaddos", line 205, in <module>
    download_dos(dos_to_download, destination)
  File "/usr/libexec/dosemu/./dosemu-downloaddos", line 170, in download_dos
    download_FREEDOS_FULL_ARCHIVES(FREEDOS12_URL, destination)
  File "/usr/libexec/dosemu/./dosemu-downloaddos", line 117, in
download_FREEDOS_FULL_ARCHIVES
    download_file(freedos_url + '/repos/base/' + filename + '.zip', destination)
  File "/usr/libexec/dosemu/./dosemu-downloaddos", line 57, in download_file
    with urllib.request.urlopen(urllib.parse.quote_plus(source,
"\./_-:")) as response, open(destination_file, 'wb') as f:
  File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
»

I have looked in
http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/base/

... and it is true, there is no COMMAND.ZIP.

I don't know Python to any useful level, so fixing this script is
beyond me. Is there any other way I can proceed?

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-02-21 18:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-25 18:53 Installing freedos Jan Willem Stumpel
2004-01-25 19:16 ` Bart Oldeman
2022-02-21 17:28 Installing FreeDOS Liam Proven
2022-02-21 18:07 ` Tomas By

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.