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 1S6w41-0002Y1-G9 for garchives@archives.gentoo.org; Mon, 12 Mar 2012 03:36:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 615B0E0923; Mon, 12 Mar 2012 03:36:35 +0000 (UTC) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by pigeon.gentoo.org (Postfix) with ESMTP id 3FE69E0923 for ; Mon, 12 Mar 2012 03:35:34 +0000 (UTC) Received: from oxusltgw00.schlund.de (oxusltgw00.lxa.perfora.net [172.19.206.3]) by mrelay.perfora.net (node=mrus4) with ESMTP (Nemesis) id 0MRoq9-1RvY4a1wIj-00TfNZ; Sun, 11 Mar 2012 23:35:33 -0400 Date: Sun, 11 Mar 2012 23:35:33 -0400 (EDT) From: "Bruce Hill, Jr." To: gentoo-user@lists.gentoo.org Message-ID: <156100146.547497.1331523333471.JavaMail.open-xchange@email.1and1.com> In-Reply-To: <20120312031601.GC25554@waltdnes.org> References: <20120312031601.GC25554@waltdnes.org> Subject: Re: [gentoo-user] Can I do a one-time boot to non-default kernel in Lilo? 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v6.20.0-Rev36 X-Provags-ID: V02:K0:Ny4dyLWc2ratiyTW2RZB3Zj0ytreqlnI2wXTQj8vcyk SM5nYtOGI4+5lZE05URNwOFwPdXBZ/TeHw88lG2rd+hm68hiZE uO4QQknw4di/D3Ybv7D5No6q9R9I9tIEdisfvzjqpQ8trh/ge3 Kx3Pt7g2g2iZDljnlKEaXrdJJkbgPptGNPJkVzv+34lVcZ/MP1 4N3172hPtQc+GzHXDdHsuu/rxoi3NBhZvrq+iwGp/KsOeDa1/O 3GXH2TVT8XdIFpKcz9etG6mbZBwAqdAVyZvfVy0snI9RV6HVVl vknWAqYAMqypEtRiVkSvri6erSU5FVJpSUyrQ+hGxSfQuBP82G Ab4BmMqfQjPlok6W68K3AZntMvbkYnCuw+hgBTVpmUCs15rzwC RLy4D2n/UF5KQlby0K6DmMJRMt/iybJCKlYOg2uJhFNBBWg5jw 9Tnp9 X-Archives-Salt: 9e6e36f5-9494-4f1c-8532-7967102eba20 X-Archives-Hash: b8579fcaa399b7e6703a3a0475eacb0b On March 11, 2012 at 11:16 PM Walter Dnes wrote: > Not exactly your typical "remote machine", but the principle is the > same. I have a dedicated HTPC machine next to my 50" plasma, connected > by 50 feet of ethernet cable to my computer den. I use the TV as a > monitor when running NHL GameCenter Live. > > I have Lilo set up to "dual boot" between a "production" and an > "experimental" kernel. The first (i.e. default) boot option is the > "production" kernel. When I set up a new kernel, I try to always run it > as experimental. Even if the kernel panics, I don't. I boot back > into the production kernel, and try again. Once the experimental kernel > has run for a couple of weeks without problems, I copy it over the > production kernel. > > One problem... if I build a new kernel, is there a way to get the > "remote machine" to boot to the non-default experimental kernel just > once? Any future boots to default to production (unless its a restart > from hibernate). > > -- > Walter Dnes > Unless I misunderstand you, after you issue "lilo" to write to the MBR, then issue: lilo -R experimental where experimental is the name of the kernel image you want to boot. The R creates a one time command which it will use the next time you boot, then it will be erased. And give the kernel an append statement: append="panic=10" so that if the kernel does not boot, you get automatically rebooted back into the good kernel. -- Happy Penguin Computers >`) 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ 662-269-2706; 662-491-8613 support at happypenguincomputers dot com http://www.happypenguincomputers.com