If you are using GRUB 0.97 (legacy GRUB), then this capability is provided by the "default saved" and "fallback" commands. See sections 4.3.1 and 4.3.2 in the manual:
http://www.gnu.org/software/grub/manual/legacy/grub.html
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Tony Mountifield Sent: 15 December 2014 11:01 To: centos@centos.org Subject: [CentOS] One-time reboot into alternate kernel?
Apologies if this should be well-known, but I couldn't find anything!
Situation: a system in a remote location, with no KVM, IPMI or iLO, and therefore no console access, only ssh. Multiple kernels listed in grub.conf.
Is there a way to reboot temporarily into one of the other kernels
listed
in grub.conf, without changing the default= line, so that a subsequent reboot will default back to the original kernel?
The problem I have is that having changed the default= line to select a kernel that doesn't boot properly, I need to have someone visit the console in order manually to select the working kernel again. I would like to avoid that situation if possible.
Thanks, Tony -- Tony Mountifield Work: tony@softins.co.uk - http://www.softins.co.uk Play: tony@mountifield.org - http://tony.mountifield.org _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. QinetiQ may monitor email traffic data and also the content of email for the purposes of security. QinetiQ Limited (Registered in England & Wales: Company Number: 3796233) Registered office: Cody Technology Park, Ively Road, Farnborough, Hampshire, GU14 0LX http://www.qinetiq.com.