Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
userdoc:hosted_guest_vm_linode [2018/05/29 17:04] abelbeck |
userdoc:hosted_guest_vm_linode [2022/01/25 21:14] (current) abelbeck |
A hosted VM service like Linode requires some sort of "console" access, Linode offers several. Using the Linodes -> Remote Access tab, view the available options. | A hosted VM service like Linode requires some sort of "console" access, Linode offers several. Using the Linodes -> Remote Access tab, view the available options. |
| |
{{:userdoc:hosted_guest_vm_linode-ra-console.jpeg?nolink|Remote Access}} | {{:userdoc:hosted_guest_vm_linode-ra-console.jpeg?nolink|Console Access}} |
| |
More Info: [[https://www.linode.com/docs/networking/using-the-linode-shell-lish/|Using the Linode Shell (Lish)]] | More Info: [[https://www.linode.com/docs/networking/using-the-linode-shell-lish/|Using the Linode Shell (Lish)]] |
{{:userdoc:hosted_guest_vm_linode-lassie.jpeg?nolink|Lassie}} | {{:userdoc:hosted_guest_vm_linode-lassie.jpeg?nolink|Lassie}} |
| |
We mention this since your AstLinux "reboot" will only act as a "poweroff" if Lassie is disabled. As such you will only be asked to "Reboot" to run a configuration profile. | We mention this since your AstLinux "reboot" will only act as a "poweroff" if Lassie is disabled. |
| |
OK, let's begin ... | OK, let's begin ... |
| |
Using the Linodes -> Dashboard tab, | Using the Linodes -> Dashboard tab, |
create an installer disk (120 MB) and a boot disk (8000 MB), both of type "unformatted / raw". | create an installer disk (200 MB) and a boot disk (8000 MB), both of type "unformatted / raw". |
| |
{{:userdoc:hosted_guest_vm_linode_create-installer-disk.jpeg?nolink|Create Installer Disk}} | {{:userdoc:hosted_guest_vm_linode_create-installer-disk.jpeg?nolink|Create Installer Disk}} |
| |
Installer Profile: | Installer Profile: |
| |
| !!Tip ->!! Don't miss that the boot device is set to ''/dev/sdb'' |
| |
{{:userdoc:hosted_guest_vm_linode_installer-config.jpeg?nolink|Installer Config}} | {{:userdoc:hosted_guest_vm_linode_installer-config.jpeg?nolink|Installer Config}} |
| |
Boot Profile: | Boot Profile: |
| |
{{:userdoc:hosted_guest_vm_linode_boot-config.jpeg?nolink|Boot Config}} | {{:userdoc:hosted_guest_vm_linode_boot-config.jpeg?nolink|Boot Config}} |
| |
We boot into the rescue Linux image to copy the AstLinux Install ISO onto the raw installer disk. Note where the installer disk is mounted, assuming ''/dev/sda''. | Using "Rescue Mode" ''dd'' copy the AstLinux ISO Installer to the raw installer image, |
| we boot into the rescue Linux image to copy the AstLinux Install ISO onto the raw installer disk. Note where the installer disk is mounted, assuming ''/dev/sda''. |
| |
| {{:userdoc:hosted_guest_vm_linode-rescue.jpeg?nolink|Rescue Mode}} |
| |
Click "Reboot into Rescue Mode" using Linodes -> Rescue | Click "Reboot into Rescue Mode" using Linodes -> Rescue |
Access Lish via "Lish via SSH" using Linodes -> Remote Access | Access Lish via "Lish via SSH" using Linodes -> Remote Access |
| |
This example command copies the AstLinux 1.3.3 ISO onto ''/dev/sda'', adjust accordingly. | This example command copies the AstLinux 1.3.3 "Guest VM x86-64bit" ISO onto ''/dev/sda'', adjust accordingly. |
| |
curl --capath /usr/share/ca-certificates/mozilla https://s3.amazonaws.com/mirror.astlinux-project/downloads/iso/astlinux-1.3.3-genx86_64-vm.iso | dd of=/dev/sda | curl -L --capath /usr/share/ca-certificates/mozilla https://astlinux-project.org/mirror/downloads/iso/astlinux-1.3.3-genx86_64-vm.iso | dd of=/dev/sda |
| |
Now we are ready to launch the installer, exit "Lish via SSH". | Look for any errors with the ''curl'' and ''dd'' commands. |
| |
| Now we are ready to launch the installer, exit the "Lish via SSH" console. |
| |
{{:userdoc:hosted_guest_vm_linode_dashboard-install.jpeg?nolink|Dashboard Install}} | {{:userdoc:hosted_guest_vm_linode_dashboard-install.jpeg?nolink|Dashboard Install}} |
| |
Select the "Install" installer menu, follow the dialogs to install an AstLinux image to your virtual disk. | Select the "Install" installer menu, follow the dialogs to install an AstLinux image to your virtual disk. |
| |
| When finished **do not** select the “Shutdown” installer menu, if you did Linode's Lassie would just restart it. |
| |
{{:userdoc:hosted_guest_vm_linode_dashboard.jpeg?nolink|Dashboard}} | {{:userdoc:hosted_guest_vm_linode_dashboard.jpeg?nolink|Dashboard}} |
to this... | to this... |
ttyS0::respawn:/sbin/getty -L 19200 /dev/ttyS0 vt100 | ttyS0::respawn:/sbin/getty -L 19200 /dev/ttyS0 vt100 |
| |
| !!Tip ->!! You may want to replace ''vt100'' with ''xterm-color'' as the ''TERM'' variable setting. |
| |
Reboot AstLinux to apply the change. | Reboot AstLinux to apply the change. |