{"id":330,"date":"2025-04-30T09:56:45","date_gmt":"2025-04-30T07:56:45","guid":{"rendered":"https:\/\/www.24x7serverguard.com\/blog\/?p=330"},"modified":"2025-04-30T10:03:00","modified_gmt":"2025-04-30T08:03:00","slug":"step-by-step-guide-to-set-up-a-new-almalinux-server-with-custom-partitions-during-installation-almalinux-uses-the-same-installer-as-rhel-centos-so-the-steps-are-very-similar","status":"publish","type":"post","link":"https:\/\/www.24x7serverguard.com\/blog\/installation\/step-by-step-guide-to-set-up-a-new-almalinux-server-with-custom-partitions-during-installation-almalinux-uses-the-same-installer-as-rhel-centos-so-the-steps-are-very-similar\/","title":{"rendered":"Step-by-step guide to set up a new AlmaLinux server with custom partitions during installation. AlmaLinux uses the same installer as RHEL\/CentOS, so the steps are very similar."},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">\ud83d\udda5\ufe0f <strong>Step-by-Step: Setting Up Partitions in AlmaLinux<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">1. <strong>Boot Into AlmaLinux Installation<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Download the latest AlmaLinux ISO.<\/li>\n\n\n\n<li>Boot from USB\/DVD and select <strong>&#8220;Install AlmaLinux&#8221;<\/strong>.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">2. <strong>Select Installation Destination<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On the \u201c<strong>Installation Summary<\/strong>\u201d screen, click <strong>\u201cInstallation Destination.\u201d<\/strong><\/li>\n\n\n\n<li>Choose your disk.<\/li>\n\n\n\n<li>Under <strong>\u201cStorage Configuration\u201d<\/strong>, select <strong>\u201cCustom\u201d<\/strong> and click <strong>\u201cDone.\u201d<\/strong><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udcc1 <strong>3. Create Partitions (Recommended Layout)<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Click <strong>\u201cClick here to create them automatically\u201d<\/strong> or use <strong>manual<\/strong> creation:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Mount Point<\/th><th>Size<\/th><th>File System<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td><code>\/boot<\/code><\/td><td>1 GB<\/td><td>ext4<\/td><td>Required for boot files<\/td><\/tr><tr><td><code>\/<\/code><\/td><td>20 GB<\/td><td>xfs<\/td><td>Main root filesystem<\/td><\/tr><tr><td><code>\/var<\/code><\/td><td>10\u201330 GB<\/td><td>xfs<\/td><td>Logs, package cache, mail, etc.<\/td><\/tr><tr><td><code>\/tmp<\/code><\/td><td>2\u20135 GB<\/td><td>xfs<\/td><td>Temp files<\/td><\/tr><tr><td><code>\/home<\/code><\/td><td>Optional<\/td><td>xfs\/ext4<\/td><td>Only needed if multiple users<\/td><\/tr><tr><td><code>swap<\/code><\/td><td>2\u20134 GB<\/td><td>swap<\/td><td>2x RAM if &lt;4GB RAM<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udca1 <strong>Tip<\/strong>: You can create a separate <code>\/data<\/code> partition if your server stores lots of files.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u2699\ufe0f <strong>4. Configure LVM (Optional but Recommended)<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use <strong>LVM<\/strong> for each partition (except <code>\/boot<\/code>) to allow resizing later.<\/li>\n\n\n\n<li>Click <strong>\u201cModify\u201d<\/strong> on each partition and select <strong>LVM<\/strong>.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd10 <strong>5. Set Bootloader and Confirm<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make sure the <strong>bootloader<\/strong> is set to the correct disk (usually <code>\/dev\/sda<\/code>).<\/li>\n\n\n\n<li>Click <strong>\u201cDone\u201d<\/strong>, then <strong>\u201cAccept Changes\u201d<\/strong> when prompted.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">6. <strong>Finish Installation<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set root password, create user, and complete setup.<\/li>\n\n\n\n<li>Reboot when done.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u2705 Post-Install (CLI Check)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After boot, you can confirm partitions using:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">lsblk<br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-luminous-vivid-amber-color\">df <\/mark>-h<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udda5\ufe0f Step-by-Step: Setting Up Partitions in AlmaLinux 1. Boot Into AlmaLinux Installation 2. Select Installation Destination \ud83d\udcc1 3. Create Partitions (Recommended Layout) Click \u201cClick here to create them automatically\u201d or use manual creation: Mount Point Size File System Notes \/boot 1 GB ext4 Required for boot files \/ 20 GB xfs Main root filesystem \/var [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":332,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[329,330,331],"class_list":["post-330","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-installation","tag-almalinux-server-with-custom-partitions-during-installation","tag-almalinux-uses-the-same-installer-as-rhel-centos","tag-so-the-steps-are-very-similar"],"_links":{"self":[{"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/posts\/330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/comments?post=330"}],"version-history":[{"count":1,"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/posts\/330\/revisions"}],"predecessor-version":[{"id":331,"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/posts\/330\/revisions\/331"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/media\/332"}],"wp:attachment":[{"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/media?parent=330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/categories?post=330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/tags?post=330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}