Welcome!
Forum users

Current releases
--MX-23 release info here
--Migration information to MX-23 here
--antiX-23.1 (Arditi del Popolo) release info here

Important information
--If in starting your system it boots to an unwanted Desktop, right click desktop, then select leave and logout. At the
login screen there is a session chooser at the top of the screen.

News
-- MX Linux on social media: here
-- New Forum Features, Marking Solved and Referencing a User: here

changing kernels on a running live system is now supported :-)

Help on all MX Re-spins
Message
Author
yop
Posts: 107
Joined: Mon Sep 12, 2016 7:55 am

changing kernels on a running live system is now supported :-)

#1 Post by yop »

NEWSBREAK: BitJam made a tool to run any kernel you want. :number1:

A few rough edges left but otherwise you will ultimately succeed to change to an alternative kernel starting from e.g. this link

:lion: https://mxu3.github.io/live-kernel-updater :anispider2:

By the time you read this, MX distro has a tool to run any kernel basically. We are working on streamlining the whole process. Stand by. :needcoffee:

The script worked to change kernel in the "local (primary) installed live-MX" as well as a secondary SD-card MX, which was plugged in a USB 3.0 socket.
However, the prior kernel install to be performed might quite possibly issue some error messages. But heck... push on regardless :p .

In case of failure: erase SD-card and retry :fox:

----------------------------------------- old version of the post : :happybday:


changing kernels on a running live system is not yet supported :exclamation: :exclamation: :eek:

meaning: it is not working and screws up the whole system, if you try it. But its poss to unscrew the system afterwards... ;)

was: "no luck with alt. kernels here - which is a stable alternative kernel ?"



on my desktop m/c I usually can run most kernels. yet the alternative debian & liquorix kernel freeze after usb devices are found : fallback shell initrd

the original debian-live works no problem. tried 4 kernels now which are installable from synaptic & mc-tools. always same freezing and initrd fallback shell.

I also tried noacpi , fallback asf. boot options from the extlinux menu which did not change anything.

is there a kernel that is known to be very stable on many hardwares ?
Last edited by yop on Fri Sep 23, 2016 11:41 am, edited 8 times in total.

User avatar
m_pav
Developer
Posts: 1383
Joined: Sun Aug 06, 2006 3:02 pm

Re: no luck with alt. kernels here - which is a stable alternative kernel ?

#2 Post by m_pav »

Never heard of this before, and I've run MX-15 on hundreds of systems and prior to that, MX-14 on thousands, never had a single instance of crash or freezing on USB insertion, though I have seen kernel messages about over voltage on USB ports and instability associated with it. I have also seen how certain graphics chips can be troublesome, in particular Intel Broadwell U, such as my own laptop.

New users used to get some forum guidelines on their first login to assist them with asking for assistance, not sure if that's still happening. Usually, when requesting assistance, you can help us to help you by posting the specs of your machine along with your request. Our manual has good pointers on using the right tools for this purpose, look for inxi 2 lines above section 6.6.

The manual is available either by the Manuals link near the top of this page, or by clicking your Launcher icon and typing help.
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD FX 6100 CPU, nVidia, 8Gb, 3.25TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

yop
Posts: 107
Joined: Mon Sep 12, 2016 7:55 am

Re: no luck with alt. kernels here - which is a stable alternative kernel ?

#3 Post by yop »

I run a live-USB KDE-MX-15 which I already remastered several times.

Kernel install as well as uninstall is a pain, because it runs into several errors (dpkg, grub and more). I had to manually delete many files to keep synaptic & apt-get going.

I am not sure whether kernel install / deinst with synaptic & mx-tool can be considered stable.

now the system works, as long as I do not try to uninstall or reinstall those kernels...

yop
Posts: 107
Joined: Mon Sep 12, 2016 7:55 am

safe kernel install poss. ?

#4 Post by yop »

it would be helpful if other MX-15 users could tell me whether adding kernels in live-USB usually works well via GUI (synaptic, mx-tools).

User avatar
dolphin_oracle
Developer
Posts: 19831
Joined: Sun Dec 16, 2007 1:17 pm

Re: no luck with alt. kernels here - which is a stable alternative kernel ?

#5 Post by dolphin_oracle »

changing kernels on a running live system is not yet supported. That's a feature that is coming, but its not here yet. It can be done, but its amazingly difficult and manual. The initrd is one of the things that don't get updated correctly (if at all) when new kernels are installed on a live system. Its easy on an installed system, hard on a live system.

On my custom-mx spins that require other kernels (like for my lenovo and chromebook), I install them on a virtual machine, change the kernel, then snapshot the VM install and use the resulting iso to make liveUSBs.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

yop
Posts: 107
Joined: Mon Sep 12, 2016 7:55 am

Re: no luck with alt. kernels here - which is a stable alternative kernel ?

#6 Post by yop »

would be nice if such info was available before the MX users waste half a day on a non-feature. oh , well... ;-) thx, dolphin! :needcoffee:

User avatar
v3g4n
Posts: 654
Joined: Sat Jan 16, 2016 8:20 pm

Re: changing kernels on a running live system is not yet supported

#7 Post by v3g4n »

You also could have asked before wasting half a day. ;)

yop
Posts: 107
Joined: Mon Sep 12, 2016 7:55 am

Re: changing kernels on a running live system is not yet supported

#8 Post by yop »

v3g4n wrote:You also could have asked before wasting half a day. ;)
OK, then let me ask another question right on time:

What other things are unsupported, even though the GUI offers it?
I did read the help file, it said nothing on unsupported kernel-changing...
What do I need to ask, before I waste another half a day?

User avatar
Jerry3904
Administrator
Posts: 21859
Joined: Wed Jul 19, 2006 6:13 am

Re: changing kernels on a running live system is not yet supported

#9 Post by Jerry3904 »

Easy, buddy...
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
dolphin_oracle
Developer
Posts: 19831
Joined: Sun Dec 16, 2007 1:17 pm

Re: changing kernels on a running live system is not yet supported

#10 Post by dolphin_oracle »

changing the kernel is a seemingly reasonable thing to want to do, and live system we employ does tend to make us believe we can do anything with it. and you almost can.

The apt and update-initramfs tools that debian provides for kernel installations assume an installed system, with an init ram drive (initrd) that debian understands and expects, in a location that it expects. Ours has all the custom live boot stuff in it, and is in a location suitable for our live system to allow mounting of the rest of the compressed file system. In fact, its the initrd system that loads the persistence files and does all the other cool magic the live system can do. In a very real way, the initrd lives outside the usual linux filesystem contained in the linuxfs and rootfs squash filesystem files that the live system uses.

Unfortunately it also means that updating the kernel on the live system is fairly complicated and not automatic. Even when this gets supported in the future, it will likely require use of a custom tool to do the job.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Post Reply

Return to “MX Respins”