{"id":1675,"date":"2022-12-03T10:47:48","date_gmt":"2022-12-03T09:47:48","guid":{"rendered":"https:\/\/www.klokocka.info\/?p=1675"},"modified":"2022-12-09T16:47:31","modified_gmt":"2022-12-09T15:47:31","slug":"ubuntu-22-04-non-uefi-installation","status":"publish","type":"post","link":"https:\/\/www.klokocka.info\/?p=1675","title":{"rendered":"Ubuntu 22.04 non UEFI installation"},"content":{"rendered":"\n<p>This is the way to install Ubuntu 22.04 LTS to non UEFI computer (i.e. HP gen 8 servers). After countless hours of trying, i finally found this procedure.<\/p>\n\n\n\n<p>The goal is to install Ubuntu on <strong>ONE <\/strong>partition, no free space before, no UEFi partition, just one disk &#8211; one partition with Ubuntu. And then make it bootable via <strong>Boot repair<\/strong> program.<\/p>\n\n\n\n<p><em>NOTE: There is another way &#8211; use <strong>ubuntu_netinstaller_mini.iso<\/strong> <strong>&#8211; <\/strong>If I am right, 18.04 was the last published. Install from it and then upgrade distros up to 22.04. This is time consuming, but it worked for me. Just make usb bootable using i.e. Rufus program (be sure to do it as MBR, not UEfi)<\/em>.<\/p>\n\n\n\n<p><em>NOTE related to HP servers: In case You are installing on HP server &#8211; don&#8217;t forget to run <strong>Smart array administrator<\/strong> and create Array, Logical disk and set <strong>Bootable logical drive\/volume<\/strong> <strong> <\/strong>to disk you want to install to. In case this is MicroServer G8 &#8211; create array just from one disk, because MicroServer G8 does not have a real array controller and even if you create an array, disks will be seen separated (not as array volume) under Ubuntu!!!<\/em><\/p>\n\n\n\n<p>First of all attach the disk you want to install ubunto to (here Ihave only one disk attached for clarity) and boot to live Ubuntu from installation USB. Run the terminal and write <strong>gparted <\/strong>command.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"442\" src=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-1.png\" alt=\"\" class=\"wp-image-1676\" srcset=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-1.png 768w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-1-300x173.png 300w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-1-600x345.png 600w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><figcaption>Gparted &#8211; delete everything and choose right click -&gt; Create new partition<\/figcaption><\/figure>\n\n\n\n<p>If there were any partition on the disk, dlete them. Then create new partition, <strong>write zero<\/strong> to <strong>Free space preceding<\/strong> and clikck <strong>Add<\/strong>. (Dont leave the field, just write zero and click Add. Otherways Gparted tries to write 1MB of free space &#8211; because of UEFI).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"698\" height=\"340\" src=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-3.png\" alt=\"\" class=\"wp-image-1678\" srcset=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-3.png 698w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-3-300x146.png 300w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-3-600x292.png 600w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><figcaption>Be sure that there is <strong>zero<\/strong>, then click <strong>Add<\/strong><\/figcaption><\/figure>\n\n\n\n<p>Close <strong>gparted<\/strong> and run <strong>Install Ubuntu 22.04 LTS<\/strong> from desktop icon (bottom right), choose language, keyboard and installation type. <\/p>\n\n\n\n<p>On the next screen choose <strong>Something else<\/strong>, then <strong>Continue<\/strong>.. Ensure that in the bottom dropdown list is the right device chosen, then choose ext4 partition and click <strong>Change.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"815\" height=\"407\" src=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-4.png\" alt=\"\" class=\"wp-image-1679\" srcset=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-4.png 815w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-4-300x150.png 300w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-4-768x384.png 768w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-4-600x300.png 600w\" sizes=\"auto, (max-width: 815px) 100vw, 815px\" \/><\/figure>\n\n\n\n<p>Choose <strong>Use as: Ext4 journal file system<\/strong>, then <strong>Format the partition, <\/strong>then <strong>Mount point <\/strong>as <strong>\/<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"378\" height=\"260\" src=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-5.png\" alt=\"\" class=\"wp-image-1680\" srcset=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-5.png 378w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-5-300x206.png 300w\" sizes=\"auto, (max-width: 378px) 100vw, 378px\" \/><\/figure>\n\n\n\n<p>Click <strong>Install Now <\/strong>and on next dialog ignore the warning and click <strong>Continue<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"687\" height=\"179\" src=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-6.png\" alt=\"\" class=\"wp-image-1681\" srcset=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-6.png 687w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-6-300x78.png 300w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-6-600x156.png 600w\" sizes=\"auto, (max-width: 687px) 100vw, 687px\" \/><\/figure>\n\n\n\n<p>On next steps od installation just choose your location, fill user name, password etc. and proceed the instalation process. When instalation finishes, <strong>reboot back to live Ubuntu <\/strong>(try Ubuntu). <\/p>\n\n\n\n<p>Find the <strong>Disks <\/strong>program, locate the right disk and unmount it:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-7.png\" alt=\"\" class=\"wp-image-1688\" width=\"321\" height=\"248\" srcset=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-7.png 502w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-7-300x232.png 300w\" sizes=\"auto, (max-width: 321px) 100vw, 321px\" \/><figcaption>Unmount the disk<\/figcaption><\/figure>\n\n\n\n<p>Then run terminal and type commands to install and run <strong>Boot repair<\/strong> program:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo add-apt-repository ppa:yannubuntu\/boot-repair\nsudo apt update\nsudo apt install -y boot-repair\nboot-repair<\/pre>\n\n\n\n<p>Choose <strong>Recomended repair<\/strong> and go through the process:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"441\" height=\"313\" src=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-8.png\" alt=\"\" class=\"wp-image-1689\" srcset=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-8.png 441w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-8-300x213.png 300w\" sizes=\"auto, (max-width: 441px) 100vw, 441px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"661\" height=\"376\" src=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-11.png\" alt=\"\" class=\"wp-image-1702\" srcset=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-11.png 661w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-11-300x171.png 300w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-11-600x341.png 600w\" sizes=\"auto, (max-width: 661px) 100vw, 661px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"455\" src=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-9.png\" alt=\"\" class=\"wp-image-1690\" srcset=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-9.png 900w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-9-300x152.png 300w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-9-768x388.png 768w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-9-600x303.png 600w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/figure>\n\n\n\n<p>Then reboot and &#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"988\" height=\"468\" src=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-10.png\" alt=\"\" class=\"wp-image-1697\" srcset=\"https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-10.png 988w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-10-300x142.png 300w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-10-768x364.png 768w, https:\/\/www.klokocka.info\/wp-content\/uploads\/2022\/12\/image-10-600x284.png 600w\" sizes=\"auto, (max-width: 988px) 100vw, 988px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This is the way to install Ubuntu 22.04 LTS to non UEFI computer (i.e. HP gen 8 servers). After countless hours of trying, i finally found this procedure. The goal is to install Ubuntu on ONE partition, no free space &hellip; <a href=\"https:\/\/www.klokocka.info\/?p=1675\">Continued<\/a><\/p>\n","protected":false},"author":1,"featured_media":1763,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"kt_blocks_editor_width":"","pgc_sgb_lightbox_settings":"","footnotes":""},"categories":[8],"tags":[],"class_list":["post-1675","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nezarazene"],"_links":{"self":[{"href":"https:\/\/www.klokocka.info\/index.php?rest_route=\/wp\/v2\/posts\/1675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.klokocka.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.klokocka.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.klokocka.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.klokocka.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1675"}],"version-history":[{"count":6,"href":"https:\/\/www.klokocka.info\/index.php?rest_route=\/wp\/v2\/posts\/1675\/revisions"}],"predecessor-version":[{"id":1705,"href":"https:\/\/www.klokocka.info\/index.php?rest_route=\/wp\/v2\/posts\/1675\/revisions\/1705"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.klokocka.info\/index.php?rest_route=\/wp\/v2\/media\/1763"}],"wp:attachment":[{"href":"https:\/\/www.klokocka.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.klokocka.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.klokocka.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}