acpi S4 resume partition

Daniel O'Connor doconnor at gsoft.com.au
Fri Jan 16 02:42:10 PST 2004


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



More information about the freebsd-current mailing list