repartitioning

Dave Wells dwells at Apple.COM
Wed May 31 12:21:03 AEST 1989


In article <4085 at emory.mathcs.emory.edu> arnold at mathcs.emory.edu (Arnold D. Robbins {EUCC}) writes:
>I now have the (mis)fortune to have a mac-ii with 1.1 on my desk.  I noticed
>in HD Setup that the swap partition is right next to the SASH Partition on
>the disk.  Can I use HD Setup to steal a meg or so of the swap space
>without having to do anything under A/UX?  Will cutting down my swap from
>the standard 14 or so Meg by one meg make that much difference?  I am hoping
>that by stealing from the swap space, I can avoid backing up and repartitioning
>under A/UX.
>I have 5Meg of core, er, *RAM*, in my machine, if that matters.

Yes, you can steal some space from swap, but use care.  You'll have to wipe
out both the sash and the swap partitions and tell the A/UX kernel that its
playground has shrunk.

My apologies if the following sounds a little too simplistic...

a) Back up your sash partition.  It's only 3 floppies worth.
b) Boot from a disk with HD SC Setup ("Utilities 1" or whatever).
c) Make sure the proper drive is selected and click the partition button.
d) Click the "Custom" button.
e) Select and remove both the swap and MacOS partitions.
f) Create new partitions of the desired sizes.  Do not make the swap partition
   smaller than your physical RAM, 5MB in your case.  (I've used 7MB
   comfortably on systems that weren't doing lots of compiles.)
g) Click "Done" and "Quit."  You should now have your new "sash partition"
   visible on the desktop.
h) Restore everything you backed up earier and start A/UX.
i) Use kconfig to update the kernel.  Type "kconfig -n /unix [return]".
   At the blank line type "SWAPCNT=size [return]" where size equals the
   number of KB you allocated to the swap partition times 2. (For 7MB this
   would be 14336.)  Type ctrl-d.
j) Shutdown (if needed) and reboot (or powerdown) and you're done.


-Dave

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
           Dave Wells, Apple Computer, Inc.  MS: 37-O  (408) 974-5515
          Mail: dwells at apple.com or AppleLink d.wells or GEnie D.WELLS
 These opinions may be nothing more than the ramblings of a fatigued tinkerer
                         -=-=-=-=-=-=-=-=-=-=-=-=-
 There's one big difference between genius and stupidity.  Genius has limits.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the Comp.unix.aux mailing list