From owner-freebsd-current@FreeBSD.ORG Fri Jan 16 08:49:13 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4719416A4CE for ; Fri, 16 Jan 2004 08:49:13 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6EA443D75 for ; Fri, 16 Jan 2004 08:49:09 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i0GGn7S4006298; Fri, 16 Jan 2004 10:49:07 -0600 (CST) (envelope-from dan) Date: Fri, 16 Jan 2004 10:49:07 -0600 From: Dan Nelson To: "Daniel O'Connor" Message-ID: <20040116164907.GD53031@dan.emsphone.com> References: <000c01c3da44$8a6d5c40$0202a8c0@karputer> <20040116075124.GA988@laptop.6bone.nl> <200401162111.55979.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200401162111.55979.doconnor@gsoft.com.au> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.5.1i cc: freebsd-current@freebsd.org cc: toxa Subject: Re: acpi S4 resume partition X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2004 16:49:13 -0000 In the last episode (Jan 16), Daniel O'Connor said: > 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 So S4BIOS does only the first half of the job, or is there some magic BIOS/ACPI call FreeBSD can do to make this happen automatically? I can't believe Windows modifies the MBR on suspend... -- Dan Nelson dnelson@allantgroup.com