Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Load UK Keyboard Layout
- loadkeys uk
- ## Disk partitioning with cfdisk
- cfdisk
- #Boot
- 1. partition100 - 200 MB Bootable
- # Swap depending on memory size
- 2. partition(Swap [82])
- #Root
- 3. partition /
- #Home
- 4. partition/home/
- #format partitions
- mkfs.ext2 /dev/sda1/
- mkswap /dev/sda2/
- mkfs.ext4 /dev/sda3/
- mkfs.ext4 /dev/sda4/
- #mount partitions
- mount /dev/sda3 /mnt
- mkdir -p /mnt/boot
- mount /dev/sda1 /mnt/boot
- mkdir -p /mnt/home
- mount /dev/sda4 /mnt/home
- mkswap /dev/sda2
- swapon /dev/sda2
- #Install the base system
- pacstrap /mnt base base-devel sudo gpm gdbm iproute2 iw net-tools netcfg pacman-mirrorlist networkmanager
- #Install boot loader grup2
- pacstrap /mnt grub-bios
- #Generate a fstab with the following command
- genfstab -p /mnt >> /mnt/etc/fstab
- # Next, go into the newly installed system: (chroot)
- arch-chroot /mnt
- #Here enter the PC name (and then save and close)
- nano /etc/hostname
- # Your Current Time Zone (link) up.
- ln -s /usr/share/zoneinfo/Europe/London /etc/localtime
- # Uncomment on your locale parameter.
- nano /etc/locale.gen
- #after that enter:
- locale-gen
- # Configure / etc mkinitcpio.conf / as needed
- # and create an initial ramdisk:
- mkinitcpio -p linux
- #Bootloader configuration & installation:
- grub-mkconfig -o /boot/grub/grub.cfg
- grub-install /dev/sda
- #The Language Preference (Locale):
- nano /etc/locale.conf
- #Enter this 2 Lines
- LANG=en_GB.UTF-8
- LC_COLLATE=C
- #Setting the keyboard layout:
- nano /etc/vconsole.conf
- KEYMAP=de-latin1-nodeadkeys
- #Configuration / etc / pacman.conf
- # For 64 Bit Only
- nano /etc/pacman.conf
- # Uncomment this 3 Lines
- [multilib]
- SigLevel = PackageRequired TrustedOnly
- Include = /etc/pacman.d/mirrorlist
- #Configure Clock
- hwclock --systohc --utc
- #Set root Password
- passwd
- #exit the arch-chroot
- exit
- umount /mnt/boot
- umount /mnt/home
- umount /mnt
- #reboot the System
- reboot
- #Enable The Networkmanager
- systemctl enable NetworkManager
- #Clean Reboot
- systemctl reboot
- #Pacman Refresh
- pacman -Syu
- #Install Other necessary services
- pacman -S acpid ntp dbus avahi cups
- #Activate this Services
- systemctl enable cronie
- systemctl enable acpid
- systemctl enable ntpd
- systemctl enable avahi-daemon
- systemctl enable cups
- ##Automatic time setting
- #Add the server for your country
- nano /etc/ntp.conf
- Once you know which ntp servers you want to use add the servers to /etc/ntp.conf as shown below:
- server 0.uk.pool.ntp.org iburst #UK
- server 1.uk.pool.ntp.org iburst #UK
- server 2.uk.pool.ntp.org iburst #UK
- server 3.uk.pool.ntp.org iburst #UK
- #Sync the Time
- ntpd -gq
- hwclock -w
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement