home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / sysv386 / 17397 < prev    next >
Encoding:
Text File  |  1992-12-14  |  4.2 KB  |  80 lines

  1. Newsgroups: comp.unix.sysv386
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!mcdchg!chinet!ignatz
  3. From: ignatz@chinet.chi.il.us (Dave Ihnat)
  4. Subject: Re: How to get Merge to see DOS partition?
  5. Message-ID: <Bz9ptE.I7H@chinet.chi.il.us>
  6. Summary: I went through this dance, too.  It works, with work...
  7. Sender: Dave Ihnat
  8. Organization: Chinet - Public Access UNIX
  9. References: <1992Dec9.165909.19109@sbcs.sunysb.edu>
  10. Date: Mon, 14 Dec 1992 21:17:37 GMT
  11. Lines: 67
  12.  
  13. In article <1992Dec9.165909.19109@sbcs.sunysb.edu> shane@cs.sunysb.edu (Shane Bouslough) writes:
  14. >I have Dell UNIX on a disk which also has a bootable DOS
  15. >partition. According to the Merge docs, the DOS partition
  16. >should appear as e:. Unfortunately it doesn't.
  17.  
  18. Nope.  Not as it comes from the installation scripts.
  19.  
  20. >I created the DOS partition after I installed UNIX, so I
  21. >can see how this would be a problem. However, I can't seem
  22. >to find a way to get Merge to find it now. dosadmin seems
  23. >to be of no help. Any ideas? Sorry if this is in the Merge
  24. >docs, I couldn't find it.
  25.  
  26. I went around a couple of times with Dell support, but they don't use this
  27. much, I gather, since I got a couple of answers that turned out to be incorrect.
  28. (Specifically, that /dev/dsk/0s5 is recognized as a special DOS partition
  29. by the disk driver.  Behavior on the (finally) working system belies this
  30. assertion.)  No problems--they tried to help, but I didn't want to keep knocking
  31. on their door on what was, essentially, a solvable problem.
  32.  
  33. You state that you created the DOS partition after you installed UNIX, so I
  34. assume that you reserved some disk space for it.  (Otherwise...naw, let's not
  35. go into that.)  In my case, I created the DOS partition on installation of
  36. the DELL system; from your behavior, it is likely that the same problem
  37. occurs in either case.  There is never a valid entry in /etc/partitions
  38. for the DOS partition.  That is, for the kernel to interpret /dev/dsk/0s5
  39. properly, there must be an entry in /etc/partitions (or, more appropriately,
  40. the VTOC written from that file) to tell it the starting and ending locations
  41. of this partition on the full physical disk.  You have to calculate these
  42. values and create that entry in the partition table.  Another caveat here--
  43. the disk0 (or disk1) total size doesn't reflect the DOS partition; ONLY the
  44. total of the UNIX-utilized partitions.  Thus, the total space on your disk
  45. will consist of the sum of the UNIX partitions, which should be reflected
  46. in the totals given by the disk[01...] partitions file entry; plus, any
  47. DOS partitions you've reserved.  The implication from this discovery was
  48. that I should be able to support multiple DOS partitions, but I've not
  49. tried this.
  50.  
  51. Finally, there does seem to be some strangeness in the way MERGE uses
  52. its /etc support files (dosapp.dev,dosenv.dev) Although entries are there
  53. for both the mouse (on COM1) and /dev/dsk/dos--which is just another special
  54. device with the same major,minor numbers as /dev/dsk/0s5--neither are
  55. automatically available when you crank up DOS; to get either (or both), the
  56. command line options must be explicitly given on startup:
  57.  
  58.     dos +adcom1 +ae:=/dev/dsk/0s5
  59.  
  60. More, although /dev/dsk/dos and /dev/dsk/0s5 have the same major,minor numbers,
  61. I can't access the partition from /dev/dsk/dos; it has to be the 0s5 special
  62. device.  This latter may well be a configuration problem, however, as none of
  63. the MERGE manuals are available from Dell, and the online manuals are one rev
  64. out of date.  (Any ideas how to get the latest version of the manuals?)
  65.  
  66. Finally, be careful; there are some internal notes and comments about the
  67. MS-DOS FDISK utility zonking the partition table WRT the format that Dell
  68. expects.  I experimented a bit with this, and didn't encounter any problems,
  69. but caveat utilitor.  In any case, while it takes a little work with a
  70. calculator, the alternate boot partition does work well.  I can boot from
  71. either partition, and access the DOS partition under MERGE with no problems.
  72. Remember to do a 'dd' backup of that partition when you do your normal Unix
  73. system backups, unless you intend to do a DOS-level backup...
  74.  
  75. Cheers,
  76. --
  77.         Dave Ihnat
  78.         ignatz@homebru.chi.il.us (preferred return address)
  79.         ignatz@chinet.chi.il.us
  80.