Anonymous

Changes

From Pumping Station One
Line 65: Line 65:  
</syntaxhighlight>
 
</syntaxhighlight>
    +
Prepare the /boot folder with syslinux's init stuff.
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
cp -r /usr/lib/syslinux/bios/*.c32 /boot/syslinux/
 
cp -r /usr/lib/syslinux/bios/*.c32 /boot/syslinux/
Line 70: Line 71:  
</syntaxhighlight>
 
</syntaxhighlight>
    +
Install the MBR to the root of MBR.  This will sit in the 2048 of reserved space from when we partitioned the drive.
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
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
 +
</syntaxhighlight>
 +
 +
By default, syslinux tries to boot /dev/sda3.  Change it to boot /dev/vda1
 +
<syntaxhighlight lang="bash">
 
sed -i 's#/dev/sda3#/dev/vda1#' /boot/syslinux/syslinux.cfg
 
sed -i 's#/dev/sda3#/dev/vda1#' /boot/syslinux/syslinux.cfg
 
</syntaxhighlight>
 
</syntaxhighlight>
    +
 +
== Flavor ==
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
echo [archlinuxfr] >> /etc/pacman.conf
 
echo [archlinuxfr] >> /etc/pacman.conf
Cookies help us deliver our services. By using our services, you agree to our use of cookies.