[comp.unix.aux] repartitioning

arnold@mathcs.emory.edu (Arnold D. Robbins {EUCC}) (05/31/89)

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 need just a little bit more room on the sash partition so that I can
use MacOS productively...

I have 5Meg of core, er, *RAM*, in my machine, if that matters.

Thanks for any advice,
-- 
Arnold Robbins -- Emory University Computing Center | Unix is a Registered
DOMAIN: arnold@unix.cc.emory.edu		    | Bell of AT&T Trademark
UUCP: gatech!emoryu1!arnold  PHONE: +1 404 727-7636 | Laboratories.
BITNET: arnold@emoryu1	     FAX:   +1 404 727-2599 |         -- Donn Seeley

dwells@Apple.COM (Dave Wells) (05/31/89)

In article <4085@emory.mathcs.emory.edu> arnold@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@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.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-