Ubuntu (4.4.0-321.e1) 16.04 xenial # new installed kernel Ubuntu (4.3.0-011.e0) 16.04 xenial # old kernel Ubuntu (0-rescue-ce94ks5084) 16.04 xenial # rescue kernel (image) that we can boot into (not rescue target/mode) # if an update broked kernel we got a rescue one
In [13]:
cat /etc/default/grub | grep -i recovery=
#GRUB_DISABLE_RECOVERY="true"
In [54]:
sed  -n "/REC/s/^#//; /REC/s/true/false/p" /etc/default/grub
# sed -i "/REC/s/^#//; /REC/s/true/false/" /etc/default/grub
GRUB_DISABLE_RECOVERY="false"
In [56]:
# update-grub
# grub-mkconfig -o /boot/grub/grub.cfg
Ubuntu (4.4.0-321.e1) 16.04 xenial Ubuntu (4.4.0-321.e1) 16.04 xenial (recovery mode) Ubuntu (4.3.0-011.e0) 16.04 xenial Ubuntu (4.3.0-011.e0) 16.04 xenial (recovery mode) Ubuntu (0-rescue-ce94ks5084) 16.04 xenial Ubuntu (0-rescue-ce94ks5084) 16.04 xenial (recovery mode)

Lecture notes

License

Creative Commons License

Linux Notes by Milad As (Ravexina) is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.


ravexina's gitlab

ravexina's github