1. Installing Snukware
2. Working with Snukware
3. Configure your new Snukware System
1.1 Preparing disks EFI
Viewing the current partition table
root@snukwareiso ~ # fdisk -l
Disk /dev/vda: 90 GiB, 96636764160 bytes, 188743680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop0: 4.79 GiB, 5144133632 bytes, 10047136 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@snukwareiso ~ # fdisk /dev/vda
Welcome to fdisk (util-linux 2.41.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new DOS (MBR) disklabel with disk identifier 0x6084f945.
Command (m for help): g
Created a new GPT disklabel (GUID: 4EABBCAA-40E0-4E82-A280-9D79E311286E).
Command (m for help): n
Partition number (1-128, default 1): 1
First sector (2048-188743646, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-188743646, default 188741631): +500M
Created a new partition 1 of type 'Linux filesystem' and of size 500 MiB.
Command (m for help): t
Selected partition 1
Partition type or alias (type L to list all): 1
Changed type of partition 'Linux filesystem' to 'EFI System'.
Command (m for help): n
Partition number (2-128, default 2): 2
First sector (1026048-188743646, default 1026048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (1026048-188743646, default 188741631): +1G
Created a new partition 2 of type 'Linux filesystem' and of size 1 GiB.
Command (m for help): n
Partition number (3-128, default 3): 3
First sector (3123200-188743646, default 3123200):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (3123200-188743646, default 188741631): +4G
Created a new partition 3 of type 'Linux filesystem' and of size 4 GiB.
Command (m for help): t
Partition number (1-3, default 3): 3
Partition type or alias (type L to list all): 19
Changed type of partition 'Linux filesystem' to 'Linux swap'.
Command (m for help): n
Partition number (4-128, default 4): 4
First sector (11511808-188743646, default 11511808):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (11511808-188743646, default 188741631):
Created a new partition 4 of type 'Linux filesystem' and of size 84.5 GiB.
Command (m for help): p
Disk /dev/vda: 90 GiB, 96636764160 bytes, 188743680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 4EABBCAA-40E0-4E82-A280-9D79E311286E
Device Start End Sectors Size Type
/dev/vda1 2048 1026047 1024000 500M EFI System
/dev/vda2 1026048 3123199 2097152 1G Linux filesystem
/dev/vda3 3123200 11511807 8388608 4G Linux swap
/dev/vda4 11511808 188741631 177229824 84.5G Linux filesystem
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
Format EFI partition ( /boot/efi ) with fat32
root@snukwareiso ~ # mkfs.fat -F32 /dev/vda1
mkfs.fat 4.2 (2021-01-31)
Format boot partition ( /boot ) with ext4
root@snukwareiso ~ # mkfs.ext4 /dev/vda2
mke2fs 1.47.3 (8-Jul-2025)
Discarding device blocks: done
Creating filesystem with 262144 4k blocks and 65536 inodes
Filesystem UUID: cef8550f-d1f1-4428-8553-5b74f5bd9ba3
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
Activating the swap partition
root@snukwareiso ~ # mkswap /dev/vda3
Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)
no label, UUID=586cc525-ce7e-4d26-b541-a0f1d6adfcac
root@snukwareiso ~ # swapon /dev/vda3
Format root partion ( / ) with ext4
root@snukwareiso ~ # mkfs.ext4 /dev/vda4
mke2fs 1.47.3 (8-Jul-2025)
Discarding device blocks: done
Creating filesystem with 22153728 4k blocks and 5545984 inodes
Filesystem UUID: 4c41a070-bf68-4c17-a186-83af87561a8e
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000
Allocating group tables: done
Writing inode tables: done
Creating journal (131072 blocks): done
Writing superblocks and filesystem accounting information: done
Mounting efi, boot, and root partition
root@snukwareiso ~ # mount /dev/vda4 /mnt
root@snukwareiso ~ # mkdir /mnt/boot
root@snukwareiso ~ # mount /dev/vda2 /mnt/boot
root@snukwareiso ~ # mkdir /mnt/boot/efi
root@snukwareiso ~ # mount /dev/vda1 /mnt/boot/efi
List relevant blockdevices
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
oop0 7:0 0 4.8G 1 loop /run/archiso/airootfs
sr0 11:0 1 5.3G 0 rom /run/archiso/bootmnt
vda 254:0 0 90G 0 disk
├─vda1 254:1 0 500M 0 part /mnt/boot/efi
├─vda2 254:2 0 1G 0 part /mnt/boot
├─vda3 254:3 0 4G 0 part [SWAP]
└─vda4 254:4 0 84.5G 0 part /mnt
1.2 Preparing disks MBR
Viewing the current partition table
root@snukiso ~ # fdisk -l
Disk /dev/vda: 90 GiB, 96636764160 bytes, 188743680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop0: 4.79 GiB, 5144133632 bytes, 10047136 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@snukwareiso ~ # fdisk /dev/vda
Welcome to fdisk (util-linux 2.41.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new DOS (MBR) disklabel with disk identifier 0x5c72ea9c.
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-188743679, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-188743679, default 188743679): +1G
Created a new partition 1 of type 'Linux' and of size 1 GiB.
Command (m for help): n
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (2-4, default 2): 2
First sector (2099200-188743679, default 2099200):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2099200-188743679, default 188743679): +4G
Created a new partition 2 of type 'Linux' and of size 4 GiB.
Command (m for help): t
Partition number (1,2, default 2): 2
Hex code or alias (type L to list all): 82
Changed type of partition 'Linux' to 'Linux swap / Solaris'.
Command (m for help): n
Partition type
p primary (2 primary, 0 extended, 2 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (3,4, default 3): 3
First sector (10487808-188743679, default 10487808):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (10487808-188743679, default 188743679):
Created a new partition 3 of type 'Linux' and of size 85 GiB.
Command (m for help): a
Partition number (1-3, default 3): 1
The bootable flag on partition 1 is enabled now.
Command (m for help): p
Disk /dev/vda: 90 GiB, 96636764160 bytes, 188743680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x5c72ea9c
Device Boot Start End Sectors Size Id Type
/dev/vda1 * 2048 2099199 2097152 1G 83 Linux
/dev/vda2 2099200 10487807 8388608 4G 82 Linux swap / Solaris
/dev/vda3 10487808 188743679 178255872 85G 83 Linux
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
Format boot partion ( /boot ) with ext4
root@snukwareiso ~ # mkfs.ext4 /dev/vda1
mke2fs 1.47.3 (8-Jul-2025)
Discarding device blocks: done
Creating filesystem with 262144 4k blocks and 65536 inodes
Filesystem UUID: 37bbf4d8-1b15-407f-b905-f3913568943b
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
Activating the swap partition
root@snukwareiso ~ # mkswap /dev/vda2
Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)
no label, UUID=7e414a2c-6c4a-4e6e-8545-beafad64e1e6
root@snukwareiso ~ # swapon /dev/vda2
Format root partion ( / ) with ext4
root@snukwareiso ~ # mkfs.ext4 /dev/vda3
mke2fs 1.47.3 (8-Jul-2025)
Discarding device blocks: done
Creating filesystem with 22281984 4k blocks and 5570560 inodes
Filesystem UUID: d36d7a06-9271-4fdd-8340-70fbfea7906f
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000
Allocating group tables: done
Writing inode tables: done
Creating journal (131072 blocks): done
Writing superblocks and filesystem accounting information: done
Mounting root and boot partition
root@snukwareiso ~ # mount /dev/vda3 /mnt
root@snukwareiso ~ # mkdir /mnt/boot
root@snukwareiso ~ # mount /dev/vda1 /mnt/boot
List relevant blockdevices
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 4.8G 1 loop /run/archiso/airootfs
sr0 11:0 1 5.3G 0 rom /run/archiso/bootmnt
vda 254:0 0 90G 0 disk
├─vda1 254:1 0 1G 0 part /mnt/boot
├─vda2 254:2 0 4G 0 part [SWAP]
└─vda3 254:3 0 85G 0 part /mnt
1.3 Installing Snukware files
root@snukwareiso ~ # snukstrap /mnt
Finally, umount /mnt and reboot your fresh installed Snukware Linux
root@snukwareiso ~ # umount -R /mnt
root@snukwareiso ~ # reboot