This shows you the differences between two versions of the page.
| 
    internal:reboot [2009/09/14 04:57] solar added notes on recording and checking the lists of services and containers  | 
    
    internal:reboot [2010/07/23 15:29] (current) solar  | 
    ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| * Configure the new boot target for the very next reboot only, with automatic fallback to the current/tested boot target (you'll use ''lilo -R ...'' once you're done editing ''/etc/lilo.conf'' and after you've run ''lilo'') | * Configure the new boot target for the very next reboot only, with automatic fallback to the current/tested boot target (you'll use ''lilo -R ...'' once you're done editing ''/etc/lilo.conf'' and after you've run ''lilo'') | ||
| * In the new boot target, specify the ''panic=10'' kernel parameter (to ensure that the system is automatically rebooted into the previous boot target should the kernel panic, e.g. upon failing to mount the root filesystem) | * In the new boot target, specify the ''panic=10'' kernel parameter (to ensure that the system is automatically rebooted into the previous boot target should the kernel panic, e.g. upon failing to mount the root filesystem) | ||
| - | * Consider configuring netconsole (another kernel parameter) and running ''nc -vul //UDP-PORT-NUMBER//'' under ''screen'' on a nearby system to capture the kernel messages (but then you will likely need a second reboot to disable netconsole) | + | * Consider [[netconsole|configuring netconsole]] (another kernel parameter) and running ''nc -vul //UDP-PORT-NUMBER//'' under ''screen'' on a nearby system to capture the kernel messages (but then you will likely need a second reboot to disable netconsole) | 
| * When making changes to ''/etc/lilo.conf'', be careful about your use of ''append'' vs. ''addappend'' (if in doubt about these, review the lilo.conf(5) man page first) | * When making changes to ''/etc/lilo.conf'', be careful about your use of ''append'' vs. ''addappend'' (if in doubt about these, review the lilo.conf(5) man page first) | ||
| * Place ''/sbin/shutdown -r 5 &'' into /etc/rc.d/rc.local (this is needed in case the new system boots up mostly fine, but its networking setup fails for whatever reason) | * Place ''/sbin/shutdown -r 5 &'' into /etc/rc.d/rc.local (this is needed in case the new system boots up mostly fine, but its networking setup fails for whatever reason) | ||