Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Encrypted funtoo on linode"

From Funtoo
Jump to navigation Jump to search
Line 1: Line 1:
This howto describes how to setup a complete Funtoo Encrypted Install ( Root File System and SWAP ) using LUKS and LVM on '''LINODE VPS'''
This howto describes how to setup a complete Funtoo Encrypted Install ( Root File System and SWAP ) using LUKS and LVM on '''LINODE VPS'''


Use [[Install|Funtoo Installation Guide]] for reference.
{{Note|Use [[Install|Funtoo Installation Guide]] for reference.}}


<big>Setting  Linode</big>
<big>Setting  Linode</big>


* From [https://manager.linode.com/ Linode Manager] create a new Linode. Under the '''Disks''' section of the Linode Dashboard, click on '''"Create a new Disk:"'''
*<code>From [https://manager.linode.com/ Linode Manager] create a new Linode. Under the '''Disks''' section of the Linode Dashboard, click on '''"Create a new Disk:"'''</code>
<br />
<br />
[[File:Custom-distro-new-disk small.png|New_Disk]]
[[File:Custom-distro-new-disk small.png|New_Disk]]
<br />
<br />
* Label your new disk image and choose an appropriate size.  Here we will create "two disks"  the first for root partition and another for swap. Set appropriate size for each one.
* <code>Label your new disk image and choose an appropriate size.  Here we will create "two disks"  the first for root partition and another for swap. Set appropriate size for each one.</code>
<br />
<br />
[[File:Custom-distro-disk-image.png|Edit_Disk]]
[[File:Custom-distro-disk-image.png|Edit_Disk]]
<br />
<br />
* Select the '''Create a New Configuration Profile''' option. Assign a label, and select your disk images under '''Block Device Assignment'''.
*<code>Select the '''Create a New Configuration Profile''' option. Assign a label, and select your disk images under '''Block Device Assignment'''.</code>
[[File:Custom-distro-config-profile small.png|Config_Profile]]
[[File:Custom-distro-config-profile small.png|Config_Profile]]
<br />
<br />
Click on '''Save Changes''' once your profile is complete.
<br />
* <code>Return to the Linode DashBoard, and select the '''Rescue''' tab. From there, click the '''Reboot Into Rescue Mode''' button. Your Linode will now boot into thee Finnix recovery image. Use the [https://www.linode.com/docs/networking/using-the-linode-shell-lish Lish] shell to access your Linode.</code>
* <code>Run the following set of commands to create a root password and enable SSH server:</code>
<br />
<console>
# passwd ↵
# service ssh start ↵
</console>
=== At this point, you are able to connect on your VPS using '''SSH''' ===
<console>
# ##i##gdisk /dev/sda
Command: ##i##x ↵
Expert command: ##i##z ↵
About to wipe out GPT on /dev/sda. Proceed?: ##i##y ↵
GPT data structures destroyed! You may now partition the disk using fdisk or other utilities.
Blank out MBR?: ##i##y ↵
</console>

Revision as of 23:39, November 16, 2016

This howto describes how to setup a complete Funtoo Encrypted Install ( Root File System and SWAP ) using LUKS and LVM on LINODE VPS

   Note

Use Funtoo Installation Guide for reference.

Setting Linode

  • From Linode Manager create a new Linode. Under the Disks section of the Linode Dashboard, click on "Create a new Disk:"


New_Disk

  • Label your new disk image and choose an appropriate size. Here we will create "two disks" the first for root partition and another for swap. Set appropriate size for each one.


Edit_Disk

  • Select the Create a New Configuration Profile option. Assign a label, and select your disk images under Block Device Assignment.

Config_Profile
Click on Save Changes once your profile is complete.

  • Return to the Linode DashBoard, and select the Rescue tab. From there, click the Reboot Into Rescue Mode button. Your Linode will now boot into thee Finnix recovery image. Use the Lish shell to access your Linode.
  • Run the following set of commands to create a root password and enable SSH server:


root # passwd ↵
root # service ssh start ↵

At this point, you are able to connect on your VPS using SSH

root # gdisk /dev/sda

Command: x ↵
Expert command: z ↵
About to wipe out GPT on /dev/sda. Proceed?: y ↵
GPT data structures destroyed! You may now partition the disk using fdisk or other utilities.
Blank out MBR?: y ↵