-
What directory do I put my newly created kernel in so that it boots?
Summary:
I'm using live Knoppix release 7.7.1, kernel ver 4.7.9-64 on usb stick, with
persistence.
I'd like to change the kernel to a more recent version (see Full Details - 2. for
why).
I'd like to change the kernel version on this 7.7.1 Knoppix (as opposed to just
downloading the latest live knoppix) because I also want to LEARN how to do it.
I'm going to search the web for step by step instructions on how to change the
kernel, but could you answer me some Knoppix-specific questions please?
My Questions:
1. Am I right in thinking that at some point I will have created (or downloaded)
a new linux kernel that is just a single executable file? Does that file need to
be called linux64, and do I put it in the directory /boot/syslinux/, thus
replacing the linux64 file that's presently in there? I'm referring to
/boot/syslinux/ that's on partition 1 (labelled KNOPPIX) of the stick.
2. Do I need to specifically download a Knoppix kernel from yourselves, or can I
use any Debian kernel version?
3. Are there any other Knoppix-specific things that I need to do to install a
newer kernel?
Full Details:
1. My laptop is an Acer Aspire 5755G.
2. I want to change the kernel because I want to disable the laptop lid, and
all the many methods I've tried to disable it don't work (eg
HandleLidSwitch=ignore in /etc/systemd/logind.conf).
A website suggested that the problem may lie in the kernel.
3. The reason I want to disable the laptop lid is because when I close it whilst
an internet download is taking place (eg using youtube-dl), the download halts,
and I don't want it to. Other operations continue to work fine when the lid
is closed (eg play a song), and the OS is not going into suspend mode or
whatever.
4. THIS MIGHT BE VERY RELEVANT.
I thought it might be very relevant to describe how the usb stick boots, so that
you can identify exactly what setup I've got.
I created this live knoppix 7.7.1 (with persistence) on usb stick as follows. I
first of all put KNOPPIX_V7.7.1DVD-2016-10-22-EN.iso on a usb stick (without
persistence). I then booted from that stick. On the Desktop there is an icon
saying something like "Create Knoppix 7.7.1 with persistence on usb stick".
So I clicked the icon, and created a separate stick, with persistence. This is
the stick I want to change the kernel on.
When I power on with this persistence stick plugged in, the first screen I get
is mainly black and white, with a penguin in the top half. Below that is a
prompt that says "boot:". You can press F2 and F3 to see cheatcodes like
"knoppix acpi=off".
If you don't type anything at the "boot:" prompt, after about 10 seconds it
boots.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
12TB 7200RPM 256MB Cache SATA 6.0Gb/s 3.5" Internal NAS Hard Drive - 0753F0
$99.95
Certified Refurbished 5TB WD Elements Portable Hard Drive - RWDBU6Y0050BBK-WESN
$89.99
SEAGATE ST6000NM0034 6TB 7.2K SAS 3.5" HDD HARD DRIVE
$64.00
Certified Refurbished 2TB WD Elements Portable Hard Drive - RWDBU6Y0020BBK-WESN
$49.99
HGST Ultrastar HUH728080ALE604 (0F23668) 8TB 7200RPM SATA 6Gb/s 3.5" Hard Drive
$71.99
Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$129.99
HGST 4TB 64MB Cache 7200RPM SATA 6.0Gb/s 3.5" Internal Enterprise Hard Drive
$49.99
ST4000NM0034 SEAGATE 4TB 7.2K 12G LFF 3.5" SAS 512E ENTERPRISE HARD DRIVE
$49.99
Hitachi 4TB 3.5" Hard Drive HUS724040ALE640 Ultrastar 7K4000 Internal 7.2K
$64.95
External Hard Disk Drive HDD USB 3.0 1TB/2TB/4TB Portable External HDD PN
$19.99