[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian 3.0 on AS1000A 5/333 won't shutdown/reboot

David Duminy wrote:

Why does the machine try to boot again after the OS has shutdown?
Because of the flag 0?

I set the boot_osflags to 0 and never have this trouble. Maybe the auto_action make your box boot automatically as soon as it run SRM console. I have never set this flag, so I can't confirm it.

But if you set the boot_osflags to a wrong value. Aboot will display a menu allowing you to return to the SRM console.

So I could just create a small script 'halt_9' which runs
'echo 9 > /dev/srm/boot_osflags ; shutdown -h now '
and 9 would be statement 9 of 'aboot.conf':

0:1/vmlinuz-2.4.18-generic ro root=/dev/sda3 initrd=initrd.img-2.4.18-generic
9:1/vmlinuz ro root=/dev/sda3

And 9 calls the standard 2.2.20 kernel ...

Sounds cool (and like 'lilo -R') :-)

Thanks and Regards, Jens

Reply to: