From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S1fDy-0002JP-K7 for garchives@archives.gentoo.org; Sun, 26 Feb 2012 14:37:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F21FAE0F98; Sun, 26 Feb 2012 14:37:04 +0000 (UTC) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) by pigeon.gentoo.org (Postfix) with ESMTP id F2B52E0E22 for ; Sun, 26 Feb 2012 14:35:24 +0000 (UTC) Received: by eaak14 with SMTP id k14so1687139eaa.40 for ; Sun, 26 Feb 2012 06:35:24 -0800 (PST) Received-SPF: pass (google.com: domain of emailgrant@gmail.com designates 10.14.132.203 as permitted sender) client-ip=10.14.132.203; Authentication-Results: mr.google.com; spf=pass (google.com: domain of emailgrant@gmail.com designates 10.14.132.203 as permitted sender) smtp.mail=emailgrant@gmail.com; dkim=pass header.i=emailgrant@gmail.com Received: from mr.google.com ([10.14.132.203]) by 10.14.132.203 with SMTP id o51mr5697886eei.76.1330266924206 (num_hops = 1); Sun, 26 Feb 2012 06:35:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=5A3qffZyWMQr5X4EviqiV85UWAfwfxfhMRkscFR7hdM=; b=mAEo7ZEzO7FrYHJ8Euzps75L4aw5xRFQF2AzZ2t/1IXnbE9NN1YVHeTeoOkCPowb6T GU1qu0pBhvX41SBQV0ihlYWTk6smOGO7D9xaVKDMa3msmxIx9D6Q0Cq+yD6+UqG27LPc Kg3OjoLUM074Bnkw1laV2GTVIedB/gJtjbjiM= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.14.132.203 with SMTP id o51mr4321357eei.76.1330266924015; Sun, 26 Feb 2012 06:35:24 -0800 (PST) Received: by 10.213.113.148 with HTTP; Sun, 26 Feb 2012 06:35:23 -0800 (PST) In-Reply-To: <20120226141908.4213e10e@weird.wonkology.org> References: <20120226141908.4213e10e@weird.wonkology.org> Date: Sun, 26 Feb 2012 06:35:23 -0800 Message-ID: Subject: Re: [gentoo-user] Re: Safe way to test a new kernel? From: Grant To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 005ab351-874b-4829-999a-f8f526773d4f X-Archives-Hash: 8da84c76ecf6fa9aa8151df8f868472e >> I get "Unrecognized command" from savedefault in grub: >> >> grub> savedefault --default=3D1 --once >> Error 27: Unrecognized command > > Strange. Maybe this is something inofficial, and not every Gurb > understands this? The documentation does not mention the --default option > I think. > >> I re-emerged grub with /boot mounted and ran grub-install but I get >> the same error. =A0Does anyone know how to fix this? =A0I'm on >> grub-0.97-r10. > > Have a look at 'info grub', 'Booting' -> 'Making your system robust', > especially section 4.3.2 'Booting fallback systems'. That's what I used i= n > order to test new kernels remotely. > > =A0 =A0 =A0 =A0Wonko I like that better. Where do you execute 'grub-set-default 0'? I did notice this: "In some newer versions of GNU/Linux, there is no /sbin/grub-set-default (eg. Debian 3.1, Fedora Core 4,5). While some distributions like Gentoo still has /sbin/grub-set-default" http://sidvind.com/wiki/GRUB:_Boot_another_OS_once#Method_1_.28preferred.29 BTW, is there a way to tell which grub entry I'm booted into, or am I best off examining the contents of /proc/config.gz? - Grant