[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:misc:slackware64_current_with_lvm_and_luks_on_linodecloud [2021/04/14 03:57 (UTC)] – [The steps I followed] mahafyihowtos:misc:slackware64_current_with_lvm_and_luks_on_linodecloud [2021/05/28 19:41 (UTC)] (current) alienbob
Line 1: Line 1:
-<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> 
 ====== Howto install slackware64 -current with full disk encryption, including swap on Linode ====== ====== Howto install slackware64 -current with full disk encryption, including swap on Linode ======
  
Line 5: Line 4:
 ===== The task ===== ===== The task =====
  
-To have a working virtual machine running and tracking Slackware64 -current, with full disk encryption, including swap, using LUKS with a custom partitioning schematic using LVM.+To have a working virtual machine in Linode, running and tracking Slackware64 -current, with full disk encryption, including swap, using LUKS with a custom partitioning schematic using LVM.
  
 ==== The steps I followed ==== ==== The steps I followed ====
  
  
-Linode offers Slackware64 14.2 out of the box. This can be upgraded to current in the normal fashion. See [[https://www.linuxquestions.org/questions/slackware-14/linode-update-to-current-success-4175632480/|this linuxquestions.org post]]which is what inspired me to get started on this.+Linode offers Slackware64 14.2 out of the box. This can be upgraded to current in the normal fashion. 
 +See [[https://www.linuxquestions.org/questions/slackware-14/linode-update-to-current-success-4175632480/|this linuxquestions.org post]]  which is what inspired me to get started on this.
  
 This howto can be used to make a fresh installation of slackware64 14.2 or current. The default image as provided by Linode is stripped down due to their size restrictions. As someone used to following the recommendation to do a full install, I realized it can be a pretty long haul to have this setup just like my local PC. This howto can be used to make a fresh installation of slackware64 14.2 or current. The default image as provided by Linode is stripped down due to their size restrictions. As someone used to following the recommendation to do a full install, I realized it can be a pretty long haul to have this setup just like my local PC.
Line 23: Line 23:
   - Spin up your Slackware 14.2 Linode in the usual manager. I did this via the Linode Cloud Manager.   - Spin up your Slackware 14.2 Linode in the usual manager. I did this via the Linode Cloud Manager.
   - Add a new Volume to hold the installation media. This is to be attached to the Linode created above. The details are of the Volume are available in the Linode Cloud Manager (their web portal). Note down the /dev/disk/path-to-volume. I added a Volume named Installer sized 10 GB, which is the default minimum available.   - Add a new Volume to hold the installation media. This is to be attached to the Linode created above. The details are of the Volume are available in the Linode Cloud Manager (their web portal). Note down the /dev/disk/path-to-volume. I added a Volume named Installer sized 10 GB, which is the default minimum available.
-  - Add a new Volume for the new OS itself with size of your choosing. I added a Volume named Slack64curr.+  - Similarly, add a new Volume for the new OS itself with size of your choosing. I added a Volume named Slack64curr.
   - Login to the Linode   - Login to the Linode
   - Download the ISO (Thanks to AlienBob!) <code>wget https://slackware.nl/slackware/slackware64-current-iso/slackware64-current-install-dvd.iso</code>   - Download the ISO (Thanks to AlienBob!) <code>wget https://slackware.nl/slackware/slackware64-current-iso/slackware64-current-install-dvd.iso</code>
Line 32: Line 32:
   - The boot will fail and drop you a grub cli.   - The boot will fail and drop you a grub cli.
   - Type 'exit' from the grub prompt, and switch to the Glish console where you will now have the slackware installer.   - Type 'exit' from the grub prompt, and switch to the Glish console where you will now have the slackware installer.
-  - Starting with fdisk /dev/sdX (Block device assigned to the Volume we created to be our primary Slackware64 -current OS disk), proceed with installation as usual. I followed [[http://ftp.slackware.com/pub/slackware/slackware64-current/README_CRYPT.TXT|this document and section named 'Combining LUKS and LVM']]+  - Starting with fdisk /dev/sdX (Block device assigned to the Volume we created to be our primary Slackware64 -current OS disk), proceed with installation as usual. I followed [[http://ftp.slackware.com/pub/slackware/slackware64-current/README_CRYPT.TXT|this document]] and specifically the section named 'Combining LUKS and LVM'
 + 
 +<note tip>For adding media source I used a [[https://mirrors.slackware.com/|slackware mirror]]. DHCP works to obtain internet connectivity.</note> 
   - I used the mkinitrd generator helper.   - I used the mkinitrd generator helper.
-  - I used liloconfig to setup the bootloader in the MBR of /dev/sdd.+  - I used liloconfig to setup the bootloader in the MBR of /dev/sdd. I experienced [[https://www.linuxquestions.org/questions/slackware-14/grub-error-in-latest-slackware-current-4175693691/|this problem]] with grub.
   - In lilo.conf, I set boot = /dev/sdd which was the 4th block device assignment, in the Linode Configuration profile I booted. This resulted in a warning, that it is not the first device when issuing ''**/sbin/lilo**'' command, which can be safely ignored.   - In lilo.conf, I set boot = /dev/sdd which was the 4th block device assignment, in the Linode Configuration profile I booted. This resulted in a warning, that it is not the first device when issuing ''**/sbin/lilo**'' command, which can be safely ignored.
   - I issued a reboot from the command line.   - I issued a reboot from the command line.
Line 41: Line 44:
   - I had to manually setup the networking. Using slackware's ''**netconfig**'' TUI to use dhcp also works.     - I had to manually setup the networking. Using slackware's ''**netconfig**'' TUI to use dhcp also works.  
  
-<note> +<note>Linode provides a 'Lassie' shutdown watch dog utility, that should be disabled via the Linode Cloud Manager Settings. \\Linode provides a Caution [[https://www.linode.com/docs/guides/use-luks-for-full-disk-encryption/|in their doc here.]]</note>
- +
-Linode provides a 'Lassie' shutdown watch dog utility, that should be disabled via the Linode Cloud Manager Settings. +
- +
-Linode provides a Caution [[https://www.linode.com/docs/guides/use-luks-for-full-disk-encryption/|in their doc here.]] +
- +
-</note>+
  
 ---- ----
Line 68: Line 65:
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 <!-- You must remove the tag-word "template" below before saving your new page --> <!-- You must remove the tag-word "template" below before saving your new page -->
-{{tag>howtos template}}+{{tag>howtos installation lvm luks author_mahafyi}}
 howtos:misc:slackware64_current_with_lvm_and_luks_on_linodecloud ()