[CentOS] Loss of Ethernet adaptor

Mon Jun 9 16:57:52 UTC 2014
Steve Clark <sclark at netwolves.com>

On 06/09/2014 12:52 PM, SilverTip257 wrote:
> On Mon, Jun 9, 2014 at 12:45 PM, <m.roth at 5-cent.us> wrote:
>
>> James B. Byrne wrote:
>>> On Mon, June 9, 2014 11:46, Steve Clark wrote:
>> <snip>
>>> implementation as it necessarily involves a restart of the test system.
>>   I
>>> am trying to discover if there is some way of restarting a headless
>> server
>>> and use a specific grub entry instead of the default.  I want to leave
>> the
>>> default unchanged until I can prove that any manual changes I make do not
>>> negatively impact a system restart.
>>>
>>> If anyone knows if this is possible and if so, how it is done, I would
>>> welcome the information.
> If you happen to be fortunate enough and have (ipmi v2) Serial over LAN
> configured, you can reboot and change the boot selection.
>
>
>> That's a no-brainer: change the default= line in grub from 0 to whatever
>>
> Not really.
> James wrote that he does not want to "negatively impact a system restart".
>   If I was in his shoes, I wouldn't change the grub default boot item
> without serial-over-lan access, a KVM switch with network access, or
> "remote hands" on site.  Otherwise you just changed your default boot item
> and it could cyclically crash and (possibly) reboot.
>
>
>> the entry number is. Note that I'm not sure what happens if you add a
>> kernel update in there, whether the post-install scripts will increment
>> the number so as to continue to point to the correct kernel.
>>
>>

This show how to do a one time boot and then the next time boot the original system

https://www.gnu.org/software/grub/manual/legacy/Booting-once_002donly.html

-- 
Stephen Clark
*NetWolves Managed Services, LLC.*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark at netwolves.com
http://www.netwolves.com