home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / bsd / 4792 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  6.9 KB

  1. Path: sparky!uunet!usc!isi.edu!allard
  2. From: allard@isi.edu (Dennis Allard)
  3. Newsgroups: comp.unix.bsd
  4. Subject: whereis /tmp/install.src0?
  5. Message-ID: <22278@venera.isi.edu>
  6. Date: 28 Aug 92 00:40:21 GMT
  7. Sender: news@isi.edu
  8. Reply-To: allard@isi.edu (Dennis Allard)
  9. Distribution: world
  10. Organization: USC Information Sciences Institute
  11. Lines: 192
  12.  
  13. ==================================
  14. Short version of my question:
  15. /tmp/install.src0 evaporated.  How can I recreate it?  I still
  16. have all the src01.* files in /tmp.  And the extraction went
  17. completely through it's first phase.  It now simply needs to
  18. execute /tmp/install.src0, I believe.
  19.  
  20. ==================================
  21. (very) Long version of my question:
  22. I know, I know, I'll have to achieve minor guru status
  23. before I can even in most minor ways diverge from the
  24. INSTALL.NOTES script while trying to bring up 386BSD.
  25. Once I do become minor guru, mysteries such as the
  26. disappearance of 'loadfd', which seems so wonderfully
  27. present when you first do install, but mysteriously
  28. vanishes after you install the binaries and reboot,
  29. will all become transparently clear to me.  (I know
  30. that loadfd is some kind of shell macro buried in
  31. some dude.profile file somewhere.  I found it.  But
  32. only minor gurus know when the dude.profile file
  33. gets incarnated.  It isn't at reboot to hard
  34. drive time.)  And please, 386BSD, stop telling me to
  35. not log in as root and do su.  That is an EXTREMELY
  36. cryptic thing to say to a non minor guru.  The only
  37. thing that seems to work is to login as root, so
  38. that's what I'll do until my caste changes.
  39.  
  40. /tmp/install.src01 not only disappeared (Elvis?), but
  41. jeeeees, 386BSD, you didn't even give it a decent burial.
  42. No amount of greps, finds, and whereis's can turn up anything
  43. having to do with install.src01.  Well, ok, I haven't
  44. examined every byte of every file yet.
  45.  
  46. Here's how the mystery occurred.  I installed the bin01 distribution
  47. from floppies.  I started to install src01.  I was informed that
  48. src01.00 was MISSING.  Whoops, forgot to put that one on the floppy.
  49. Try counting from 00, as in ZERO, next time instead of from 01, as in
  50. ONE.  Drive over to the lab.  Sure, it's almost 1AM, but hell, this is
  51. fun!  Log onto the Sparc, insert the floppy, mcopy SRC01.00 a:, eject,
  52. outta there, back to pc land.  My pc is there purring, with the
  53. complaint about src01.00 missing still on the screen.  OK, mread it
  54. in, and extract src01 ... (a little while later) Too many files open!?
  55. Am I in MS-DOG?  I thought this was Unix.  Well, ok, every system
  56. has to have some limits I guess.  But ever here of gradual degradation?
  57.  
  58. OK, now where is that faq about too many files and whatnot?
  59. Dum de dum..., oh yes, it's in my MS-DOG file system.  I don't want
  60. to boot to MS-DOG, for fear of losing BSD installation context, so:
  61.  
  62. # /usr/distbin/tip /dev/com2  (which I was minor guru enough to set up
  63.                                at 9600 baud)
  64. ATM1
  65. ATDT555-1234
  66. ... dial in to my workstation, look at the faq ...
  67. I see.  Something about csh and setting the files limit ...
  68. ~^z
  69. # ps -a
  70. # kill -KILL <ps number for tip>
  71.  
  72. Back to 'reality'.  Problem is, how to set the files limit thing.
  73. Even faqs for unix are cryptic, naturally.  Hmmm...
  74. # csh
  75. Hey it works.  What do you know!
  76. ok,
  77. # man cshrc
  78. ... VOILA!!!! Got the answer:
  79. # limit
  80. (just limit, with no args) shows you all kinds of interesting things.
  81. # limit files 1024
  82. No, maybe that's too big.  Let's not push things.
  83. # limit files 256
  84.  
  85. I decide, at this time, to start over.
  86.  
  87. 01:30 AM
  88. rebooted to TINYBSD floppy. (After turning off my pc's turbo switch)
  89.  
  90. 01:36 AM
  91. ...
  92. # loadfd
  93. (Like I said, loadfd is present on TINYBSD, but evaporates later on)
  94.  
  95. 01:48 AM
  96. # extract bin01
  97. lot's of insertions of floppies ensue...
  98.  
  99. 01:56 AM
  100. installation of binary distribution is complete, (I've been here before,
  101. have you?)
  102.  
  103. I forget precisely what I did here, but I believe I rebooted to
  104. run off the just installed binary distribution. (is this where
  105. I go wrong, should I simply install EVERYTHING, bin01, src01,
  106. and etc01 distributions all at once, before I ever reboot?
  107.  
  108. Turn turbo switch back on.
  109. Reset button.
  110. login: root
  111. ...
  112. # cd /tmp
  113. # loadfd
  114. How annoying.  loadfd is missing.  loadfd has ceased to be.
  115.  
  116. 2:05 AM
  117. OK, fine.
  118. mread "a:*.*" .
  119. For every floppy in the src01 distribution set.  I'll do without loadfd,
  120. thank you.
  121.  
  122. 2:20 AM
  123. # extract
  124. How cute, again.  extract is also MISSING.  find / -name "extract*" turns
  125. up nothing.  Must be somewhere on the TINY BSD floppy.  OK, let's see...
  126. Now, I am clueless as to just what extract does.
  127.  
  128. So, ... it's time for minor guru tactics.
  129. # cd /
  130. # mv tmp tmp1
  131. (/tmp is erased by the system when you boot, so I'm not taking chances)
  132.  
  133. Put the TINY BSD floppy into the a: drive.
  134. Extract must be somewhere, right?
  135. Mount the TINY BSD floppy in /mnt:
  136. # mount /dev/fd0a /mnt
  137. # cd /mnt
  138. No amount of find / -name "extract" shows up anything but I notice the
  139. /INSTALL.NOTES comments about /etc/baseutils.cpio.Z now aka
  140. /mnt/etc/baseutils.cpio.Z..
  141.  
  142. So, for safe keeping and safe experimental do-it-myself 'extraction':
  143. #mkdir /junky
  144. # cp /mnt/etc/baseutiles.cpio.Z /junky/baseutiles.cpio.Z
  145.  
  146. And, since zcpio is one of the mysteriously disappeared tools on the hard
  147. drive, I resort to using uncompress and cpio myself, hence raising my caste
  148. one  notch.
  149. # cd /junky
  150. # uncompress baseutiles.cpio.Z
  151. # cpio -idv baseutiles.cpio
  152.  
  153. That was a mistake.
  154. Should have been: # cpio -idv < baseutiles.cpio, but I don't
  155. know this yet.  System appears to hang.  I ^C and try to kill -9 it.
  156. System temporarily comes to life, but then gives me login:,
  157. stupidly sitting there waiting for me to enter my name, having surely
  158. long forgotten that I was in the midst of attempting a cpio operation.
  159. Oh hell, I press the RESET button.
  160. ...
  161. System sees file inconsistency and suggests I do fdsk.  Sounds scary,
  162. but the worst this entire episode can lead to is a disk reformat, so
  163. I use fdsk (spelling?) and just answer yes whenever it asks if it should
  164. do God knows what.  The system accepts my answers to fdsk and the
  165. reboot seems to succeed.  I am thankful I moved /tmp to /tmp1.  Wonder
  166. if anything is still there.
  167.  
  168. # cd /tmp1
  169. # ls
  170. ...a plethora of src01.* files appear before my eyes, dazzling me with
  171. their brilliace...
  172. # rm /tmp
  173. # mv /tmp1 /tmp
  174.  
  175. Are you still with me?  We're near the end.
  176.  
  177. 03:30 AM
  178. # cd /junky (also still there)
  179. # cpio -idv < baseutiles.cpio
  180. That worked!  All kinds of stuff now exists below my /junky directory,
  181. which I had created to do the cpio in so as to not clutter up other
  182. more bonafide directories, including /junky/extract.  Good.
  183.  
  184. # mv /junky/extract /tmp/extract
  185. # cd /tmp
  186. # extract;date
  187.  
  188. 4:49AM
  189. I am asleep, but, thanks to date, I know this happened at 4:49:
  190. On the screen it says, roughly:
  191.  
  192. Final installation
  193. can't open /tmp/install.src0
  194. extract: ...installation script of distribution failed
  195.  
  196. So, I need install.src0, and am clueless as to who put it in /tmp
  197. and why it isn't there now.
  198.  
  199. Can anyone help me on this?
  200.  
  201. to be continued...
  202. Dennis Allard
  203. allard@isi.edu
  204. (310)399-4740
  205.