Results 1 to 10 of 11

Thread: How to upgrade kernel on a live Ubuntu 24.04.1 LTS system ?

Threaded View

  1. #1
    Join Date
    Apr 2008
    Beans
    367

    How to upgrade kernel on a live Ubuntu 24.04.1 LTS system ?

    Hi Guys,
    I'm making an USB stick with 24.04.1 LTS on it.
    To make it I used Rufus and made a persistent partition quite big (around 7 GB). As I plan to use this live system to repair/maintain a lot of computers I will have access to, I installed some tools, made all the updates.
    But the kernel is still set to the vmlinuz-6.8.0-41-generic the iso was made with.
    Of course, my casper-rw partition hold the new vmlinuz-6.8.0-48-generic kernel but I can't update/made the initramfs I need and copy them into the casper directory used for kernels when booting.
    So I would be delighted to get all help and leads I can get to make this possible.
    Thank you very much for your help !

    P.S. : I need the latest kernel in order to test/make work very recent computers which will benefit from these updates.
    Edit : I forgot to tell you something...
    Previously, before Noble, I used the command live-update-initramfs to create the corresponding initramfs and it worked ...
    But now, it is not :
    Code:
    root@ubuntu:~# live-update-initramfs --help
    Command 'live-update-initramfs' not found, but can be installed with:
    apt install live-tools
    root@ubuntu:~# apt install live-tools
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Suggested packages:
      debian-installer-launcher
    The following NEW packages will be installed:
      live-tools
    0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
    Need to get 0 B/26.3 kB of archives.
    After this operation, 108 kB of additional disk space will be used.
    (Reading database ... 261972 files and directories currently installed.)
    Preparing to unpack .../live-tools_1%3a20190831.1_all.deb ...
    dpkg-divert: error: 'diversion of /usr/sbin/update-initramfs to /usr/sbin/update-initramfs.orig.initramfs-tools by live-tools' clashes with 'local diversion of /usr/sbin/update-initramfs to /usr/sbin/update-initramfs.distrib'
    dpkg: error processing archive /var/cache/apt/archives/live-tools_1%3a20190831.1_all.deb (--unpack):
     new live-tools package pre-installation script subprocess returned error exit status 2
    Errors were encountered while processing:
     /var/cache/apt/archives/live-tools_1%3a20190831.1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@ubuntu:~#
    Last edited by georgesgiralt; November 10th, 2024 at 07:18 PM. Reason: Forgot something

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •