From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 24403 invoked from network); 21 Oct 1998 14:34:32 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 21 Oct 1998 14:34:32 -0000 Received: from ares.cs.Virginia.EDU (mail.cs.Virginia.EDU [128.143.137.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA15475 for ; Wed, 21 Oct 1998 10:25:48 -0400 Received: from adder.cs.Virginia.EDU (adder.cs.Virginia.EDU [128.143.137.18]) by ares.cs.Virginia.EDU (8.8.5/8.8.5) with ESMTP id KAA20069 for ; Wed, 21 Oct 1998 10:25:47 -0400 (EDT) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.7.5/8.7.3) id KAA23081 for axp-list@redhat.com; Wed, 21 Oct 1998 10:25:46 -0400 (EDT) Date: Wed, 21 Oct 1998 10:25:46 -0400 (EDT) Message-Id: <199810211425.KAA23081@adder.cs.Virginia.EDU> X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: axp-list@redhat.com Subject: Re: Rebooting machines remotely > 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