home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / ultrix / 8162 < prev    next >
Encoding:
Text File  |  1992-11-08  |  2.7 KB  |  74 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!news.iastate.edu!john
  3. From: john@iastate.edu (John Hascall)
  4. Subject: Re: Ultrix 4.2a crashed, PLEASE HELP!!!
  5. Message-ID: <BxDoLH.EKt@news.iastate.edu>
  6. Sender: news@news.iastate.edu (USENET News System)
  7. Organization: Iowa State University, Ames, IA
  8. References: <1992Nov8.005234.837@u.washington.edu> <1992Nov8.013153.27119@decuac.dec.com>
  9. Date: Sun, 8 Nov 1992 03:34:29 GMT
  10. Lines: 62
  11.  
  12. mjr@hussar.dco.dec.com (Marcus J. Ranum) writes:
  13. }>...
  14. }>...
  15. }>bin/ls size changed
  16. }>bin/mkdir size changed
  17. }>bin/cp size changed
  18. }>...
  19. }>...
  20.       If you still have the complete list of these then you know
  21.       which files were hosed and need to be replaced.
  22.  ...
  23. }that you can pirate a disk from, then you need to proceed as follows,
  24. }which requires only a tape drive.
  25. }
  26. }    The *easy* way, and the one I suggest, is to boot from
  27. }tape (or whatever your installation media is) and select the
  28. }"systems management" option.
  29.  
  30.    If you are lucky and your site has a mop-load server then
  31.         boot -f mop()
  32.         boot #/mop                  (# is usually 3 or 6 I think)
  33.    will boot from it (over the net) and you can then choose
  34.    "systems management".
  35.  
  36. }    Now you have a couple of options. If you've got an existing
  37. }ULTRIX machine that is up and running, I suggest you get a copy of
  38. }"tar" from it. I don't *THINK* the standalone system has "tar". 
  39. }(the standalone system is all a root filesystem in a RAM disk, and
  40. }has not got a lot of room to waste). The way to do that is to just
  41. }get onto a working machine, mount a tape, and use dd to copy the
  42. }executable to tape, then copy it back onto the system you're
  43. }trying to repair.
  44.  
  45.     Again, if you have a another machine up and running on the net,
  46.     then you can goto that machine and add "hosed.machine.name root"
  47.     to /.rhosts and then on your hosed machine:
  48.  
  49.        /bin/hostname hosed.machine.name
  50.        /etc/ifconfig ln0 `/bin/hostname` up
  51.        /bin/rsh ok.machine.name cat /bin/tar > /bin/tar
  52.        /bin/chmod a+x /bin/tar
  53.  
  54. and, voila, you have tar (other handy tools can be gotten the same way).
  55. Much faster than dinking around with tapes if you can do it.  If you
  56. have a tape drive you can follow mjr's instructions (if not, you
  57. can use something like:
  58.  
  59.       cd /mnt/usr/users
  60.       /bin/tar cf - . | rsh ok.machine.name "(cd /some/place; tar xpf -)"
  61.  
  62. Every time I see a mangled disk, I am ever so thankful that:
  63.  
  64.     (a) most of our workstations are dataless
  65.     (b) we have a mop-server machine
  66.  
  67. Good Luck,
  68. John
  69. -- 
  70. John Hascall                   ``An ill-chosen word is the fool's messenger.''
  71. Systems Software Engineer
  72. Project Vincent
  73. Iowa State University Computation Center  +  Ames, IA  50011  +  515/294-9551
  74.