SkillAgentSearch skills...

EPkgOS

EPkgOS is a Linux Distribution, which uses our own epkg package manager.

Install / Use

/learn @ENux-Distro/EPkgOS
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Installing EPkgOS

This guide will walk you through a manual installation of EPkgOS.

Warning: This assumes /dev/sda is your target disk. Backup your data.

1. Partitioning

Use cfdisk /dev/sda.

UEFI: Use a GPT label.

Partition 1: 300MB (Type: EFI System).

Partition 2: Remainder (Type: Linux Root).

BIOS: Use a DOS label.

Partition 1: Remainder (Type: Primary, Bootable/Active).

2. Formatting

Root: mkfs.ext4 /dev/sda1 (or /dev/sda2 for UEFI).

EFI (UEFI only): mkfs.fat -F 32 /dev/sda1.

3. Mounting

mkdir -vp /install

Replace X with your root partition (1 for BIOS, 2 for UEFI)

mount /dev/sdaX /install

UEFI Only:

mkdir -p /install/boot/efi mount /dev/sda1 /install/boot/efi

4. System Deployment

Copy the OS core and boot files:

Copy system hierarchy

cp -va /bin /sbin /etc /home /lib /lib64 /usr /var /install/

Copy kernel and initramfs

mkdir -p /install/boot cp -va /boot/* /install/boot/

Create API filesystems and essential nodes

mkdir -p /install/{dev,proc,sys,tmp,run,mnt,root} cp -a /dev/console /dev/null /install/dev/

Ensure Systemd is set as the Init process

ln -sf /usr/lib/systemd/systemd /install/sbin/init

5. Bootloader (GRUB)

You can install GRUB directly from the Live environment:

BIOS: grub-install --target=i386-pc --boot-directory=/install/boot /dev/sda

UEFI: grub-install --target=x86_64-efi --efi-directory=/install/boot/efi --boot-directory=/install/boot --removable /dev/sda

6. Configure GRUB

Create /install/boot/grub/grub.cfg. Note: If you are on UEFI, change root=/dev/sda1 to root=/dev/sda2.

set timeout=5 set default=0

menuentry "EPkgOS" { search --no-floppy --file --set=root /vmlinuz linux /vmlinuz root=/dev/sda1 rw rootfstype=ext4 quiet initrd /initrfs.img }

7. Finalize

sync

systemctl reboot (with root)

And voila, you have installed EPkgOS succesfully

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated10d ago
Forks1

Languages

HTML

Security Score

70/100

Audited on Mar 21, 2026

No findings