{"id":1352,"date":"2012-10-20T13:21:30","date_gmt":"2012-10-20T11:21:30","guid":{"rendered":"http:\/\/raftaman.net\/?p=1352"},"modified":"2021-05-15T11:46:38","modified_gmt":"2021-05-15T09:46:38","slug":"bootstrapping-a-fedora-17-rootserver","status":"publish","type":"post","link":"https:\/\/possiblelossofprecision.net\/?p=1352","title":{"rendered":"Bootstrapping a Fedora 17 rootserver"},"content":{"rendered":"<p>Quite a few things have changed since I made the <a href=\"https:\/\/possiblelossofprecision.net\/?p=1039\">Bootstrapping a Fedora 15 rootserver<\/a> post, e.g. download urls, anaconda options and the way you add boot targets to grub2 (in contrast to legacy grub). So here&#8217;s an updated version&#8230;<\/p>\n<h2>Get initial ramdisk and kernel<\/h2>\n<p>This is basically still the same as with Fedora 15. The download links have changed a bit since <code>download.fedora.redhat.com<\/code> doesn&#8217;t exist any longer (but I&#8217;ve updated the old post anyway)<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncd \/boot\/\r\nwget http:\/\/dl.fedoraproject.org\/pub\/fedora\/linux\/releases\/17\/Fedora\/x86_64\/os\/isolinux\/initrd.img\r\nwget http:\/\/dl.fedoraproject.org\/pub\/fedora\/linux\/releases\/17\/Fedora\/x86_64\/os\/isolinux\/vmlinuz\r\n<\/pre>\n<h2>Add a boot target to grub<\/h2>\n<p>Edit <strong><code>\/etc\/grub.d\/40_custom<\/code><\/strong> and add the following menu entry<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;...]\r\nmenuentry 'Fedora 17 Install' {\r\n  set root='hd0,2'\r\n  echo    'Loading Linux'\r\n  linux   \/vmlinuz vnc vncpassword=SECRET ksdevice=link ks=http:\/\/server\/ks.cfg\r\n  echo    'Loading initial ramdisk ...'\r\n  initrd  \/initrd.img\r\n}\r\n<\/pre>\n<p>Adjust the <code>root<\/code> parameter depending on the partition that contains the <code>vmlinuz<\/code> and <code>initrd.img<\/code> files (<code>\/dev\/sda2<\/code> in this example, see also <a href=\"https:\/\/possiblelossofprecision.net\/?p=1348\">Adding custom boot target to GRUB2<\/a>).<\/p>\n<p>Also note, that I changed the <strong><code>ksdevice<\/code><\/strong> parameter from <code>eth0<\/code> (which sets a specific interface) to <strong><code>link<\/code><\/strong> (which uses the first interface with link up) since NIC interface names are no longer predictable in recent kernel versions (p10p1, em1, eth0, etc.). For a list of all possible value of <code>ksdevice<\/code> hava a look at the corresponding <a href=\"https:\/\/fedoraproject.org\/wiki\/Anaconda\/Options#ksdevice\">Fedora wiki page<\/a>.<\/p>\n<p>After editing <code>\/etc\/grub.d\/40_custom<\/code>, don&#8217;t forget to <strong>recreate <code>grub.cfg<\/code><\/strong> by invoking<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ngrub2-mkconfig -o \/boot\/grub2\/grub.cfg\r\n<\/pre>\n<p>After rebooting, connect to the vnc server using the password you specified as usual.<\/p>\n<div id=\"attachment_1354\" style=\"width: 560px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/possiblelossofprecision.net\/wordpress\/wp-content\/uploads\/2012\/09\/F17vncInstall.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1354\" src=\"https:\/\/possiblelossofprecision.net\/wordpress\/wp-content\/uploads\/2012\/09\/F17vncInstall-550x439.png\" alt=\"F17vncInstall\" title=\"Fedora 17 vnc installation screenshot\" width=\"550\" height=\"439\" class=\"size-medium wp-image-1354\" srcset=\"https:\/\/possiblelossofprecision.net\/wordpress\/wp-content\/uploads\/2012\/09\/F17vncInstall-550x439.png 550w, https:\/\/possiblelossofprecision.net\/wordpress\/wp-content\/uploads\/2012\/09\/F17vncInstall.png 1024w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><p id=\"caption-attachment-1354\" class=\"wp-caption-text\">click for full size image<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Quite a few things have changed since I made the Bootstrapping a Fedora 15 rootserver post, e.g. download urls, anaconda options and the way you add boot targets to grub2 (in contrast to legacy grub). So here&#8217;s an updated version&#8230; Get initial ramdisk and kernel This is basically still the same as with Fedora 15. The download links have changed&#8230; <a href=\"https:\/\/possiblelossofprecision.net\/?p=1352\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7,40],"class_list":["post-1352","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-fedora","tag-vnc"],"_links":{"self":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/1352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1352"}],"version-history":[{"count":7,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/1352\/revisions"}],"predecessor-version":[{"id":1809,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/1352\/revisions\/1809"}],"wp:attachment":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}