Howto mkosi: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
(Created page with "= installation = install package on archlinux: pacman -S mkosi mtools systemd-ukify --noconfirm = create debian img = install packages: pacman -S debootstrap debian-archive-keyring apt --noconfirm create image: mkosi --distribution debian --release bookworm --format disk --bootable --checksum --root-password password --package linux-image-generic,systemd,systemd-boot,systemd-sysv,udev,dbus --package openssh-client,vim --output debian.raw = create archlinux img = insta...")
 
Line 7: Line 7:
create image:
create image:
  mkosi --distribution debian --release bookworm --format disk --bootable --checksum --root-password password --package linux-image-generic,systemd,systemd-boot,systemd-sysv,udev,dbus --package openssh-client,vim --output debian.raw
  mkosi --distribution debian --release bookworm --format disk --bootable --checksum --root-password password --package linux-image-generic,systemd,systemd-boot,systemd-sysv,udev,dbus --package openssh-client,vim --output debian.raw
= create archlinux img =
= create arch img =
install packages:
install packages:
  pacman -S  arch-install-scripts --noconfirm
  pacman -S  arch-install-scripts --noconfirm
create image:
create image:
  mkosi --distribution arch --format disk --bootable --checksum --root-password password --package linux,systemd,udev,dbus --package openssh-client,vim --output arch.img
  mkosi --distribution arch --format disk --bootable --checksum --root-password password --package linux,systemd,udev,dbus --package openssh-client,vim --output arch.img

Revision as of 02:03, 15 May 2024

installation

install package on archlinux:

pacman -S mkosi mtools systemd-ukify --noconfirm

create debian img

install packages:

pacman -S debootstrap debian-archive-keyring apt --noconfirm

create image:

mkosi --distribution debian --release bookworm --format disk --bootable --checksum --root-password password --package linux-image-generic,systemd,systemd-boot,systemd-sysv,udev,dbus --package openssh-client,vim --output debian.raw

create arch img

install packages:

pacman -S  arch-install-scripts --noconfirm

create image:

mkosi --distribution arch --format disk --bootable --checksum --root-password password --package linux,systemd,udev,dbus --package openssh-client,vim --output arch.img