From: "Bruce Hill, Jr." <daddy@happypenguincomputers.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Can I do a one-time boot to non-default kernel in Lilo?
Date: Sun, 11 Mar 2012 23:35:33 -0400 (EDT) [thread overview]
Message-ID: <156100146.547497.1331523333471.JavaMail.open-xchange@email.1and1.com> (raw)
In-Reply-To: <20120312031601.GC25554@waltdnes.org>
On March 11, 2012 at 11:16 PM Walter Dnes <waltdnes@waltdnes.org> 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<G>. 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 <waltdnes@waltdnes.org>
>
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
next prev parent reply other threads:[~2012-03-12 3:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-12 3:16 [gentoo-user] Can I do a one-time boot to non-default kernel in Lilo? Walter Dnes
2012-03-12 3:35 ` Bruce Hill, Jr. [this message]
2012-03-13 8:30 ` Walter Dnes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=156100146.547497.1331523333471.JavaMail.open-xchange@email.1and1.com \
--to=daddy@happypenguincomputers.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox