*BSD News Article 13527


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!convex!convex!cs.utexas.edu!uunet!newsflash.concordia.ca!nstn.ns.ca!news.ucs.mun.ca!atto.engr.mun.ca!tony
From: tony@atto.engr.mun.ca (Anthony H Galway)
Subject: Re: Out of memory?
Message-ID: <tony.733204331@femto.engr.mun.ca>
Sender: usenet@news.ucs.mun.ca (NNTP server account)
Reply-To: tony@jeeves.engr.mun.ca
Organization: C-CAE, Memorial University of Newfoundland
References: <crt.732897369@tiamat.umd.umich.edu> <1993Mar23.160203.3825@coe.montana.edu> <1onqgc$smn@usenet.INS.CWRU.Edu>
Date: Sat, 27 Mar 1993 03:52:11 GMT
Lines: 35

ljo@r2d2.eeap.cwru.edu (L Jonas Olsson) writes:

>>
>>3)  Add a second disk with another swap partition, or figure out a way to
>>make your larger, but with only 1 disk, you'll probably have to dump most
>>of the data off, re-disklabel, then put itback.

>The easy way to do this is to tell your BIOS (for non-SCSI drives) that your
>hard drive has less cylinders than it actually has( You will use these
>cylinders for extra swap, beyond 5MB). Then run standard install,
>change BIOS back, and boot from the HD. You can then use disklabel to extend
>the swap prtition to include the extra cylinders. Reboot and you're done.
>For SCSI drives this will not work.

We are trying this on my machine at work, I want to try X and at present
only have 4MB Ram. Therefore with the way X is, the default 5MB is no
going to be enough. I have therefore put 12MB aside for swap, not much
but space is limited. I have initally formated a 100MB drive into 5MB dos
partition (I have another 100MB drive dedicated to dos), left 12MB for
swap and installed BSD on the remaining space. BSD then created the 5MB
swap file, and we want to add the remaining. I booted from a fixit floppy,
then tried using disklabel -e /dev/wd0a to add the extra cylinders of
space to the swap file, but everytime I saved the information, it just
ignored it.

Any ideas?

>> Jaye Mathisen, COE Systems Manager                (406) 994-4780

>	Jonas Olsson
--
Tony Galway                           Life is what happens while you're 
C-CAE                      |\_/|    making other plans.
Memorial University        (` ')
tony@jeeves.engr.mun.ca     |"|