User Tools


root:void

This is an old revision of the document!


### 1. Partition anlegen cfdisk /dev/sda # neue primäre Partition, ext4, bootable=on —

### 2. Dateisystem erstellen mkfs.ext4 /dev/sda1 —

### 3. Partition mounten

mkdir -p /mnt/sysroot mount /dev/sda1 /mnt/sysroot

### 4. Void-ROOTFS herunterladen

``` cd /tmp wget https://repo-default.voidlinux.org/live/current/void-x86_64-ROOTFS.tar.xz ```

### 5. ROOTFS entpacken

``` tar -xpf void-x86_64-ROOTFS.tar.xz -C /mnt/sysroot ```

### 6. Chroot vorbereiten

``` mount -t proc proc /mnt/sysroot/proc mount -t sysfs sys /mnt/sysroot/sys mount -o bind /dev /mnt/sysroot/dev ```

### 7. In das ROOTFS chrooten

``` chroot /mnt/sysroot /bin/bash ```

### 8. Basis installieren

``` xbps-install -Suy xbps xbps-install -y base-system ```

### 9. Kernel installieren

``` xbps-install -y linux ```

### 10. Syslinux installieren (SeaBIOS)

``` xbps-install -y syslinux extlinux –install /boot ```

### 11. syslinux.cfg erstellen

``` cat > /boot/syslinux.cfg «EOF DEFAULT void LABEL void LINUX /boot/vmlinuz INITRD /boot/initramfs-linux.img APPEND root=/dev/sda1 rw EOF ```

### 12. Syslinux-MBR schreiben

``` dd if=/usr/lib/syslinux/bios/mbr/mbr.bin of=/dev/sda ```

### 13. Chroot verlassen

``` exit ```

### 14. Aushängen

``` umount -R /mnt/sysroot sync ```

### 15. Reboot

``` reboot ```

SeaBIOS lädt jetzt direkt Syslinux, Syslinux lädt Kernel+Initramfs, Void bootet — ohne USB, ohne GRUB.