This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
stuff [2023/12/12 15:15] admin |
stuff [2025/06/01 08:28] (current) me |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | [[slackware sudo]] | ||
- | https:// | ||
- | ================================================ | ||
- | using config: '/proc/config.gz' | + | https://archive.org/details/slackware1337 |
- | 8250_fintek config not found!! | + | |
- | *** | + | |
- | *** Compiler is too old. | + | |
- | *** Your GCC version: | + | |
- | *** | + | |
- | *** | + | |
- | scripts/Kconfig.include: | + | |
- | make[2]: *** [localmodconfig] Error 1 | + | |
- | make[1]: *** [localmodconfig] Error 2 | + | |
- | make: *** [__sub-make] Error 2 | + | |
- | bash-4.2# ls linux | + | |
- | ls: cannot access linux: No such file or directory | + | |
- | bash-4.2# pwd | + | |
- | /usr/ | + | |
- | bash-4.2# cd .. | + | |
- | bash-4.2# ls | + | |
- | linux linux-3.10.17 | + | |
- | GCC 4.8 will not compile linux 5.15.19 | ||
- | ====================================================================================== | ||
- | Quote: | ||
- | Originally Posted by Alien Bob View Post | ||
- | First, make sure that all hardware that you want your kernel to support is connected to the computer and powered on / configured (think of external USB, firewire drives, webcams, headphones etc). | ||
- | Then, run the following command in your kernel source directory: | + | user@Darkstar:~$ sudo qemu-system-x86_64 -enable-kvm -m 4096 -cdrom |
- | Code: | + | |
- | make localyesconfig | + | |
- | That will create a kernel with built-in support for all your hardware and not much more. | + | |
- | As a variation which creates modules for your hardware instead of compiling the drivers right into the kernel: | + | |
- | Code: | + | |
- | make localmodconfig | + | |
- | Eric | + | |
- | Eric, thanks so much. In my other tab of my browser this page is open: http://alien.slackbook.org/dokuwiki/...kernelbuilding Can't believe I am getting a reply from yoda himself within a few minutes of posting, surely the universe is trying to tell me something | + | |
- | ================================================================ | + | |
- | It's important to give to the toolchain used to build the kernel the location of the kernel source tree. Otherwise, even if the compilation runs perfectly, the installation may fail with errors about missing modules or parts. | + | |
- | The kernel source tree is specified through the KERNEL_TREE environment variable. It defaults to / | ||
- | export KERNEL_TREE=/ | ||
- | or define a symlink from / | + | sudo mount -t iso9660 -o loop slax-64bit-debian-12.2.0.iso |
- | ln -s / | ||
- | Of course, replace / | ||
- | make -j 32 bzImage modules && \ | + | You can delete users either through the user manager. Or if you have too many users and you use the default authentication, |
- | make -j 32 modules_install && \ | + | |
- | cp -v arch/x86/ | + | |
- | + | ||
- | --------------------------------------------------------------------- | + | |
- | slackpkg update | + | |
- | slackpkg upgrade aaa_glibc-solibs | + | |
- | slackpkg install-new | + | |
- | slackpkg upgrade-all | + | |
- | slackpkg clean-system | + | |
- | ---------------------------------------------------------------------- | + | |
- | build old kernel | + | |
- | https://www.vinnie.work/ | + | |
- | ----------------------------------- | + | |
xrandr -q | xrandr -q | ||
Line 69: | Line 19: | ||
Choose the name of the output you wish to change the resolution of, and: | Choose the name of the output you wish to change the resolution of, and: | ||
- | xrandr --output | + | <file c foo> |
----------------------------- | ----------------------------- | ||
Line 89: | Line 39: | ||
| | ||
- | {{: | + |