From: Liam Proven <lproven@gmail.com>
To: linux-msdos@vger.kernel.org
Subject: Installing FreeDOS
Date: Mon, 21 Feb 2022 18:28:59 +0100 [thread overview]
Message-ID: <CAMTenCF0jS7_noOL74KswdJBp5sq_maQsM_v-wmO0mfbvcEnAQ@mail.gmail.com> (raw)
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
next reply other threads:[~2022-02-21 17:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-21 17:28 Liam Proven [this message]
2022-02-21 18:07 ` Installing FreeDOS Tomas By
-- strict thread matches above, loose matches on Subject: below --
2004-01-25 18:53 Installing freedos Jan Willem Stumpel
2004-01-25 19:16 ` Bart Oldeman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMTenCF0jS7_noOL74KswdJBp5sq_maQsM_v-wmO0mfbvcEnAQ@mail.gmail.com \
--to=lproven@gmail.com \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).