User Tools


root:void

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
root:void [2025/11/18 10:46] marlonivoroot:void [2025/11/18 11:29] (current) marlonivo
Line 1: Line 1:
 ### **1. Partition anlegen** ### **1. Partition anlegen**
 +<code>
 cfdisk /dev/sda cfdisk /dev/sda
 # neue primäre Partition, ext4, bootable=on # neue primäre Partition, ext4, bootable=on
---- +</code>
  
 ### **2. Dateisystem erstellen** ### **2. Dateisystem erstellen**
 +<code>
 mkfs.ext4 /dev/sda1 mkfs.ext4 /dev/sda1
---- +</code>
  
 ### **3. Partition mounten** ### **3. Partition mounten**
 +<code>
 mkdir -p /mnt/sysroot mkdir -p /mnt/sysroot
 mount /dev/sda1 /mnt/sysroot mount /dev/sda1 /mnt/sysroot
 +</code>
  
 ### **4. Void-ROOTFS herunterladen** ### **4. Void-ROOTFS herunterladen**
  
-```+<code>
 cd /tmp cd /tmp
-wget https://repo-default.voidlinux.org/live/current/void-x86_64-ROOTFS.tar.xz +wget https://repo-default.voidlinux.org/live/current/void-x86_64-ROOTFS-20250202.tar.xz 
-```+</code>
  
---- 
  
 ### **5. ROOTFS entpacken** ### **5. ROOTFS entpacken**
  
-``` +<code> 
-tar -xpf void-x86_64-ROOTFS.tar.xz -C /mnt/sysroot +tar -xpf void-x86_64-ROOTFS-20250202.tar.xz -C /mnt/sysroot 
-```+</code>
  
---- 
  
 ### **6. Chroot vorbereiten** ### **6. Chroot vorbereiten**
  
-```+<code>
 mount -t proc proc /mnt/sysroot/proc mount -t proc proc /mnt/sysroot/proc
 mount -t sysfs sys /mnt/sysroot/sys mount -t sysfs sys /mnt/sysroot/sys
 mount -o bind /dev /mnt/sysroot/dev mount -o bind /dev /mnt/sysroot/dev
-```+mount -o bind /run /mnt/sysroot/run 
 +</code>
  
---- 
  
 ### **7. In das ROOTFS chrooten** ### **7. In das ROOTFS chrooten**
  
-```+<code>
 chroot /mnt/sysroot /bin/bash chroot /mnt/sysroot /bin/bash
-```+</code>
  
---- 
  
 ### **8. Basis installieren** ### **8. Basis installieren**
  
-``` +<code> 
-xbps-install -Suy xbps +xbps-install -xbps 
-xbps-install -y base-system +xbps-install -y base-system syslinux
-``` +
- +
---- +
- +
-### **9. Kernel installieren** +
- +
-``` +
-xbps-install -y linux +
-``` +
- +
---- +
- +
-### **10. Syslinux installieren (SeaBIOS)** +
- +
-``` +
-xbps-install -y syslinux+
 extlinux --install /boot extlinux --install /boot
-``` +</code>
- +
----+
  
 ### **11. syslinux.cfg erstellen** ### **11. syslinux.cfg erstellen**
  
-```+<code>
 cat > /boot/syslinux.cfg <<EOF cat > /boot/syslinux.cfg <<EOF
 DEFAULT void DEFAULT void
 LABEL void LABEL void
-LINUX /boot/vmlinuz +LINUX /boot/vmlinuz-VERSION 
-INITRD /boot/initramfs-linux.img+INITRD /boot/initramfs-VERSION.img
 APPEND root=/dev/sda1 rw APPEND root=/dev/sda1 rw
 EOF EOF
-```+</code>
  
---- 
  
 ### **12. Syslinux-MBR schreiben** ### **12. Syslinux-MBR schreiben**
  
-```+<code>
 dd if=/usr/lib/syslinux/bios/mbr/mbr.bin of=/dev/sda dd if=/usr/lib/syslinux/bios/mbr/mbr.bin of=/dev/sda
-```+</code>
  
---- 
  
 ### **13. Chroot verlassen** ### **13. Chroot verlassen**
  
-```+<code>
 exit exit
-```+</code>
  
---- 
  
 ### **14. Aushängen** ### **14. Aushängen**
  
-```+<code>
 umount -R /mnt/sysroot umount -R /mnt/sysroot
 sync sync
-```+</code>
  
---- 
  
 ### **15. Reboot** ### **15. Reboot**
  
-```+<code>
 reboot reboot
-``` +</code>
- +
---- +
 **SeaBIOS lädt jetzt direkt Syslinux, Syslinux lädt Kernel+Initramfs, Void bootet — ohne USB, ohne GRUB.** **SeaBIOS lädt jetzt direkt Syslinux, Syslinux lädt Kernel+Initramfs, Void bootet — ohne USB, ohne GRUB.**