After an upgrade of my wife's laptop, I'm unable to boot again.
The kernel has been upgraded with
Code: Select all
sudo install-upgrade-kernel upgrade huge
Is there a way to upgrade the kernel of an installed system using the live-usb?
Code: Select all
sudo install-upgrade-kernel upgrade huge
Code: Select all
#! /bin/sh
TARGET=/run/media/djemos/00183d49-7229-4275-aea4-af7eb4775089
mount -o bind /proc $TARGET/proc
mount -o bind /sys $TARGET/sys
mount -o bind /dev $TARGET/dev
mount -o bind /tmp $TARGET/tmp
mount --bind /etc/resolv.conf $TARGET/etc/resolv.conf
chroot $TARGET /bin/bash -l
Code: Select all
sudo slapt-get -u
sudo slapt-get -i --reinstall -d kernel-headers kernel-huge kernel-modules
Code: Select all
sudo slapt-get -i --reinstall kernel-headers kernel-huge kernel-modules
sudo update-grub
Thanks for that. The truth is that's what I was doing before the release of "install-upgrade-kernel". And I also do it when I have a poor connection. But this time I forgot to check the connection before upgrading the kernel.djemos wrote:To not happened this again since you might have a poor connection and because kernel upgrade is important for the system to boot can use this.This command will download and not install anything. If a connection failure happened can run the same command again and download continuesCode: Select all
sudo slapt-get -u sudo slapt-get -i --reinstall -d kernel-headers kernel-huge kernel-modules
then if files are downloaded then can runCode: Select all
sudo slapt-get -i --reinstall kernel-headers kernel-huge kernel-modules sudo update-grub