Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1M2Ww7-0004m7-Po for mharc-grub-devel@gnu.org; Fri, 08 May 2009 16:44:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M2Ww6-0004lk-3x for grub-devel@gnu.org; Fri, 08 May 2009 16:44:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M2Ww1-0004lP-9V for grub-devel@gnu.org; Fri, 08 May 2009 16:44:49 -0400 Received: from [199.232.76.173] (port=41640 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M2Ww1-0004lM-56 for grub-devel@gnu.org; Fri, 08 May 2009 16:44:45 -0400 Received: from gateway15.websitewelcome.com ([69.41.245.9]:54717) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1M2Ww0-0001vx-It for grub-devel@gnu.org; Fri, 08 May 2009 16:44:44 -0400 Received: (qmail 12830 invoked from network); 8 May 2009 20:47:53 -0000 Received: from gator297.hostgator.com (74.53.228.114) by gateway15.websitewelcome.com with SMTP; 8 May 2009 20:47:53 -0000 Received: from [65.61.115.34] (port=13442 helo=svelte.localnet) by gator297.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1M2Wvy-00014S-U7; Fri, 08 May 2009 15:44:43 -0500 From: Colin D Bennett To: grub-devel@gnu.org Date: Fri, 8 May 2009 13:44:39 -0700 User-Agent: KMail/1.11.2 (Linux/2.6.28-11-generic; KDE/4.2.2; x86_64; ; ) References: <1f29b8940905080048i24f0b441w151f915ce81ed8aa@mail.gmail.com> <200905080930.55237.ml@isaac.cedarswampstudios.org> <1f29b8940905081052o2dfe4973hf2eb671d4e72c95e@mail.gmail.com> In-Reply-To: <1f29b8940905081052o2dfe4973hf2eb671d4e72c95e@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905081344.39769.colin@gibibit.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator297.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gibibit.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Chris Umphress Subject: Re: Grub Scripting X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2009 20:44:50 -0000 Chris Umphress wrote on Friday 08 May 2009: > We'll overwrite the boot loader and restore the partition table if it > was destroyed. That would be handled from a custom, bootable live-CD > or thumbdrive. This is going to be used on laptops that are lent out > and it is one more way that we can try to force people to return them > without sending the police out. This is why we need it automated. It seems like just disabling the GRUB boot menu entries would be a better method than actually wiping the MBR/partition table/etc. A somewhat robust way (so that it's not trivial for a user to set back the BIOS date after the system has locked them out) would be to set a flag in the GRUB boot partition that indicates the system is to be locked down. Then whenever that flag is set, instead of using the normal boot setup, your GRUB script displays a message to the user like "Your usage period of this computer has expired. Please return it to [your org. here]." Regards, Colin