ArchLinux: installing on GPT/LVM/GRUB 2 (no installer)

Boot into ArchLinux ISO

modprobe dm-mod

pacman -Syy

pacman -S gdisk

 

gdisk /dev/sda

o   then "y" to confirm

n

1

<enter>

+32M

ef02

n

2

<enter>

<enter>

8e00

w  then "y"  to confirm

—————

pvcreate /dev/sda2

vgcreate arch /dev/sda2

lvcreate -L 1G -n boot arch

lvcreate -C y -L 4G -n swap arch

lvcreate -L 10G -n root arch

lvcreate -l100%FREE -n home arch

 

————

mkswap /dev/arch/swap

mkfs.xfs /dev/arch/root

mkfs.xfs /dev/arch/home

mkfs.xfs /dev/arch/boot

———————

 

 

INSTALLATION

===============================

mount /dev/arch/root /mnt

cd /mnt

mkdir home boot

mount /dev/arch/boot boot

mount /dev/arch/home home

cd ..

 

pacstrap /mnt base base-devel

———-

genfstab /mnt >> /mnt/etc/fstab

——–

arch-chroot /mnt

 

pacman -Syy

pacman -S grub2-bios

grub-install –boot-directory=/boot –no-floppy –recheck –debug /dev/sda

 

grub-mkconfig -o /boot/grub/grub.cfg

 

nano /etc/mkinitcpio.conf

ADD "lvm2" between sata and filesystems

HOOKS=". . . sata lvm2 filesystems . . ."

 

run

mkinitcpio -p linux

 

 

exit

umount -a

reboot

 

Archlinux: Unable to boot installation "waiting for device labeled"

If you see this while trying to boot Archlinux installation

 

Waiting 30 seconds for device /dev/disk/by-label/ARCH_201210 …

Error: Boot device didn't show up after 30 seconds…

Falling back to interactive prompt.

You can try and fix the problem manually….

ramfs$

Label your device ARCH_201210 and you should be good to go.

Report your outcomes in the comments below

 

ArchLinux: set of fonts I’m using on my Asus N73SV laptop

This is the current set of fonts I've installed on my Asus N73SV laptop running Archlinux.

 

sudo pacman -Sy font-bitstream-speedo bdf-unifont artwiz-fonts cantarell-fonts dina-font gsfonts monaco-linux-font opendesktop-fonts tamsyn-font terminus-font ttf-bitstream-vera ttf-cheapskate ttf-dejavu ttf-droid ttf-freefont ttf-inconsolata ttf-sazanami ttf-ubuntu-font-family xorg-fonts-100dpi xorg-fonts-75dpi xorg-fonts-misc xorg-fonts-type1

 

Let me know in the comments if you have any contributions to the list.

 

  • IGlr