home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / aux / 4605 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  3.7 KB

  1. Path: sparky!uunet!usc!howland.reston.ans.net!spool.mu.edu!olivea!decwrl!hal.com!parlo.hal.COM!not-for-mail
  2. From: paul@hal.COM (Paul Sander)
  3. Newsgroups: comp.unix.aux
  4. Subject: Re: Restoring root partition dumps
  5. Message-ID: <1ilma6INNscf@parlo.hal.COM>
  6. Date: 9 Jan 93 05:03:02 GMT
  7. References: <1359@jagubox.gsfc.nasa.gov> <1ikofaINNrmm@parlo.hal.COM> <1362@jagubox.gsfc.nasa.gov>
  8. Organization: HaL Computer Systems, Inc.
  9. Lines: 82
  10. NNTP-Posting-Host: parlo.hal.com
  11.  
  12. In article <1362@jagubox.gsfc.nasa.gov> jim@jagubox.gsfc.nasa.gov (Jim
  13. Jagielski) writes:
  14. >paul@hal.COM (Paul Sander) writes:
  15. >
  16. >>In article <1359@jagubox.gsfc.nasa.gov> jim@jagubox.gsfc.nasa.gov (Jim
  17. >>Jagielski) writes:
  18. >
  19. >>>I think to do this right, you'd need to make the "backup" partition as a
  20. >>>/usr-type file system (using 'dp')... When you need to boot up with it,
  21. >>>use A/UX Startup's 'dp' to change it to 'Root&Usr' file system and change
  22. >>>your "real" Root file system to something else (/usr-type)...
  23. >>>
  24. >>>A/UX Startup should bootup from the backup partition.
  25. >
  26. >>Or, you can use Apple's HD setup to create more than one root partition
  27. >>and select the proper one from the A/UX Startup's Preferences menu.
  28. >
  29. >I doubt it... HD Setup will create the two file systems and give both of
  30. >them a slice # of 0... Thus, there would be no way for A/UX Startup
  31. >to know which slice0 to use. That's the reason for keeping the backup
  32. >and something like Free User (slice 3) and then resetting it to Root
  33. >(slice 0) only when needed.
  34.  
  35. Jim is correct, and I was in error when I claimed that Apple's HD setup
  36. program would create two root partitions.  It does not permit that.  However,
  37. I do believe that using dp and giving two partitions a name of "UNIX Root
  38. slice 0" and type "Apple_UNIX_SVR2" will work.  The A/UX startup program
  39. requires a slice (partition) number, so this is how it decides which slice0
  40. to use.  The boot and in_use flags have to be set properly, by the way.
  41.  
  42. As an aside:  I really do have two root partitions, but they are on two
  43. different disks.  I remember having major hassles with getting a small
  44. disaster recover partition built, but that turned out to be an HFS partition.
  45. I was able to get two of them to work; I created the two HFS partitions with
  46. the software provided with my disk, then using Apples software to create the
  47. A/UX partitions.  Now I have two bootable HFS partitions on one drive, and I
  48. can launch A/UX from either one.  And both can be mounted on the desktop
  49. under A/UX.
  50.  
  51. For the curious, this is how my backup root partition is configured:
  52.  
  53. DPM Index: 4
  54. Name: "UNIX Root slice 0", Type: "Apple_UNIX_SVR2"
  55. Physical: 40000 @ 200128, Logical: 40000 @ 0
  56. Status:
  57.         valid   alloc   in_use  not boot
  58.         read    write
  59. Slice 0 (clustered)
  60. Regular UNIX File System (1)
  61. Cluster:   0    Type: RFS       Inode: 1
  62. Made: [0] Wed Dec 31 16:00:00 1969
  63. Mount: [0] Wed Dec 31 16:00:00 1969
  64. Umount: [0] Wed Dec 31 16:00:00 1969
  65. No mount point
  66. No AltBlk map
  67.  
  68. And this is my normal boot root:
  69.  
  70. DPM Index: 3
  71. Name: "A/UX_Root", Type: "Apple_UNIX_SVR2"
  72. Physical: 307462 @ 101077, Logical: 307462 @ 0
  73. Status:
  74.         valid   alloc   not in_use      not boot
  75.         read    write
  76. Slice 0 (clustered)
  77. Regular UNIX File System (1)
  78. Cluster:   0    Type: RFS       Inode: 1
  79. Made: [0] Wed Dec 31 16:00:00 1969
  80. Mount: [0] Wed Dec 31 16:00:00 1969
  81. Umount: [0] Wed Dec 31 16:00:00 1969
  82. No mount point
  83. No AltBlk map
  84.  
  85.  
  86. Yeah, it looks strange; the real root partition that is mounted has the
  87. "no in_use" indicator.  This is the output of dp as invoked on slice 31
  88. on my disks.  Both of these partitions boot, by the way.
  89. -- 
  90. Paul M. Sander  (408) 379-7000  |  "If everything were easy, where would be
  91. HaL Computer Systems, Inc.      |   the challenge?"
  92. 1315 Dell Avenue                |
  93. Campbell, CA  95008  USA        |
  94.