Skip to content

Linux Arch

Prayag edited this page Apr 10, 2023 · 1 revision

Alpine Linux

Part 1

  1. download the iso from here https://alpinelinux.org/downloads/ At this time, I am downloading https://fr.alpinelinux.org/alpine/v3.4/releases/x86/alpine-3.4.6-x86.iso

  2. Create a VBox for alpine and attach the ISO

  3. Change the VBox network adaptor so that there is internet in the VBox. I'm using Bridge Adaptor.

  4. start the VBox and login as root user.

  5. setup-alipne with the same command which will configure Keyboard layout, timezone, network config, boot config.

  6. apk updade followed by by setup-xorg-base, apk add xfce4. (setup-xorg-base may need rc-update add mdev sysinit)

  7. rc-service dbus start

Reference

https://wiki.alpinelinux.org/wiki/XFCE_Setup

Part 2

  1. apk add lxmd followed by rc-service lxdm start or startxfce4

  2. a dark screen pops up, looks like GUI

Ref

https://wiki.alpinelinux.org/wiki/Gnome_Setup

Arch

http://wideaperture.net/blog/?p=3851 http://www.cs.columbia.edu/~jae/4118-LAST/arch-setup-2016-1.html

Step Five: Getting Started and Partitioning Your Virtual Hard Drive

make four partitions

ls /dev gdisk /dev/sda Command (? for help):n Command (? for help):n Command (? for help):n Command (? for help):n

Step 6: Formatting and Mounting Your New Disk Partitions

mkfs -t ext4 /dev/sda1
mkfs -t ext4 /dev/sda3
mkfs -t ext4 /dev/sda4

 mkswap /dev/sda2

Step 7: Mounting the New Hard Drive Partitions

swapon /dev/sda2
mount /dev/sda3 /mnt
ls -l 
lost.found

mkdir /mnt/boot 
mkdir /mnt/home

mount /dev/sda1 /mnt/boot
mount /dev/sda4 /mnt/ home

Step 8: Installing Arch Linux

pacstrap /mnt base base-devel

Step 9: Generating the ‘fstab’ File

genfstab -p /mnt >> /mnt/etc/fstab
more /mnt/etc/fstab

Step 10: Initial Installation of the Boot Loader

pacstrap /mnt syslinux

Step 11: Configuring the New Linux Installation on Your Hard Drive

Clone this wiki locally