home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / bsd / 5118 < prev    next >
Encoding:
Text File  |  1992-09-04  |  1.5 KB  |  45 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!sun-barr!ames!sgi!rigden.wpd.sgi.com!rpw3
  3. From: rpw3@rigden.wpd.sgi.com (Rob Warnock)
  4. Subject: Re: 386BSD asboot problems (bug?)
  5. Message-ID: <pe4qfdg@sgi.sgi.com>
  6. Sender: rpw3@rigden.wpd.sgi.com
  7. Organization: Silicon Graphics, Inc.  Mountain View, CA
  8. Date: Fri, 4 Sep 1992 13:09:49 GMT
  9. Lines: 34
  10.  
  11. cchase@cs.cornell.edu (Craig Chase) writes:
  12. +---------------
  13. | 1) has anyone else had trouble succesfully labeling a SCSI disk with
  14. |    DOS as the first partitions (and 386BSD after)?
  15. +---------------
  16.  
  17. Yes. What I do is manually patch the binary image on disk of "asboot" to
  18. have the right sector offset for the "a" partition. Ugly, but it works.
  19. (I do the patching with MS-ODS's "DEBUG", typing/executing assembler
  20. to do "INT 13" reads/writes. Now that *is* UG-lee!!!)
  21.  
  22. In the 0.1 asboot, the location to patch is 0x60 bytes into the file
  23. (into relative block #0 of the partition). At bytes 0x60-63 put the
  24. *BIG*Endian sector number of that same sector (first sector of the
  25. partition). Then everything will work.
  26.  
  27. +---------------
  28. | 3) Have I encountered a bug in disklabel, asboot, bootas, or...
  29. +---------------
  30.  
  31. It's a bug in "asboot", or if you prefer, in the process which installs
  32. the image of "asboot" on the disk (i.e., "disklabel"). One or the other...
  33.  
  34. I'm not sure yet what the cleanest solution would be...
  35.  
  36.  
  37. -Rob
  38.  
  39. -----
  40. Rob Warnock, MS-9U/510        rpw3@sgi.com
  41. Silicon Graphics, Inc.        (415)390-1673
  42. 2011 N. Shoreline Blvd.
  43. Mountain View, CA  94043
  44.  
  45.