Difference between revisions of "Provision Arch"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
systemctl enable dhcpcd | systemctl enable dhcpcd | ||
systemctl enable sshd | systemctl enable sshd | ||
− | + | ln -s /usr/lib/syslinux/bios/*.c32 /boot/syslinux/ | |
extlinux --install /boot/syslinux | extlinux --install /boot/syslinux | ||
dd bs=440 count=1 conv=notrunc if=/usr/lib/syslinux/bios/gptmbr.bin of=/dev/vda | dd bs=440 count=1 conv=notrunc if=/usr/lib/syslinux/bios/gptmbr.bin of=/dev/vda | ||
sed -i 's#/dev/sda3#/dev/vda1#' /boot/syslinux/syslinux.cfg | sed -i 's#/dev/sda3#/dev/vda1#' /boot/syslinux/syslinux.cfg | ||
− | |||
− | |||
− | |||
pacman -Sy | pacman -Sy | ||
pacman -S --noconfirm salt-zmq | pacman -S --noconfirm salt-zmq |
Revision as of 03:00, 7 April 2015
Installing
sgdisk -z /dev/vda
sgdisk -n 1:2048: /dev/vda
sgdisk --attributes=1:set:2 /dev/vda
mkfs.ext4 /dev/vda1 -F
mount /dev/vda1 /mnt
pacstrap /mnt base base-devel openssh syslinux
genfstab -p /mnt >> /mnt/etc/fstab
arch-chroot /mnt
unlink /etc/localtime
ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime
mkinitcpio -p linux
systemctl enable dhcpcd
systemctl enable sshd
ln -s /usr/lib/syslinux/bios/*.c32 /boot/syslinux/
extlinux --install /boot/syslinux
dd bs=440 count=1 conv=notrunc if=/usr/lib/syslinux/bios/gptmbr.bin of=/dev/vda
sed -i 's#/dev/sda3#/dev/vda1#' /boot/syslinux/syslinux.cfg
pacman -Sy
pacman -S --noconfirm salt-zmq
systemctl enable salt-minion
enter your hostname
echo ${hostname} > /etc/hostname
reboot
exit reboot