kernel:stali
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| kernel:stali [2025/11/18 09:22] – [2.0] marlonivo | kernel:stali [2025/11/18 10:37] (current) – [3.0] marlonivo | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Stali ===== | ===== Stali ===== | ||
| - | Prerequisites: | + | **Prerequisites: |
| + | First we wanna have an booted up live ISO to be equipped with all the necessary tools to install a proper linux | ||
| Then we need an ssh connection to copy and paste the commands from this guide onto the machine more easily: | Then we need an ssh connection to copy and paste the commands from this guide onto the machine more easily: | ||
| Line 43: | Line 44: | ||
| </ | </ | ||
| + | ===== 2.0 ===== | ||
| + | ---- | ||
| + | |||
| + | These are the necessary command to build the latest linux kernel: | ||
| + | < | ||
| + | pacman -Sy wget make gcc binutils bc bison flex elfutils cpio perl tar xz zsh-completion | ||
| + | cd / | ||
| + | wget https:// | ||
| + | tar -xf linux-6.6.3.tar.xz | ||
| + | cd linux-6.6.3 | ||
| + | make x86_64_defconfig | ||
| + | make -j$(nproc) | ||
| + | make modules_install INSTALL_MOD_PATH=/ | ||
| + | make install INSTALL_PATH=/ | ||
| + | </ | ||
| + | |||
| + | You can now see the exetubable kernel file under `/ | ||
| + | |||
| + | ===== 2.0 ===== | ||
| + | ---- | ||
| + | |||
| + | syslinux.cfg erstellen: | ||
| + | |||
| + | < | ||
| + | cat > / | ||
| + | DEFAULT void | ||
| + | LABEL void | ||
| + | LINUX / | ||
| + | INITRD / | ||
| + | APPEND root=/ | ||
| + | EOF | ||
| + | </ | ||
| + | |||
| + | ===== 3.0 ===== | ||
| Mount the disk partition | Mount the disk partition | ||
| < | < | ||
| Line 67: | Line 102: | ||
| # mount --rbind /sys / | # mount --rbind /sys / | ||
| # mount --rbind /dev / | # mount --rbind /dev / | ||
| - | # exit | ||
| </ | </ | ||
| - | ===== 2.0 ===== | + | Syslinux-MBR schreiben |
| - | ---- | + | |
| - | These are the necessary command to build the latest linux kernel: | ||
| < | < | ||
| - | pacman -Sy wget make gcc binutils bc bison flex elfutils cpio perl tar xz zsh-completion | + | dd if=/usr/lib/syslinux/bios/mbr/mbr.bin of=/dev/sda |
| - | cd /tmp/kernelbuild | + | exit |
| - | wget https://cdn.kernel.org/pub/linux/kernel/v6.x/ | + | umount |
| - | tar -xf linux-6.6.3.tar.xz | + | sync |
| - | cd linux-6.6.3 | + | reboot |
| - | make x86_64_defconfig | + | |
| - | make -j$(nproc) | + | |
| - | make modules_install INSTALL_MOD_PATH=/mnt/rootfs | + | |
| - | make install INSTALL_PATH=/ | + | |
| </ | </ | ||
| - | + | ===== 4.0 ===== | |
| - | You can now see the exetubable kernel file under `/ | + | |
| - | + | ||
| - | ===== 3.0 ===== | + | |
| ---- | ---- | ||
| Read more: | Read more: | ||