User Tools


kernel:stali

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kernel:stali [2025/11/18 10:13] marlonivokernel:stali [2025/11/18 10:37] (current) – [3.0] marlonivo
Line 42: Line 42:
 mkfs.ext4 /dev/sda1 mkfs.ext4 /dev/sda1
 mkfs.ext4 /dev/sda2 mkfs.ext4 /dev/sda2
-</code> 
- 
-Mount the disk partition 
-<code> 
-; sudo su 
-# mkdir /mnt/rootfs-x86_64 
-# mount /dev/sdX /mnt/rootfs-x86_64 
-</code> 
- 
-Clone rootfs-x86_64 
-<code> 
-# cd /mnt 
-# git clone http://git.sta.li/rootfs-x86_64 
-</code> 
- 
-Setup the system 
-<code> 
-# cd /mnt/rootfs-x86_64/etc 
-# # adjust rc.init/exit, etc. 
-</code> 
- 
-Prepare chroot 
-<code> 
-# mount -t proc proc /mnt/rootfs-x86_64/proc 
-# mount --rbind /sys /mnt/rootfs-x86_64/sys 
-# mount --rbind /dev /mnt/rootfs-x86_64/dev 
-# exit 
 </code> </code>
  
Line 89: Line 62:
 You can now see the exetubable kernel file under `/mnt/rootfs/boot/vmlinuz-6.6.3`. You can now see the exetubable kernel file under `/mnt/rootfs/boot/vmlinuz-6.6.3`.
  
-===== 3.0 =====+===== 2.0 =====
 ---- ----
  
 syslinux.cfg erstellen: syslinux.cfg erstellen:
  
-```+<code>
 cat > /boot/syslinux.cfg <<EOF cat > /boot/syslinux.cfg <<EOF
 DEFAULT void DEFAULT void
Line 102: Line 75:
 APPEND root=/dev/sda1 rw APPEND root=/dev/sda1 rw
 EOF EOF
-```+</code>
  
----+===== 3.0 ===== 
 +Mount the disk partition 
 +<code> 
 +; sudo su 
 +# mkdir /mnt/rootfs-x86_64 
 +# mount /dev/sdX /mnt/rootfs-x86_64 
 +</code>
  
-### **12Syslinux-MBR schreiben**+Clone rootfs-x86_64 
 +<code> 
 +cd /mnt 
 +git clone http://git.sta.li/rootfs-x86_64 
 +</code>
  
-``` +Setup the system 
-dd if=/usr/lib/syslinux/bios/mbr/mbr.bin of=/dev/sda +<code> 
-```+# cd /mnt/rootfs-x86_64/etc 
 +# # adjust rc.init/exit, etc. 
 +</code>
  
----+Prepare chroot 
 +<code> 
 +# mount -t proc proc /mnt/rootfs-x86_64/proc 
 +# mount --rbind /sys /mnt/rootfs-x86_64/sys 
 +# mount --rbind /dev /mnt/rootfs-x86_64/dev 
 +</code>
  
-### **13. Chroot verlassen**+Syslinux-MBR schreiben
  
-```+<code> 
 +dd if=/usr/lib/syslinux/bios/mbr/mbr.bin of=/dev/sda
 exit exit
-``` 
- 
---- 
- 
-### **14. Aushängen** 
- 
-``` 
 umount -R /mnt/sysroot umount -R /mnt/sysroot
 sync sync
-``` 
- 
---- 
- 
-### **15. Reboot** 
- 
-``` 
 reboot reboot
-``` +</code>
- +
---- +
- +
-**SeaBIOS lädt jetzt direkt Syslinux, Syslinux lädt Kernel+Initramfs, Void bootet — ohne USB, ohne GRUB.** +
- +
 ===== 4.0 ===== ===== 4.0 =====
 ---- ----