Advertisement
patlux

Archlinux Installation / Syslinux / GPT / 1 Partition

Sep 25th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.83 KB | None | 0 0
  1. # arch, syslinux
  2.  
  3. # partition table:
  4. # [/dev/sda1] /
  5.  
  6. # Installation steps:
  7.  
  8. loadkeys de
  9. loadkeys de-latin1
  10.  
  11. gdisk /dev/sda
  12.   o
  13.   Proceed? Y
  14.   n
  15.   Partition number: <enter>
  16.   First sector: <enter>
  17.   Last sector: <enter>
  18.   Current type..: <enter>
  19.   w
  20.   Proceed? Y
  21.  
  22. mkfs.ext4 -L "archroot" -O \^64bit /dev/sda1
  23. mount /dev/sda1 /mnt
  24. pacstrap /mnt base nano
  25. genfstab -U /mnt >> /mnt/etc/fstab
  26. arch-chroot /mnt
  27. ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
  28.  
  29. # Uncomment en_US.UTF-8 UTF-8 in /etc/locale.gen,
  30. # and generate them with:
  31.  
  32. locale-gen
  33. echo LANG=en_US.UTF-8 > /etc/locale.conf
  34. echo KEYMAP=de-latin1 > /etc/vconsole.conf
  35. echo arch-test-1 > /etc/hostname
  36. mkinitcpio -p linux
  37. passwd
  38. pacman -S syslinux gptfdisk
  39. syslinux-install_update -iam
  40. # edit /boot/syslinux/syslinux.cfg
  41. exit
  42. umount /mnt
  43. reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement