From: Greg Lindahl <lindahl@cs.virginia.edu>
To: axp-list@redhat.com
Subject: Re: Rebooting machines remotely
Date: Wed, 21 Oct 1998 10:25:46 -0400 (EDT) [thread overview]
Message-ID: <199810211425.KAA23081@adder.cs.Virginia.EDU> (raw)
> I occasionally want to reboot a machine remotely, and have it use
> a different kernel than the current one. Is there a way to pass an
> argument line to MILO to take affect after the reboot?
>
> e.g.:
> `shutdown -r now "sda3:vmlinux-whatever.gz root=/dev/sda3"`
I didn't pay attention to see if anyone answered this and RedHat has
never put up the October archive (this is quality control? yeah
right), but:
The Debian folks are working on a MILO which reads its starting line
out of a file. That will do what you want. I hacked around this by
simply editing arch/alpha/kernel/setup.c and simply putting a constant
string into the command line. The kernel which is booted is an old one
but that way I can move root around and do other weird things.
In your case, however, the easiest solution is:
mv /vmlinux.gz /vmlinux.gz.old
mv /vmlinux-whatever.gz /vmlinux.gz
reboot
You aren't doing anything weird enough to need a drastic solution.
-- g
next reply other threads:[~1998-10-21 14:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-21 14:25 Greg Lindahl [this message]
1998-10-21 15:09 ` Rebooting machines remotely Ken Hansen
1998-10-21 18:24 ` Wes Bauske
-- strict thread matches above, loose matches on Subject: below --
1998-10-21 15:31 Greg Lindahl
1998-10-13 19:54 Dan Morrill
1998-10-13 20:02 ` Jeff Garzik
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox