- Minimal: The ISO image is about 400MB. This size is half of Archiso.
- Easy: Installation is just copying the system files. So installable offline as well.
- Compatible: System follows upstream Debian. Basic firmware and basic middlewares are included by default.
Login with the following information:
- Username:
mindeb
- Password:
mindeb
List available keyboard layouts:
ls /usr/share/keymaps/*
Set the keyboard layout:
loadkeys {keymap}
{keymap}
example:jp106
sudo -s
lsblk
Optionally, destroy data structures:
sgdisk -Z '{disk}'
Partition the disks:
cgdisk '{disk}'
- The disk must have the EFI system partition and the root partition.
- The root partition must have the partition name
mindeb
.
- EFI system partition
- First sector: default
- Size in sectors:
300M
- Hex code or GUID:
ef00
- Partition name: default
- Root partition
- First sector: default
- Size in sectors: default
- Hex code or GUID: default
- Partition name:
mindeb
mkfs.fat -F 32 '{EFI system partition}'
mkfs.ext4 '{Root partition}'
{EFI system partition}
example:/dev/sda1
{Root partion}
example:/dev/sda2
Mount the root partition to /mnt
:
mount '{Root partition}' /mnt
Mount the EFI system partition to /mnt/boot/efi
:
mount --mkdir '{EFI system partition}' /mnt/boot/efi
cp -Ta /run/live/rootfs/10-main.squashfs /mnt
/run/live/rootfs/10-main.squashfs
is the entry point for the system files to be copied.
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
Set the timezone:
ln -fs '/usr/share/zoneinfo/{timezone}' /etc/localtime
{timezone}
example:UTC
Generate /etc/adjtime
:
hwclock --systohc
Edit /etc/locale.gen
and uncomment needed locales.
{locale}
{locale}
example:en_US.UTF-8 UTF-8
Generate the locales:
locale-gen
Update the default locale:
update-locale LANG='{lang}'
{lang}
example:en_US.UTF-8
Set the keyboard layout:
dpkg-reconfigure console-data
Edit /etc/hostname
.
{hostname}
{hostname}
example:mindeb
Add a user:
adduser '{username}'
{username}
example:alice
Add a user to sudo
group (recommended):
adduser '{username}' sudo
Exit the new system:
exit
Restart the machine:
reboot
./bin/mindeb-build
OS: Debian-based Linux distribution Commands:
mmdebstrap
arch-chroot
mkfs.fat
mksquashfs
xorriso
sudo
(optional)
sudo apt -y install mmdebstrap arch-install-scripts dosfstools squashfs-tools \
xorriso sudo
./bin/mindeb-run
qemu-img
qemu-system-x86_64
sudo apt -y install qemu-utils qemu-system-x86