Kernel Installation Errors (lesson 7)
Hi, I am new to kernel development and enjoying it due to my recent learning of operating systems. Was following the tutorial of "Installing the New Kernel" (had copied all configs files and compiled them successfully....(I hope)).
But while running the final installation command su -c "make modules_install install"
It gives me some errors: Traceback attached below.
sed: can't read modules.order: No such file or directory Makefile:1474: recipe for target '_modinst_' failed make[1]: *** [_modinst_] Error 2 Makefile:335: recipe for target '__build_one_by_one' failed make: *** [__build_one_by_one] Error 2
What could be the possible reason and how can it be resolved?
Thanks in advanced!
Answers
-
This usually means kernel compile failed - take a look to see if kernel compile worked. If it did you will see kernel and modules in you repo
0 -
@ShuahKhanLF said:
This usually means kernel compile failed - take a look to see if kernel compile worked. If it did you will see kernel and modules in you repoI can see kernel directory but not the modules, is there anything I need to do?
0 -
@infinity1729 said:
(had copied all configs files and compiled them successfully....(I hope)).what do you mean by "all configs files"? I thought in lesson 7, it mentioned only one config file. No matter by which means,
make menuconfigorcp /boot/config .configormake localmodconfig, the final result is the same, have a workable.configfile.
could you please attach themake alllog, if it still troubles you.0
Categories
- All Categories
- 178 LFX Mentorship
- 178 LFX Mentorship: Linux Kernel
- 772 Linux Foundation IT Professional Programs
- 382 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
- 19 Cloud & Containers Training
- 2 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 5 System Administration Training
- 1 System Engineering Training
- 3 Web & Application Development Training
- 797 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 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
- 467 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 99 Linux Security
- 79 Network Management
- 101 System Management
- 46 Web Management
- 136 Mobile Computing
- 20 Android
- 101 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 402 Off Topic
- 125 Introductions
- 33 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 709 Software Development
- 1K Software
- 416 Applications
- 182 Command Line
- 5 Compiling/Installing
- 71 Games
- 319 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)