home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!math.fu-berlin.de!fauern!uni-erlangen.de!lte.e-technik.uni-erlangen.de!zie
- From: zie@lte.e-technik.uni-erlangen.de (Thomas Ziegler)
- Newsgroups: comp.os.linux
- Subject: dosemu0.4: Direct Access to DOS-Partitions
- Date: Wed, 27 Jan 1993 16:26:59 GMT
- Organization: Technische Elektronik, University of Erlangen, Germany
- Message-ID: <1k6d4jEINNc73@uni-erlangen.de>
- NNTP-Posting-Host: sim.e-technik.uni-erlangen.de
- Lines: 51
-
- After increasing the size from hdimage, the virtual c: drive I
- tried to give direct access to the existing Dos-partitions on the
- first physikal drive (there are two more SCSI-Drives with ST01).
- Following the README everything should work well, but it does not.
- The command 'd:' is answered with 'Invalid drive specification' (dos5.0).
- Here is what I did.
- /etc/fdisk reports:
-
- Disk /dev/hda: 6 heads, 17 sectors, 820 cylinders
- Units = cylinders of 102 * 512 bytes
-
- Device Boot Begin Start End Blocks Id System
- /dev/hda1 * 1 1 196 9987+ 1 DOS 12-bit FAT
- /dev/hda2 197 197 820 31824 81 Linux/MINIX
-
- According tho this I changed emu.c:
-
- #define HDISKS 2 /* maximum 2 */
- struct disk hdisktab[HDISKS] = {
- {"hdimage", 0, 17, 4, 100},
- #if HDISKS == 2
- {"/dev/hda1", 1, 17, 6, 195},
- /* ^ readonly */
- /* ^ sectors */
- /* ^ heads */
- /* ^ cylinders */
- #endif
- };
-
- The privilleges for /dev/hda are:
-
- brw-r--r-- 1 bin bin 3, 0 Mar 19 1992 /dev/hda
- brw-rw-r-- 1 bin bin 3, 1 Mar 19 1992 /dev/hda1
- brw------- 1 bin bin 3, 2 Mar 19 1992 /dev/hda2
-
- Linux is version 0.99 patchlever 4, the emulator was compiled with gcc2.3.3,
- I had to apply the patch recently posted to this newsgroup to avoid the
- segmentation fault since version 0.98p6 (if I remember it wright).
-
- I hope anybody could help me, or even tell me there experiences about
- direct HD-access (by email).
-
- Thomas
-
- BTW: This is for Mattias Lautner personaly:
- Ich habe versucht dich persoenlich per email zu erreichen. Diese
- konnte aber nicht zugestellt werden.
- informatik.uni-wuerzburg.de ist ein unknown host. Liegt das an
- Erlangen oder an Wuerzburg. Falls du mich per mail auch nicht
- erreichen kannst: Tel 09131-85-7200 ist meine Uni-Nummer.
-
-