Re: failsafe booting..

2000-10-05 Thread Andrew
ok this is what i was looking for, from the lilo man page :- -R command line This option sets the default command for the boot loader the next time it executes. The boot loader will then erase this line: this is a once-only

Re: failsafe booting..

2000-10-05 Thread Alessandro Rubini
Hello. ok this is what i was looking for, from the lilo man page :- -R command line I don't think this is what you are looking for. This sets the command line, not the default kernel (I think, didn't check). In order to do what you want, you'll need a "mv" command inside grub: thus

Re: failsafe booting (again)

2000-10-05 Thread Alessandro Rubini
The idea to somehow control boot operation without human interaction is an interesting one. Actually, one of the reasons I got to use grub is to be able to hack in my code more easily -- tried several times to understand lilo's internals but gave up after hours. What I personally want to do is

Re: failsafe booting..

2000-10-05 Thread Jochen Hoenicke
On Oct 5, Alessandro Rubini wrote: I didn't look at filesystem code in grub, but I don't think it should be too difficult to implement "mv". The only issue I see is that currently FS access is read-only, while in this case you require write access, and this can introduced non-trivial issues

RE: failsafe booting (again)

2000-10-05 Thread Alessandro Rubini
Hi. What I personally want to do is enabling the boot loader to read some input and use that information to choose the default menu entry. It strikes me, as an interesting idea, as well. And one which I would like to follow the activities of. But Okuji is right, diskless boot is a good

Re: failsafe booting..

2000-10-05 Thread Andrew
ok this is what i was looking for, from the lilo man page :- -R command line I don't think this is what you are looking for. This sets the command line, not the default kernel (I think, didn't check). In order to do what you want, you'll need a "mv" command inside grub: thus

failsafe booting..

2000-10-04 Thread Andrew
hi, I was wondering if someone could give me some advice regarding grub and or bootloaders. What i'm trying to achieve is failsafe bootloading of a kernel when a kernel upgrade to a remote server has occurred. I have to be sure that the machine will reboot successfully. Because I will not have

Re: failsafe booting..

2000-10-04 Thread OKUJI Yoshinori
From: Andrew [EMAIL PROTECTED] Subject: failsafe booting.. Date: Thu, 05 Oct 2000 11:07:01 +0930 At boot time the bootloader would change the default kernel to the failsafe one and boot the new kernel. Thus if the new kernel hangs, the machine will after a certain amount of time reboot

Re: failsafe booting..

2000-10-04 Thread Andrew
At boot time the bootloader would change the default kernel to the failsafe one and boot the new kernel. Thus if the new kernel hangs, the machine will after a certain amount of time reboot ( with the help of a watchdog card designed for this purppose). I don't think this is always

Re: failsafe booting..

2000-10-04 Thread OKUJI Yoshinori
From: Andrew [EMAIL PROTECTED] Subject: Re: failsafe booting.. Date: Thu, 5 Oct 2000 13:16:02 +0930 (CST) why not ? I'm looking for a way to change the kernel which is being booted automatically rather than from the grub prompt, if we can choose at the console what kernel i wish to boot ? why

Re: failsafe booting..

2000-10-04 Thread Andrew
why not ? I'm looking for a way to change the kernel which is being booted automatically rather than from the grub prompt, if we can choose at the console what kernel i wish to boot ? why can't I have some mechanism of changing the kernel which is booted automatically. perhaps i did not

Re: failsafe booting..

2000-10-04 Thread OKUJI Yoshinori
From: Andrew [EMAIL PROTECTED] Subject: Re: failsafe booting.. Date: Thu, 5 Oct 2000 13:32:34 +0930 (CST) I dont wish to communicate with the bootlaoder at all. Its a simple matter of changing the default kernel to a failsafe one, so that if the new kernel fails the failsafe one will boot