home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / aux / 4584 < prev    next >
Encoding:
Text File  |  1993-01-09  |  1.7 KB  |  39 lines

  1. Newsgroups: comp.unix.aux
  2. Path: sparky!uunet!think.com!yale.edu!ira.uka.de!Germany.EU.net!ubrinf!thomas
  3. From: thomas@mathematik.uni-Bremen.de (Thomas Eberhardt)
  4. Subject: Re: Restoring root partition dumps
  5. Message-ID: <thomas.726597219@mathematik.uni-Bremen.de>
  6. Sender: news@informatik.uni-bremen.de (NEWS Service)
  7. Nntp-Posting-Host: 134.102.232.14
  8. Organization: Univ. Bremen, Informatik
  9. References: <1357@jagubox.gsfc.nasa.gov> <1ikdchINNheo@transfer.stratus.com> <1359@jagubox.gsfc.nasa.gov> <1ikofaINNrmm@parlo.hal.COM> <1362@jagubox.gsfc.nasa.gov>
  10. Date: Sat, 9 Jan 1993 16:33:39 GMT
  11. Lines: 26
  12.  
  13. jim@jagubox.gsfc.nasa.gov (Jim Jagielski) writes:
  14.  
  15. >I doubt it... HD Setup will create the two file systems and give both of
  16. >them a slice # of 0... Thus, there would be no way for A/UX Startup
  17. >to know which slice0 to use. That's the reason for keeping the backup
  18. >and something like Free User (slice 3) and then resetting it to Root
  19. >(slice 0) only when needed.
  20.  
  21. I use kconfig(1m) to configure the kernel on my emergency file system
  22. to explicitly use the emergency file system as the root & pipe device.
  23. For example, if the emergency file system resides on a hard disk with SCSI
  24. ID 2 and the emergency file system is slice 3, use (from A/UX Startup):
  25.  
  26. kconfig -n (2,0,3)/unix
  27. ROOTDEV=0x1A03
  28. PIPEDEV=0x1A03
  29. <ctrl>d
  30. launch -nv (2,0,3)/unix
  31.  
  32. The formula for the device number is 0x1800 + (SCSI-ID << 8) + slice, i.e.
  33. (major << 8) + minor of the device files in /dev/dsk.
  34. --
  35. thomas@mathematik.uni-Bremen.de |Centrum fuer Complexe Systeme & Visualisierung
  36. Thomas Eberhardt                |Universitaet Bremen, FB 3, Postfach 330 440
  37. Koelner Str. 4, W-2800 Bremen 41|W-2800 Bremen 33, Germany
  38. Phone: +49 421 472527           |FAX: +49 421 218-4236, Office: 218-4823
  39.