Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 21:11:55 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Mark Santcroos <marks@ripe.net>, toxa <postfix@sendmail.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: acpi S4 resume partition
Message-ID:  <200401162111.55979.doconnor@gsoft.com.au>
In-Reply-To: <20040116075124.GA988@laptop.6bone.nl>
References:  <000c01c3da44$8a6d5c40$0202a8c0@karputer> <20040116075124.GA988@laptop.6bone.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 16 January 2004 18:21, Mark Santcroos wrote:
> > it boots into new session, with "partitions was unproperly unmounted"
> > errors.
>
> This looks good. However, when you power your machine on again, you have
> to tell it to boot from the suspend partition, and not from your normal
> boot partition.
> This is at least how it works on my laptop (Dell).

I added some stuff to /etc/rc.suspend to run boot0cfg to change my default 
boot partition (and to /etc/rc.resume to change it back to FreeBSD)

Basically boot0cfg -s X /dev/ad0

I also used..
vidcontrol -s 1 </dev/ttyv0 
and
vidcontrol -s 9 </dev/ttyv0

to prevent video corruption on suspend.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401162111.55979.doconnor>