Konfigurace DOSEMU

Marek Fikera fikera na informatics.muni.cz
Čtvrtek Červenec 31 12:03:40 CEST 1997


V poslednim dopise Jiri Stary pise :
>    Ahoj,
> 
>   existuje nejaky rozumny zpusob, jak prinutit DOSEMU
>   (XDOS), aby videl i dalsi logicke (dosovske) disky nez
>   jenom tu z ktere bootuje ? Lze to provest nejakym zasahem
>   do /etc/dosemu.conf ? Tuto informaci se mi nepodarilo
>   vyhledat.
> 
>   Popis stroje:
> 
>   FD1: floppy a:
>   FD2: floppy b:
>   HD1: primary partition MS-DOS c:
>   HD2: primary partition MS-DOS d:
>   HD1: extended partition MS-DOS
>              - logical disk e:
>              - logical disk f:
>              - logical disk g:
>   HD1: linux partition
>   HD1: linux swap partition
>   CD1: disk h:
> 
>  Pozn.:
>   a) disk C: - MS-DOS - odtud bootuje i DOSEMU (XDOS)
>   b) linux Red Hat 4.2
>   c) z DOSEMU (XDOS) vidim pouze dosovske A: a C:
> 
>  Za odpovedi dekuji.
napr:

disk { partition "/dev/hda1" readonly } #dos c ?
disk { partition "/dev/hdb1" readonly } #dos d
disk { partition "/dev/hda6" readonly } #dos e
disk { partition "/dev/hda7" readonly } #dos f
disk { partition "/dev/hda8" readonly } #dos g

najdete to v /etc/dosemu.conf
[..]
#******************* HARD DISKS ******************************************
#
# !!WARNING!!: DAMAGE MIGHT RESULT TO YOUR HARD DISK (LINUX AND/OR DOS)
# IF YOU FIDDLE WITH THIS SECTION WITHOUT KNOWING WHAT YOU'RE DOING!
#
# QuickStart:
#    The best way to get started is to start with a boot floppy, and set
#    "bootA" above in the configuration.  Keep using the boot floppy
#    while you are setting this hard disk configuration up for DOSEMU,
#    and testing by using DIR C: or something like that.
#    If you want DOSEMU to be able to access a DOS partition, the
#    safer type of access is "partition" access, because "wholedisk"
#    access gives DOSEMU write access to a whole physical disk,
#    including any vulnerable Linux partitions on that drive!
#
#    !!! IMPORTANT !!!
#    You must not have LILO installed on the partition for dosemu to boot off.
#    As of 04/26/94, doublespace and stacker 3.1 will work with wholedisk
#    or partition only access.  Stacker 4.0 has been reported to work with
#    wholedisk access.
#
#    Please read the documentation in the "doc" subdirectory for info
#    on how to set up access to real hard disk.
#
#    "image" specifies a hard disk image file.
#    "partition" specifies partition access, with device and partition number.
#    "wholedisk" specifies full access to entire hard drive.
#    "readonly" for read only access.  A good idea to set up with.
#    "bootfile" to specify an image of a boot sector to boot from.

[..]

-- Marek
 

 --------   
/   M$   \
| Windows |
|         |     Marek  'Steve' Fikera    student of Masaryk University
|  R.I.P  |     mailto:fikera na fi.muni.cz
|  1996   |     http://www.fi.muni.cz/~fikera/
___________




Další informace o konferenci Linux