Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

kernel options

Help for Current Versions of MX
Message
Author
User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9397
Joined: Sun Dec 16, 2007 1:17 pm

Re: kernel options

#121 Post by dolphin_oracle » Sat Mar 10, 2018 10:04 am

they show up in synaptic as "linux-image-4.XX......." type entries. you can remove from there easy enough.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22469
Joined: Wed Jul 19, 2006 6:13 am

Re: kernel options

#122 Post by Jerry3904 » Sat Mar 10, 2018 10:13 am

Yup. Just removed 4.13 using Synaptic, image from Updater > History:
You do not have the required permissions to view the files attached to this post.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
entropyfoe
Forum Regular
Forum Regular
Posts: 801
Joined: Thu Apr 19, 2007 11:42 am

Re: kernel options

#123 Post by entropyfoe » Sat Mar 10, 2018 11:06 am

Yup, I did a big cleanup last night, removing 4 kernel headers and images, all either unstable or not spectre patched.
I did the completely remove option with synaptic.

Over 1.1 G of space was recovered !
I ran update-grub to remove the old entries.
Rebooted, all is good with the 4.15.5-antix.1. (still stable with the rcu_nocbs=0-11 boot parameter.
I left the 4.9.77 as a fallback kernel.
Asus Prime 370X-Pro
AMD Ryzen 1600X (6 cores @ 3.6 GHz)
16 Gig DDR4 3200 (G Skill)
Nvidia -MSI GeForce GT 710 fanless
Samsung 960 NVMe SSD nvme0n1 P1,P2, and P3=MX-17.1, P4=antiX-17
1TB SSD sda1= Data, 2TB WD =backups
on-board ethernet & sound

User avatar
anticapitalista
Forum Veteran
Forum Veteran
Posts: 5713
Joined: Sat Jul 15, 2006 10:40 am

Re: kernel options

#124 Post by anticapitalista » Sat Mar 10, 2018 2:28 pm

smxi -G in a root terminal
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX-17 "Heather Heyer" - lean and mean.
https://antixlinux.com

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16305
Joined: Fri Dec 15, 2006 8:07 pm

Re: kernel options

#125 Post by Stevo » Sat Mar 10, 2018 4:06 pm

Using Synaptic, you can also filter them with the "Status"/"installed" tabs, and then enter a term in the Search box like "linux-" or "liquorix", depending on what kernels you want to get rid of. I know you can also do some CLI magic with aptitude to do the same thing.

The Debian and Liquorix kernels also have metapackages that depend on the latest available kernel and should make older kernels autoremovable---I just saw MX updater say the 4.15-6.1 Liquorix kernel and headers are autoremovable when I have the -7.1 version installed without the metapackage, so I'm stumped as to how it knows that. Maybe Kent added some magic to it.

User avatar
golden45
Forum Regular
Forum Regular
Posts: 398
Joined: Mon Sep 25, 2006 11:24 am

Re: kernel options

#126 Post by golden45 » Sat Mar 24, 2018 10:36 pm

Question do we need headers to run newest kernels System:
Host: mx Kernel: 4.15.12-041512-generic x86_64 bits: 64
Desktop: Xfce 4.12.3 Distro: MX-17.1_x64 Horizon March 14, 2018
Machine:
Type: Desktop System: Dell product: OptiPlex GX620 v: N/A serial: N/A
Mobo: Dell model: 0F8098 serial: N/A BIOS: Dell v: A03 date: 08/05/2005
CPU:
Topology: Single Core model: Intel Pentium 4 type: UP L2 cache: 2048 KB
Speed: 2993 MHz min/max: N/A Core speed (MHz): 1: 2993
Graphics:
Card-1: Intel 82945G/GZ Integrated Graphics Controller driver: i915
v: kernel
Display Server: x11 (X.Org 1.19.2) driver: intel
unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel 945G v: 2.1 Mesa 13.0.6
Audio:
Card-1: Intel 82801G (ICH7 Family) AC97 Audio Controller
driver: snd_intel8x0
Sound Server: ALSA v: k4.15.12-041512-generic
Network:
Card-1: Broadcom Limited NetXtreme BCM5751 Gigabit Ethernet PCI Express
driver: tg3
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 00:14:22:3d:58:4f
Drives:
HDD Total Size: 74.51 GiB used: 5.48 GiB (7.4%)
ID-1: /dev/sda model: WDC_WD800JD-75MS size: 74.51 GiB
Partition:
ID-1: / size: 23.95 GiB used: 5.48 GiB (22.9%) fs: ext4 dev: /dev/sda5
ID-2: swap-1 size: 1.01 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda4
Sensors:
Message: No sensors data was found. Is sensors configured?
Info:
Processes: 167 Uptime: 7 min Memory: 3.41 GiB used: 568.4 MiB (16.3%)
Shell: bash inxi: 2.9.05

Report copied to system clipboard

Press any key to close

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4375
Joined: Wed Jul 12, 2006 4:05 pm

Re: kernel options

#127 Post by timkb4cq » Sat Mar 24, 2018 11:24 pm

Yes & No. No, you don't need the headers to run the kernel. Yes, you do need the headers to build some modules that work with your new kernel, such as the VirtualBox modules, the nvidia drivers, the broadcom wl wireless driver, ndiswrapper, etc.
It's likely you don't need any of the drivers modules - but if you're going to run VirtualBox you will.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
golden45
Forum Regular
Forum Regular
Posts: 398
Joined: Mon Sep 25, 2006 11:24 am

Re: kernel options

#128 Post by golden45 » Sun Mar 25, 2018 4:36 pm

Can you install these modules separately?After you install a generic image?Thanks john

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16305
Joined: Fri Dec 15, 2006 8:07 pm

Re: kernel options

#129 Post by Stevo » Sun Mar 25, 2018 6:43 pm

golden45 wrote:Can you install these modules separately?After you install a generic image?Thanks john
Maybe....since you are installing the Ubuntu "generic" kernels, there is no guarantee that the headers will install on MX.

User avatar
golden45
Forum Regular
Forum Regular
Posts: 398
Joined: Mon Sep 25, 2006 11:24 am

Re: kernel options

#130 Post by golden45 » Sun Apr 01, 2018 9:57 pm

mxapps and mxinstaller will not allow install of generic kernels.Why does this happen? thanks john

Post Reply

Return to “MX Help”