grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grub Scripting


From: Isaac Dupree
Subject: Re: Grub Scripting
Date: Fri, 8 May 2009 09:30:55 -0400
User-agent: KMail/1.10.4 (Linux/2.6.27-11-generic; KDE/4.1.4; x86_64; ; )

Chris Umphress wrote:
> Hey,
>
> We have some computers that need a boot loader to self-destruct at the
> end of a school year. In order to accomplish this we would like to use
> Grub scripting. From what I have been able to find, the support is
> incomplete and we would have to write the code to self-destruct
> somehow.

I can think of a couple ways to do what you say:

- if there is a date/time command in GRUB, have the `grub.cfg` check the date 
and refuse to offer any booting options after that date (where I suppose the 
hardware-clock supplies that date)

- alternatively to "not booting", you could have it boot DBAN which will erase 
everything on all disks :-)

Or have a human manually boot the self-destruct option (which should require 
an administrator password probably)

(how do you expect to re-use these computers, if they have a nonfunctional 
boot-loader, by the way?)

-Isaac





reply via email to

[Prev in Thread] Current Thread [Next in Thread]