HowTo Install Arch Linux: Difference between revisions

From Pumping Station One
Line 6: Line 6:
</syntaxhighlight>
</syntaxhighlight>


Create partition one, leave 2048 sectors blank for the bootloader, and consuming the rest of the drive.
Create partition one, leave 2048 sectors blank for the syslinux bootloader, and consuming the rest of the drive.
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sgdisk -n 1:2048: /dev/vda
sgdisk -n 1:2048: /dev/vda
</syntaxhighlight>
For Partition 1, set the bootable flag, (flag 2)
<syntaxhighlight lang="bash">
sgdisk --attributes=1:set:2 /dev/vda
sgdisk --attributes=1:set:2 /dev/vda
</syntaxhighlight>
</syntaxhighlight>