Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel!munnari.oz.au!spool.mu.edu!sdd.hp.com!uakari.primate.wisc.edu!ames!sgi!rigden.wpd.sgi.com!rpw3 From: rpw3@rigden.wpd.sgi.com (Rob Warnock) Subject: Re: 386BSD asboot problems (bug?) Message-ID: <pe4qfdg@sgi.sgi.com> Sender: rpw3@rigden.wpd.sgi.com Organization: Silicon Graphics, Inc. Mountain View, CA Date: Fri, 4 Sep 1992 13:09:49 GMT Lines: 34 cchase@cs.cornell.edu (Craig Chase) writes: +--------------- | 1) has anyone else had trouble succesfully labeling a SCSI disk with | DOS as the first partitions (and 386BSD after)? +--------------- Yes. What I do is manually patch the binary image on disk of "asboot" to have the right sector offset for the "a" partition. Ugly, but it works. (I do the patching with MS-ODS's "DEBUG", typing/executing assembler to do "INT 13" reads/writes. Now that *is* UG-lee!!!) In the 0.1 asboot, the location to patch is 0x60 bytes into the file (into relative block #0 of the partition). At bytes 0x60-63 put the *BIG*Endian sector number of that same sector (first sector of the partition). Then everything will work. +--------------- | 3) Have I encountered a bug in disklabel, asboot, bootas, or... +--------------- It's a bug in "asboot", or if you prefer, in the process which installs the image of "asboot" on the disk (i.e., "disklabel"). One or the other... I'm not sure yet what the cleanest solution would be... -Rob ----- Rob Warnock, MS-9U/510 rpw3@sgi.com Silicon Graphics, Inc. (415)390-1673 2011 N. Shoreline Blvd. Mountain View, CA 94043