dosemu - can't see USB drive
I'm in the process of trying to create a USB DOS Bootable drive per the instructions from ASElabs
Everything runs fine, including fix /proc/sys/vm/mmap_min_addr to get dosemu to work. I get into dosemu and boot.log shows:
device: /etc/dosemu/drives/c type 4 h: -1 s: -1 t: -1 drive C:
device: /etc/dosemu/drives/d type 4 h: -1 s: -1 t: -1 drive D:
device: /dev/sdb1 type 3 partition# 1 h: -1 s: -1 t: -1 drive E:
CONF: cdrom MSCD0001 on /dev/cdrom
CONF: config variable c_system unset
and in the dosemu window:
C: HD1, Pri[ 1], CHS= 0-1-1, start= 0 MB, size= 392 MB
D: HD2, Pri[ 1], CHS= 0-1-1, start= 0 MB, size= 392 MB
E: HD3, Pri[ 1], CHS= 0-1-1, start= 0 MB, size= 476 MB
UMB's unavailable!
However, F: is invalid...
Any thoughts or hints on how to see /dev/sdb1? I have verified that there is rwx access exists for all.
Thanks,
Frank
Quoted 4 lines
Any thoughts or hints on how to see
/dev/sdb1? I have verified that there is rwx access exists for all.
I would just mount /dev/sdb1 in linux (say in /mnt/usb/) and do "lredir f: linux\fs\mnt/usb" in dosemu
Quoted 2 lines · Frank Jansen
device:
/dev/sdb1type 3 partition# 1 h: -1 s: -1 t: -1 drive E:
E: HD3, Pri[ 1], CHS= 0-1-1, start= 0 MB, size= 476 MB
If this E: corresponds to your USB you should be able to see it after doing lredir del e:
in DOSEMU at the DOS prompt, because the CDROM default redirection put in autoexec.bat overrides it.
Why were you looking at F: though?
Bart
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Javier,
thank you for your suggestion. I can now see the USB drive, but cannot transfer the DOS system to it, as it is mounted, which prevents reading of the bootsector.
I'm taking a look through the dosemu code to see, if I can figure out what may be going wrong.
Frank
Quoted 6 lines · Javier Tarifa
Quoted 3 lines
Any thoughts or hints on how to see
/dev/sdb1? I have verified that there is rwx access exists for all.I would just mount
/dev/sdb1in linux (say in/mnt/usb/) and do "lredir
f: linux\fs\mnt/usb" in dosemu
Bart,
thank you for your suggestion, as I now have proper access to the USB drive. There are still more hurdles as KERNEL.SYS is not found during sys e:, but this is real progress.
The reason for looking at F: was that I saw the CD at E: and the ASElabs intrsutrctions had F: listed.
Thanks again.
Groeten,
Frank
Quoted 12 lines · Bart Oldeman
Quoted 2 lines · Frank Jansen
device:
/dev/sdb1type 3 partition# 1 h: -1 s: -1 t: -1 drive E:
E: HD3, Pri[ 1], CHS= 0-1-1, start= 0 MB, size= 476 MBIf this E: corresponds to your USB you should be able to see it after doing lredir del e:
in DOSEMU at the DOS prompt, because the CDROM default redirection put in autoexec.bat overrides it.Why were you looking at F: though?
Bart
FYI - overcame my last hurdle by performing sys e: from Z:
Thank you all!
Great tool
Quoted 33 lines · Frank Jansen
Bart,
thank you for your suggestion, as I now have proper access to the USB drive. There are still more hurdles as KERNEL.SYS is not found during sys e:, but this is real progress.
The reason for looking at F: was that I saw the CD at E: and the ASElabs intrsutrctions had F: listed.
Thanks again.
Groeten,
Frank
Quoted 4 lines · Bart Oldeman
Quoted 2 lines · Frank Jansen
device:
/dev/sdb1type 3 partition# 1 h: -1 s: -1 t: -1 drive E:
E: HD3, Pri[ 1], CHS= 0-1-1, start= 0 MB, size= 476 MBQuoted 8 lines
If this E: corresponds to your USB you should be able to see it after doing lredir del e:
in DOSEMU at the DOS prompt, because the CDROM default redirection put in autoexec.bat overrides it.Why were you looking at F: though?
Bart
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html