In your VPS control panel, find the virtual optical disk drive and insert Arch Linux ISO to it. Sometimes you may need to give the direct download link of Arch Linux to your hosting provider and ask them to mount it for you. Then establish a VNC connection to your VPS. You can get VNC login info from your hosting provider. After that, click boot button in the control panel to boot up your VPS. Normally you have to press a key like F12 in the VNC window. This allows you to select which device your VPS will boot from. Select optical disk drive so your VPS will boot the Arch Linux ISO image. The default firmware for KVM virtual machines is called SeaBIOS. Now you are greeted by the Arch Linux boot menu. Select the first option to boot into Arch Linux live environment. Once you are in Arch Linux live environment, check whether you can access the Internet. Proceed to step 3 if you receive reply from google server. If there’s no Internet connection, then following the below steps. In KVM environment, your hosting provider offers you a static IP address. nano /etc/netctl/ethernet-staticĬhange this file to the following.Ĭp /etc/netctl/examples/ethernet-static /etc/netctl Your KVM VPS establishes a static ethernet connection to the gateway (KVM host) and thus it can access external Internet.įirst copy the example ethernet-static network profile to /etc/netctl/ directory. Now create partitions on /dev/sda parted /dev/sda This tutorial creates a GPT partition table: parted /dev/sda mklabel gpt If you want to have a MBR partition table on /dev/sda, use this command: parted /dev/sda mklabel msdos Now load ethernet-static network profile. If you created GPT partition table in the previous step, you need to create a bios_grub partition of 1MiB since the default firmware for KVM virtual machine is seaBIOS which is a free and open source BIOS implementation. Later the Grub 2 boot loader will be installed inside bios_grub partition. Set it as a bios_grub partition set 1 bios_grub on However, it will give us performance benefit if we align partitions so the bios_grub partition might start at 1MiB from the start of the disk.Ĭreate bios_grub partition with this command: mkpart primary 1MiB 2MiB Make ensure that bios_grub partition starts at least 31 KiB (63 sectors) from the start of the disk because the first 63 sectors is reserved for MBR boot code. 100% means it will use all the following space of the disk. This tutorial use a single root partition. If you need advanced setup, you can adjust it. Now format the second partition to ext4 file system. Mount the second partition in /mnt directory. Mount /dev/sda2 /mnt Step 4: Installing Basic Stuffįirst open the mirrorlist file to choose a good mirror for your software installation.
0 Comments
Leave a Reply. |