ArcoLinux -D -B 19.11 has been released

[INFO] Arch Install NVMe RAID 0 with KDE Plasma

Locked
gollenda
recruit crewman
Posts: 2
Joined: Thu Apr 18, 2019 4:45 am
United States of America
[INFO] Arch Install NVMe RAID 0 with KDE Plasma

Post by gollenda » Mon Sep 02, 2019 4:45 am

My hardware consists of Asus Zenith Extreme 1st Gen, 2950x and 2 Samsung 500 GB 970 EVO Plus NVMe drives.
Boot arch iso
ls /sys/firmware/efi {Ensure you are in uefi mode and bios nvme raid is off}
ping -c 3 google.com
timedatectl set-ntp true
fdisk -l {Note my drives show as nvme0n1 and nvme1n1}
cfdisk /dev/nvme0n1 {Note use gpt table}
create 550M
create 14G
create 480G
create 5G
write and exit
cfdisk /dev/nvme1n1
create 14G
create 480G
create 5G
write and exit
fdsik -l

mdadm --create --verbose --level=0 --metadata=1.2 --chunk=128 --raid-devices=2 /dev/md0 /dev/nvme0n1p2 /dev/nvme1n1p1
mdadm --create --verbose --level=0 --metadata=1.2 --chunk=128 --raid-devices=2 /dev/md1 /dev/nvme0n1p3 /dev/nvme1n1p2
mdadm --create --verbose --level=0 --metadata=1.2 --chunk=128 --raid-devices=2 /dev/md2 /dev/nvme0n1p4 /dev/nvme1n1p3
lvmdiskscan

pvcreate /dev/md0
pvcreate /dev/md1
pvcreate /dev/md2

vgcreate vg_swap /dev/md0
vgcreate vg_main /dev/md1
vgcreate vg_tmp /dev/md2
vgscan

lvcreate -l +100FREE vg_swap -n swap
lvcreate -L 80GiB vg_main -n rootfs
lvcreate -l +100FREE vg_main -n homefs
lvcreate -l +100FREE vg_tmp -n tmpfs
lvscan

mkswap /dev/mapper/vg_swap-swap
mkfs.ext4 /dev/mapper/vg_main-rootfs
mkfs.ext4 /dev/mapper/vg_main-homefs
mkfs.ext4 /dev/mapper/vg_tmp-tmpfs
swapon /dev/mapper/vg_swap-swap
mkfs.fat -F32 /dev/nvme0n1p1

mount /dev/mapper/vg_main-rootfs /mnt
mkdir /mnt/home
mkdir /mnt/tmp

mount /dev/mapper/vg_main-homefs /mnt/home
mount /dev/mapper/vg_tmp-tmpfs /mnt/tmp

pacstrap -i /mnt base base-devel
genfstab -U /mnt > /mnt/etc/fstab
arch-chroot /mnt /bin/bash
nano /etc/locale.gen {uncomment [en_US.UTF-8 UTF-8] ctrl o {enter} ctrl x {Note this is my local, check Arch Wiki if Different}
ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
hwclock --systohc --utc
nano /etc/mkinitcpio.conf
MODULES="dm_mod" {Note add dm_mod between the ""}
HOOKS="base...block mdadm_udev lvm2 filesystems ctrl o ctrl x {Note last line in hooks add mdadm_udev lvm2 between block & filesystems}
mkinitcpio -p linux
pacman -S grub efibootmgr
mkdir /boot/efi
mount /dev/nvme0n1p1 /boot/efi
grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi
grub-mkconfig -o /boot/grub/grub.cfg
mkdir /boot/efi/EFI/BOOT
cp /boot/efi/EFI/GRUB/grubx64.efi /boot/efi/EFI/BOOT/BOOTX64.EFI
nano /boot/efi/startup.nsh
bcf boot add 1 fs0:\EFI\GRUB\grubx64.efi "My GRUB bootloader" {Note the back slashes}
exit
ctrl o {enter} ctrl x
echo gusto > /etc/hostname {Note gusto is my computer name}
nano /etc/hosts
127.0.1.1 localhost.localdomain gusto ctrl o {enter} ctrl x
pacman -S net-tools
passwd
exit
umount -R /mnt
reboot {Note remove Flash drive and enter bios on startup, turn bios nvme raid on}

login: root
nano /etc/pacman.conf {uncomment multilib}
pacman -Syyu

pacman -S networkmanager
systemctl enable NetworkManager
pacman -S xorg xorg-server xorg-xinit xterm
useradd -m -g users -G wheel -s /bin/bash darrell {Note my name is darrell}
EDITOR=nano visudo
uncomment %wheel ALL=(ALL) ALL ctrl o {enter} ctrl x
passwd darrell
exit
login: darrell
echo "exec startkde" > ~/.xinitrc
sudo pacman -S xf86-video-amdgpu {Note I have amd video card}
sudo pacman -S plasma-desktop
sudo pacman -S sddm
systemctl enable sddm.service
sudo pacman -S konsole dolphin firefox kate

[[Go to spices, use Arcolinuxd scrips. Any desktop you want.]]
Last edited by gollenda on Mon Sep 02, 2019 3:27 pm, edited 1 time in total.

User avatar
erikdubois
Captain
Posts: 2628
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:
Belgium
Re: [OPEN] Arch Install NVMe RAID 0 with KDE Plasma

Post by erikdubois » Mon Sep 02, 2019 6:15 am

this is not a question ?

This is a how to post ?
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.

gollenda
recruit crewman
Posts: 2
Joined: Thu Apr 18, 2019 4:45 am
United States of America
Re: [OPEN] Arch Install NVMe RAID 0 with KDE Plasma

Post by gollenda » Mon Sep 02, 2019 3:29 pm

Sorry Erik,

This is a how to post. I'm still learning.

Thanks,
Darrell

User avatar
erikdubois
Captain
Posts: 2628
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:
Belgium
Re: [INFO] Arch Install NVMe RAID 0 with KDE Plasma

Post by erikdubois » Mon Sep 02, 2019 6:27 pm

Thanks for sharing the info
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.


Locked

Return to “Arch Way installation”