Return-Path: From: ariel@oz.engr.sgi.com (Ariel Faigon) Message-ID: <199707102202.PAA24075@oz.engr.sgi.com> Subject: Re: How to get the masses (IRIX<->Linux) (fwd) Date: Thu, 10 Jul 1997 15:02:03 -0700 (PDT) Reply-To: ariel@sgi.com (Ariel Faigon) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux@cthulhu.engr.sgi.com To: SGI/Linux mailing list Message-ID: <19970710220203.OnwvuAlM-nzTEpwjSpI0cnsDUSgOLqXwEWeIgvXMmnw@z> [I'm forwarding this very helpful hint from Christian to the list not sure if all our audience, especially those outside SGI are aware of all these options.] Now since after setting nvram it'll always boot Linux ;-) the question is how to toggle two different (Linux/IRIX) nvram settings in a friendly trivial way... Looks like a SILO option after the wakup/reboot would be the best. Press 1 to boot IRIX [default] Press 2 to boot Linux ----- Forwarded message from Christian Reisch ----- From creisch@esd.sgi.com Thu Jul 10 14:52:45 1997 Sender: creisch@esd.sgi.com Date: Thu, 10 Jul 1997 14:52:39 -0700 From: Christian Reisch To: Ariel Faigon Subject: Re: How to get the masses (IRIX<->Linux) Ariel Faigon wrote: > % su > # at 5am July 3 > /usr/sbin/wakeupat 6pm Thursday > /etc/shutdown -y > (control - d) This will submit the job. > # exit > > If we could rewrite wakeupat or reboot to take some > extra boot options or alternatively run some Linux loader > (SILO/MILO) from IRIX then 2) should be easy. > > I think irix decides where to boot from from these nvram variable... SystemPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(8) OSLoadPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(0) OSLoader=sash OSLoadFilename=/unix OSLoadOptions=auto You could write a script to fudge them with the nvram command then shutdown and wake up. Unfortunately I don't have the disk/time to play with it at the moment 6 ----- End of forwarded message from Christian Reisch ----- -- Peace, Ariel