public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* /dev/sd* on ubuntu
@ 2008-03-02 22:27 Kévin REDON
  2008-03-03  2:54 ` Bart Oldeman
  2008-03-03  7:11 ` Robert Cabane
  0 siblings, 2 replies; 4+ messages in thread
From: Kévin REDON @ 2008-03-02 22:27 UTC (permalink / raw)
  To: linux-msdos

Hi,

Ubuntu 7.10 has dosemu 1.4.0.0
I modified the /etc/dosemu/dosemu.conf :
$_hdimage = "drives/* /dev/sdb1"
sdb1 existe, it's a FAT32 and it's unmounter
but dosemu never mounts it (should be F:)

lredit f: LINUX\FS/dev/sdb1 does not report errors but writing are
reading files on it is impossible (not enough space/file does not exist)
the same if I use .dosemurc

Did a miss a config line ?

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

* Re: /dev/sd* on ubuntu
  2008-03-02 22:27 /dev/sd* on ubuntu Kévin REDON
@ 2008-03-03  2:54 ` Bart Oldeman
       [not found]   ` <47CBCED6.5050607@gmail.com>
  2008-03-03  7:11 ` Robert Cabane
  1 sibling, 1 reply; 4+ messages in thread
From: Bart Oldeman @ 2008-03-03  2:54 UTC (permalink / raw)
  To: Kévin REDON; +Cc: linux-msdos

On Sun, Mar 2, 2008 at 5:27 PM, Kévin REDON <kevredon@gmail.com> wrote:
>
>  Ubuntu 7.10 has dosemu 1.4.0.0
>  I modified the /etc/dosemu/dosemu.conf :
>  $_hdimage = "drives/* /dev/sdb1"
>  sdb1 existe, it's a FAT32 and it's unmounter
>  but dosemu never mounts it (should be F:)

That should work if you have at least read access to /dev/sdb1. Check
your permissions.

>  lredit f: LINUX\FS/dev/sdb1 does not report errors but writing are
>  reading files on it is impossible (not enough space/file does not exist)
>  the same if I use .dosemurc

That won't work. It works if you mount /dev/sdb1 and then lredir the
mountpoint though. That is indirect but safer.

Bart
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: /dev/sd* on ubuntu
  2008-03-02 22:27 /dev/sd* on ubuntu Kévin REDON
  2008-03-03  2:54 ` Bart Oldeman
@ 2008-03-03  7:11 ` Robert Cabane
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Cabane @ 2008-03-03  7:11 UTC (permalink / raw)
  To: linux-msdos

Bonjour, le lundi 3 mars 2008 à 08:09, vous aviez  :
> Hi,
>
> Ubuntu 7.10 has dosemu 1.4.0.0
> I modified the /etc/dosemu/dosemu.conf :
> $_hdimage = "drives/* /dev/sdb1"
> sdb1 existe, it's a FAT32 and it's unmounter
> but dosemu never mounts it (should be F:)
>
> lredit f: LINUX\FS/dev/sdb1 does not report errors but writing are
> reading files on it is impossible (not enough space/file does not exist)
> the same if I use .dosemurc
I have the same problem, it seems that the hdimage method doesn't work.
Anyway, lredir is easier to manage (you can put such commands in the 
autoexec.bat).
Robert

> --
> To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: /dev/sd* on ubuntu
       [not found]   ` <47CBCED6.5050607@gmail.com>
@ 2008-03-03 10:35     ` Bart Oldeman
  0 siblings, 0 replies; 4+ messages in thread
From: Bart Oldeman @ 2008-03-03 10:35 UTC (permalink / raw)
  To: Kévin REDON, dosEmu-list

On Mon, Mar 3, 2008 at 5:11 AM, Kévin REDON <kevredon@gmail.com> wrote:
> even as root it doesn't work, but no error when starting.
>  it recognises sdb1, because it complains when it's mounted (in linux)
>  and if it's not connected it doesn't start.
>  here all the infos :

>  dosemu :
>
[...]
>  E: HD3, Pri[ 1], CHS=    0-1-1, start=     0 MB, size=  1906 MB
[...]
>  E: = LINUX\FS/MEDIA/CDROM CDROM:1 attrib = READ ONLY

Ok, this means /dev/sdb1 is recognized, as non-root too (it has the
right size where 1 MB=1024*1024 bytes), but autoexec.bat calls lredir:
the CDROM at E: overrides it.

You can fix that by either doing "lredir del e:" at the DOS prompt
which uncovers the CDROM so that E: is your /dev/sdb1.
Or you can, in Linux, create an empty "E:" drive:
  mkdir ~/.dosemu/drives/e
so that drives/* has three drives and /dev/sdb1 will be F: for real.

HTH
Bart
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2008-03-03 10:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-02 22:27 /dev/sd* on ubuntu Kévin REDON
2008-03-03  2:54 ` Bart Oldeman
     [not found]   ` <47CBCED6.5050607@gmail.com>
2008-03-03 10:35     ` Bart Oldeman
2008-03-03  7:11 ` Robert Cabane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox