Consider expanding LFD103's scope
LFD103's scope is refreshingly simple: it focuses on patching, building, and installing the Linux kernel using only the tools provided by the kernel. While this minimizes the scope of the course, it also puts students in an unfortunate position of installing a custom kernel on their development machine.
This is no problem if the new kernel fails to boot, because the bootloader (out of scope in LFD103) will probably fall back to the old kernel. But if the new kernel boots and is unstable, students might want to revert to the old kernel for fear of data loss or some other problem. There's no material on bootloaders: students do not learn how to revert the installation. I'm surprised none of these risks are mentioned in the course material.
Consider updating the course material to use a virtual machine, preferably QEMU, so that students can do the exercises without putting their development machine (and personal data!) at risk.
As a student of kernel development, I want to learn techniques that will be useful day-to-day. My personal laptop is not always the target machine for kernel development. VMs are the practical solution to this problem, and if LFD103 doesn't teach it, students will have to learn about it somewhere else.
Comments
-
Thank you for the suggestion. I will consider it for the next revision of this course.
1 -
You might also consider using Alpine or Void Linux inside a VM due to the small size and quick installation. I'm trying out Alpine for this course right now, and if I can't get it to work easily, I will try Void next. Alpine's bootloader isn't booting my custom kernel because it's configured differently than the kernel install script expects. Also, Alpine doesn't have good documentation for installing a custom kernel. Aside from these snags, the Alpine Virt ISO works well with QEMU; it's the only image I've tried so far that works out of the box with QEMU's
-nographicflag.I understand that adding virtualization to the course expands its complexity, potentially deterring newcomers. One option is for the course to ship some scripts that streamline the process. It would be nice if we could avoid such things, as hiding complexity isn't always in the best interest of learning. Better to find an existing distro that is small, installs quickly, and requires little configuration.
0 -
This course serves as prerequisite for mentoorship project that often require developing on real hardware. Candidates applying for mentorship project are expected to have a system for them even go through the screening process. Quick install isn't necessarily the goal for this course. That being said, I see value in adding a bit more info on qemu case and cover how to remove installed kernel.
0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 769 Linux Foundation IT Professional Programs
- 379 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 102 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 7 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 14 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 4 System Administration Training
- 1 System Engineering Training
- 2 Web & Application Development Training
- 796 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 91 Storage
- 771 Linux Distributions
- 81 Debian
- 68 Fedora
- 23 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 125 Mobile Computing
- 20 Android
- 90 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 398 Off Topic
- 122 Introductions
- 32 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 704 Software Development
- 1K Software
- 406 Applications
- 182 Command Line
- 5 Compiling/Installing
- 70 Games
- 318 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)