Re: acpi S4 resume partition

From: Daniel O'Connor <doconnor_at_gsoft.com.au>
Date: Fri, 16 Jan 2004 21:11:55 +1030
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
Received on Fri Jan 16 2004 - 01:42:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:38 UTC