Difference between revisions of "Provision Arch"

From Pumping Station One
Jump to navigation Jump to search
(Created page with " sgdisk -z /dev/vda sgdisk -n 1:2048:67108830")
 
(filling it out)
Line 1: Line 1:
 +
== Installing ==
 
     sgdisk -z /dev/vda
 
     sgdisk -z /dev/vda
     sgdisk -n 1:2048:67108830
+
     sgdisk -n 1:2048: /dev/vda
 +
    sgdisk --attributes=1:set:2 /dev/vda
 +
    mkfs.ext4 /dev/vda1
 +
    mount /dev/vda1 /mnt
 +
    pacstrap /mnt base base-devel openssh
 +
    genfstab -p /mnt >> /mnt/etc/fstab
 +
    arch-chroot /mnt
 +
    ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime
 +
    mkinitcpio -p linux
 +
    systemctl enable dhcpcd
 +
    systemctl enable sshd
 +
    dd bs=440 count=1 conv=notrunc if=/usr/lib/syslinux/bios/gptmbr.bin of=/dev/vda
 +
    ## todo sed /boot/syslinux/syslinux.cfg /dev/sda3 to /dev/vda1
 +
    exit
 +
    reboot

Revision as of 03:48, 22 February 2014

Installing

   sgdisk -z /dev/vda
   sgdisk -n 1:2048: /dev/vda
   sgdisk --attributes=1:set:2 /dev/vda
   mkfs.ext4 /dev/vda1
   mount /dev/vda1 /mnt
   pacstrap /mnt base base-devel openssh
   genfstab -p /mnt >> /mnt/etc/fstab
   arch-chroot /mnt
   ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime
   mkinitcpio -p linux
   systemctl enable dhcpcd
   systemctl enable sshd
   dd bs=440 count=1 conv=notrunc if=/usr/lib/syslinux/bios/gptmbr.bin of=/dev/vda
   ## todo sed /boot/syslinux/syslinux.cfg /dev/sda3 to /dev/vda1
   exit
   reboot