# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
usage() {
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
usage() {
Usage: ${0##*/} [-h|--help] [HOST]
fai kexec from upstream live cds, i.e. curl|bash
Usage: ${0##*/} [-h|--help] [HOST]
fai kexec from upstream live cds, i.e. curl|bash
This has been tested on trisquel 7 & 8 & ubuntu 16.04 & 18.10. With
18.10 and trisquel 8 on an x200, kexec was unreliable, resulting in
This has been tested on trisquel 7 & 8 & ubuntu 16.04 & 18.10. With
18.10 and trisquel 8 on an x200, kexec was unreliable, resulting in
-freezes and kernel panics.
+freezes and kernel panics. On t11, linux 5.15.0-40-generic, after kexec,
+black screen, ping worked but nothing else. Debian 11 live image worked.
If the screen just sits in a weird color inverted, corrupted looking state,
it's probably nothing wrong with the computer, but a problem
with the fai server. If you can do this from a virtual terminal,
it will print out more info (I know from running it on a vm).
EOF
If the screen just sits in a weird color inverted, corrupted looking state,
it's probably nothing wrong with the computer, but a problem
with the fai server. If you can do this from a virtual terminal,
it will print out more info (I know from running it on a vm).
EOF
- # add universe, pxe-kexec is there
- sed -ri '/^\s*deb/{/universe/!s/$/ universe/}' /etc/apt/sources.list
+ # add universe, pxe-kexec is there
+ sed -ri '/^\s*deb/{/universe/!s/$/ universe/}' /etc/apt/sources.list
- apt-get update ||: # try even if we fail
- apt-get install -y debconf
- debconf-set-selections <<EOF
+ apt-get update ||: # try even if we fail
+ apt-get install -y debconf
+ debconf-set-selections <<EOF
fi
# running this piped to bash on belenos, the apt-get goes
# into the background while it's still installing, and pxe-kexec
fi
# running this piped to bash on belenos, the apt-get goes
# into the background while it's still installing, and pxe-kexec