From: Baurjan Ismagulov <ibr@gantek.com>
To: linux-msdos@vger.kernel.org
Subject: Re: unable to boot as user
Date: Fri, 14 Jun 2002 20:14:40 +0300 [thread overview]
Message-ID: <20020614171431.GA15543@gantek.com> (raw)
In-Reply-To: <20020614142121.GA11777@gantek.com>
Hello,
On Fri, Jun 14, 2002 at 05:21:23PM +0300, Baurjan Ismagulov wrote:
> I'm trying to boot win98 under dosemu 1.0.2.1-8 from debian sid. I put
> the diskette image under /var/lib/dosemu, set $_vbootfloppy=win98.img
> in dosemu.conf and run dosemu. It boots as expected if dosemu is run
> by root, and otherwise fails with the following message:
> Disk I/O error
> Replace the disk, and then press any key
At last I was able to track down the problem. It turned out to be that
one should have the real floppy accessible in order to boot from the
image. In my case, ordinary users have no access to /dev/fd0.
I suggest the change below.
With kind regards,
Baurjan.
diff -Naur -x *.OLD dosemu-1.0.2.1.orig/etc/dosemu.conf dosemu-1.0.2.1/etc/dosemu.conf
--- dosemu-1.0.2.1.orig/etc/dosemu.conf Fri Jun 14 18:40:59 2002
+++ dosemu-1.0.2.1/etc/dosemu.conf Fri Jun 14 20:03:02 2002
@@ -125,10 +125,14 @@
# file name of the floppy image under DOSEMU_LIB_DIR
# e.g. "floppyimage" disables $_hdimage
# "floppyimage +hd" does _not_ disable $_hdimage
+ # Note that you MUST have $_floppy_a defined and
+ # accessible (check, for example, /dev/fd0 permissions)
+ # by the users running dosemu, otherwise you won't be
+ # able to boot from your image.
$_floppy_a ="threeinch" # or "fiveinch" or "atapi" or empty, if not existing
# optionally the device may be appended such as
# "threeinch:/dev/fd0"
-$_floppy_b = "" # dito for B:
+$_floppy_b = "" # ditto for B:
$_hdimage = "freedos" # list of hdimages under DOSEMU_LIB_DIR
# assigned in this order such as
next prev parent reply other threads:[~2002-06-14 17:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-14 14:21 unable to boot as user Baurjan Ismagulov
2002-06-14 17:14 ` Baurjan Ismagulov [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-06-14 19:25 Stas Sergeev
2002-06-16 16:02 Baurjan Ismagulov
2002-06-16 21:51 Stas Sergeev
2002-06-17 10:44 ` Baurjan Ismagulov
2002-06-17 13:04 ` Bart Oldeman
2002-06-17 13:43 ` Baurjan Ismagulov
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=20020614171431.GA15543@gantek.com \
--to=ibr@gantek.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