Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Kernel hold on persistence live usb

Started by dennie75, August 13, 2023, 11:43:21 AM

Previous topic - Next topic

dennie75

Dutch

Weet iemand hoe je een kernel upgrade kunt tegen houden op een gemaakte live usb met persistence opslag?
Bij upgrade geeft hij de upgrades weer inclusief kernel update en de kernel update wil ik niet doen want dan loopt me live persistence usb vast.

Alsvast bedankt.

English

Does anyone know how to stop a kernel upgrade on a created live usb with persistence storage? When upgrading, it displays the upgrades including kernel update and I don't want to do the kernel update because then my live persistence usb crashes. Thanks as usual.

Polish

Czy ktoś wie, jak zatrzymać aktualizację jądra na utworzonym live usb z pamięcią trwałości? Podczas aktualizacji wyświetla aktualizacje, w tym aktualizację jądra i nie chcę aktualizować jądra, ponieważ wtedy mój żywy czas trwania usb ulega awarii.


dennie75

Explanation:

live@live:~$ sudo apt upgrade Package lists are read in... Ready Tree of requirements is being built... Ready The status information is read... Ready Upgrading is calculated... Ready The following NEW packages will be installed: linux-headers-5.10.0-24-amd64 linux-headers-5.10.0-24-common linux-image-5.10.0-24-amd64 The following packages will be upgraded: intel-microcode linux-compiler-gcc-10-x86 linux-headers-amd64 linux-image-amd64 linux-kbuild-5.10 linux-libc-dev 6 upgraded, 3 newly installed, 0 uninstallable and 0 not upgraded. 0 B/74.7 MB of archives need to be retrieved. After this operation, an additional 377 MB of disk space will be used. Do you want to continue? [Y/n]

live@live:~$ uname -a
Linux live 5.10.0-23-amd64 #1 SMP Debian 5.10.179-3 (2023-07-27) x86_64 GNU/Linux
live@live:~$

pavroo

If you don't want to upgrade a specific package, such as 'linux-image-amd64' use dpkg:

sudo echo package-name hold|sudo dpkg --set-selections
https://wiki.sparkylinux.org/doku.php/upgrade
Nothing is easy as it looks. Danielle Steel

dennie75

pavroo
Thank you very much this works for me persistence live usb
no more crashes when restarting.

View the most recent posts on the forum