Subject: Re: swap partition
To: None <ender@macbsd.com, port-mac68k@netbsd.org>
From: David Dahl <david@ddahl.com>
List: port-mac68k
Date: 03/06/2000 12:38:47
On 3/6/00 at 10:27 AM, cwood@ichips.intel.com (Colin Wood) wrote:

> David Dahl wrote:
> > hello:
> > 
> > i set up a spare Q840av with 1.4.1. i put my swap partition on my scsi O 
> drive,
> > anbd the rest of the install on my scsi 4 drive. for some reason, i cannot
get
> > the os to see and use the swap partition.
> 
> if you do a 'disklabel sd0', what do you get back?
> 
5 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  a:   100076     1201        HFS                        # (Cyl.    4*- 389*)
  b:    98073   381277       swap                        # (Cyl. 1466*- 1843*)
  c:   479350        0     unused        0     0         # (Cyl.    0 - 1843*)
  d:   280000   101277        HFS                        # (Cyl.  389*- 1466*)
  e:    55285   424065       swap                        # (Cyl. 1631*- 1843*)
disklabel: boot block size 0
disklabel: super block size 0


> > i tried specifically setting it up with the booter, to no avail.
> 
> you need to change /etc/fstab to add the swap partition, i believe.  by
> default, the kernel assumes that swap is on the 'b' partition of the same
> disk as your root partition, so you need to update the fstab to tell it
> where to look.  you could also compile your own kernel and nail down the
> swap partition, but that's probably unnecessary.

i forgot to mention that i did that as well, and i messed up my machine so bad
that is booted into single user mode.

 
> what's ePerl?  that's a new one :-)
> 

embedded perl.  perl scripting ion the same mode as JSP or ColdFusion.

===================
david l dahl
http://www.ddahl.com
web applications
virtual hosts
database design
QuickTime Streaming