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

Re: [rmh@aybabtu.com: [PATCH] Fail gracefuly when attempting to load 64-bit kFreeBSD on IA32 CPU]



On Fri, Oct 09, 2009 at 08:21:49PM +0200, Robert Millan wrote:
> 
> FYI

This should prevent amd64 kFreeBSD from crashing when running on ia32
CPU.  If you'd like a more user-friendly message, the cpuid command
can be used with scripting, e.g.:

  if cpuid --blah ; then
    echo "I don't like you!"
    read
    halt
  fi

either inside a menuentry or top of grub.cfg.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."


Reply to: