GNUrama Linux

Powered by GNU/Linux.


Partition the disk by using fdisk, gdisk or parted.
fdisk /dev/sdX

Mount the partition:
mount /dev/sdXX /mnt

Setup the chroot environment:
setup-chroot -m /mnt

Install the base packages:
pm -A base rootdir=/mnt

Install additional groups:
pm -A gnome gnome-extra rootdir=/mnt

Install additional packages if needed:
pm -a sway terminology enlightenment firefox

Setup the grub bootloader:
grub-install --target=i386-pc --boot-directory=/mnt/boot /dev/sdX

Copy resolv.conf to /mnt directory:
cp /etc/resolv.conf /mnt/etc


Change root to /mnt directory:
enter-chroot /mnt

Set the root password:

Add a user:
useradd -m -G users,audio,video,wheel username
passwd username

Set the hostname:
echo "hostname" > /etc/hostname

Set the keymap:
echo "KEYMAP=us" > /etc/vconsole.conf

Set the locale:
echo "LANG=en_US.UTF-8" > /etc/locale.conf

Uncomment preferred locale in /etc/locale.gen and run:

Set the time zone:
ln -s /usr/share/zoneinfo/zone/subzone /etc/localtime

Generate the grub configuration:
grub-mkconfig -o /boot/grub/grub.cfg

Enable gnome display manager(gdm):
systemctl enable gdm

Enable network manager(NetworkManager):
systemctl enable NetworkManager