<linkrel="alternate"type="application/rss+xml"title="HugoPoi » Flux des commentaires"href="/comments/feed/"/>
<linkrel="alternate"type="application/rss+xml"title="HugoPoi » Install RancherOs on FreeNas 11.3 Flux des commentaires"href="/2020/03/01/install-rancheros-on-freenas-11-3/feed/"/>
background-image: -webkit-gradient(linear,left top, left bottom,from(#05ad13),to(#05ad13)),-webkit-gradient(linear,left top, left bottom,from(#d2d2d2),to(#d2d2d2));
background-image: -webkit-linear-gradient(linear,left top, left bottom,from(#05ad13),to(#05ad13)),-webkit-linear-gradient(linear,left top, left bottom,from(#d2d2d2),to(#d2d2d2));
background-image: linear-gradient(linear,left top, left bottom,from(#05ad13),to(#05ad13)),linear-gradient(linear,left top, left bottom,from(#d2d2d2),to(#d2d2d2));
}
.navbar:not(.navbar-transparent) li:not(.btn):hover > a,
.navbar li.on-section:not(.btn) > a,
.navbar.full-screen-menu.navbar-transparent li:not(.btn):hover > a,
<divid="primary"class="boxed-layout-header page-header header-small"data-parallax="active"><divclass="container"><divclass="row"><divclass="col-md-10 col-md-offset-1 text-center"><h1class="hestia-title entry-title">Install RancherOs on FreeNas 11.3</h1><h4class="author">Publié par <ahref="/author/hugopoi/"class="vcard author"><strongclass="fn">HugoPoi</strong></a> le <timeclass="entry-date published"datetime="2020-03-01T18:41:44+01:00"content="2020-03-01">1 mars 2020</time><timeclass="updated hestia-hidden"datetime="2020-03-01T19:14:12+01:00">1 mars 2020</time></h4></div></div></div><divclass="header-filter"style="background-image: url(/wp-content/uploads/2017/06/IMG_20170528_085824.jpg);"></div></div>
<divclass="single-post-wrap entry-content"><h1>Install RancherOs on FreeNas 11.3</h1>
<ul>
<li>The automated RancherOs installation aka Docker VM has been removed in<br/>
11.3</li>
<li>RancherOs doesn’t support EFI boot out of the box</li>
<li>Thanks to <aclass="wp-editor-md-post-content-link"href="https://github.com/mkinney/myranch/blob/master/readme.MD">MKinney howto</a></li>
<li>This howto is provided without warranty</li>
<li>TODO the proper way of doing it is somewhere <aclass="wp-editor-md-post-content-link"href="https://wiki.syslinux.org/wiki/index.php?title=Isohybrid">here</a></li>
<li><aclass="wp-editor-md-post-content-link"href="https://unix.stackexchange.com/questions/209566/how-to-format-a-partition-inside-of-an-img-file">Some stuff about losetup</a></li>
</ul>
<h2>1. Make a EFI bootable RancherOs image</h2>
<ul>
<li>You can skip this step by downloading my <aclass="wp-editor-md-post-content-link"href="https://home.hugopoi.net/lufi/r/Rs74GPI1it#uTa8YWxKUcto86BafY4ykzVWPagjmjQwQ6eNFu9IGzI=">1.5.5 efi patched rancheros image</a></li>
<li>Format the main filesystem <code>sudo mkfs.ext4 -L RANCHER_STATE /dev/vda2</code></li>
<li>Create a <code>cloud-config.yml</code> see https://rancher.com/docs/os/v1.x/en/installation/running-rancheros/server/install-to-disk/ for minimum content</li>
<li><code>sudo mkdir /dev/sr0</code> for installer checking about iso mounted before<br/>
<p>If the image is a VM image like a zvol, I think it will work, but I’m not sure, it will only work if the 11.2 behavior is EFI compatible.<br/>
You may patch your existing image/snapshot by justing installing the efi bootloader aka grub in it.</p>
<p>Your installer may be on a different disk if you choose SCSI in place of virtio when you add the raw image device in Freenas, you can identified with</p>
<p>Thank you so much for the step by step guide, it was very helpful. With this I can finally transition from my old Docker VM inherited from FreeNAS 11.1.</p>
<p>Going to state the obvious (for some) and mention that when new version gets released and you run </p>
<p>sudo ros os upgrade</p>
<p>to upgrade you’ll also need to update initrd command in your grub.cfg file on EFI partition, otherwise you’re just going to boot into the same version.</p>
<p>The problem I have is even though grub is specifying 4.14.138 and initird-v1.5.5 on reboot it tells me those don’t exist. Doing a grub edit and using autocomplete the files it ACTUALLY find are /boot/vmlinuz-4.14.73-rancher and /boot/initrd-v1.4.2. Where the heck are those coming from? When I look on /dev/vda2/boot I see the 4.14.138 and initrd-v1.5.5 as the grub reflects. /mnt/efipart/EFI/BOOT has:</p>
<p>-rwxr-xr-x 1 root root 1334816 May 30 15:13 BOOTx64.EFI<br/>
-rwxr-xr-x 1 root root 316 May 30 15:15 grub.cfg<br/>
-rwxr-xr-x 1 root root 1146744 May 30 15:13 grubx64.efi</p>
<p>If you do a «ros os version» on your efi image it’s NOT v1.5.5. It’s v1.4.2 and running the command although it MAY download the files does nothing to actually make the grub.cfg FIND those new files. It’s still looking for vmlinuz-4.14.73 and initrd-v1.4.2.</p>
<p>I found them. The guide doesn’t necessarily state where or when to get the files. You should be able to do this to find and copy the files</p>
<p>As the image is no longer available for download, I decided to share mine. It uses RancherOS v1.5.6 and this needs a slightly different grub.cfg (make sure to copy it from the README) everything else remains the same. </p>
<h3class="hestia-title text-center">Laisser un commentaire <small><arel="nofollow"id="cancel-comment-reply-link"href="/2020/03/01/install-rancheros-on-freenas-11-3/#respond"style="display:none;">Annuler la réponse</a></small></h3><spanclass="pull-left author"><divclass="avatar"><imgsrc="/wp-content/themes/hestia/assets/img/placeholder.jpg"height="64"width="64"/></div></span><formaction="https://blog.hugopoi.net/wp-comments-post.php"method="post"id="commentform"class="form media-body"><pclass="comment-notes"><spanid="email-notes">Votre adresse e-mail ne sera pas publiée.</span> Les champs obligatoires sont indiqués avec <spanclass="required">*</span></p><divclass="row"><divclass="col-md-4"><divclass="form-group label-floating is-empty"><labelclass="control-label">Nom <spanclass="required">*</span></label><inputid="author"name="author"class="form-control"type="text"aria-required='true'/><spanclass="hestia-input"></span></div></div>
<divid="text-2"class="widget widget_text"><h5>Edito</h5><divclass="textwidget">Bienvenu sur mon blog, ici je parle de bricolage, de web (version de base). Blog perso sans prétention je poste quand j'ai le temps en plus j'aime pas écrire.</div>
</div><divid="custom_html-2"class="widget_text widget widget_custom_html"><h5>MASTODON</h5><divclass="textwidget custom-html-widget"><arel="me"href="https://mastodon.hugopoi.net/@hugopoi">@Hugopoi</a></div></div><divid="twitter-2"class="widget widget_twitter"><div><h5><spanclass='twitterwidget twitterwidget-title'>Twitter: hugopoi</span></h5><ul><li><spanclass='entry-content'>RT <ahref="http://twitter.com/UgRwah"class="twitter-user">@UgRwah</a>: The BBC hadn’t prepared for this moment and it was beautiful. <ahref="https://t.co/TY859XCSzV">https://t.co/TY859XCSzV</a></span><spanclass='entry-meta'><spanclass='time-meta'><ahref="http://twitter.com/HugoPoi/statuses/1390364509919920132">07:55:05 mai 06, 2021</a></span><spanclass='from-meta'>from <ahref="https://github.com/TwidereProject"rel="nofollow">Twidere for Android</a></span></span><spanclass="intent-meta"><ahref="http://twitter.com/intent/tweet?in_reply_to=1390364509919920132"data-lang="fr"class="in-reply-to"title="Reply">Reply</a><ahref="http://twitter.com/intent/retweet?tweet_id=1390364509919920132"data-lang="fr"class="retweet"title="Retweet">Retweet</a><ahref="http://twitter.com/intent/favorite?tweet_id=1390364509919920132"data-lang="fr"class="favorite"title="Favorite">Favorite</a></span></li><li><spanclass='entry-content'>I was forced to share this with you
<ahref="https://t.co/6e5E5s9RDZ">https://t.co/6e5E5s9RDZ</a></span><spanclass='entry-meta'><spanclass='time-meta'><ahref="http://twitter.com/HugoPoi/statuses/1389647512261337088">08:25:59 mai 04, 2021</a></span><spanclass='from-meta'>from <ahref="https://crossposter.hugopoi.net/"rel="nofollow">Mastodon To Twitter HugoPoi</a></span></span><spanclass="intent-meta"><ahref="http://twitter.com/intent/tweet?in_reply_to=1389647512261337088"data-lang="fr"class="in-reply-to"title="Reply">Reply</a><ahref="http://twitter.com/intent/retweet?tweet_id=1389647512261337088"data-lang="fr"class="retweet"title="Retweet">Retweet</a><ahref="http://twitter.com/intent/favorite?tweet_id=1389647512261337088"data-lang="fr"class="favorite"title="Favorite">Favorite</a></span></li><li><spanclass='entry-content'>Boosted: <ahref="https://t.co/LFRnbaEaYm">https://t.co/LFRnbaEaYm</a></span><spanclass='entry-meta'><spanclass='time-meta'><ahref="http://twitter.com/HugoPoi/statuses/1389644997012623364">08:16:00 mai 04, 2021</a></span><spanclass='from-meta'>from <ahref="https://crossposter.hugopoi.net/"rel="nofollow">Mastodon To Twitter HugoPoi</a></span></span><spanclass="intent-meta"><ahref="http://twitter.com/intent/tweet?in_reply_to=1389644997012623364"data-lang="fr"class="in-reply-to"title="Reply">Reply</a><ahref="http://twitter.com/intent/retweet?tweet_id=1389644997012623364"data-lang="fr"class="retweet"title="Retweet">Retweet</a><ahref="http://twitter.com/intent/favorite?tweet_id=1389644997012623364"data-lang="fr"class="favorite"title="Favorite">Favorite</a></span></li><li><spanclass='entry-content'>RT <ahref="http://twitter.com/GrablyR"class="twitter-user">@GrablyR</a>: Chantage au pistage publicitaire sur iOS 14.5:
- Facebook: «on va devenir payant»
- Instagram: «on va devenir payant»
- V…</span><spanclass='entry-meta'><spanclass='time-meta'><ahref="http://twitter.com/HugoPoi/statuses/1389545466111594497">01:40:30 mai 04, 2021</a></span><spanclass='from-meta'>from <ahref="https://github.com/TwidereProject"rel="nofollow">Twidere for Android</a></span></span><spanclass="intent-meta"><ahref="http://twitter.com/intent/tweet?in_reply_to=1389545466111594497"data-lang="fr"class="in-reply-to"title="Reply">Reply</a><ahref="http://twitter.com/intent/retweet?tweet_id=1389545466111594497"data-lang="fr"class="retweet"title="Retweet">Retweet</a><ahref="http://twitter.com/intent/favorite?tweet_id=1389545466111594497"data-lang="fr"class="favorite"title="Favorite">Favorite</a></span></li><li><spanclass='entry-content'>RT <ahref="http://twitter.com/bearstech"class="twitter-user">@bearstech</a>: 🐻 <ahref="http://twitter.com/search?q=%23Bearcheology"class="twitter-hashtag">#Bearcheology</a> 🐻
<ahref="http://twitter.com/search?q=%23WebRTC"class="twitter-hashtag">#WebRTC</a> 1/2 : la théorie
<ahref="https://t.co/SHwaIeKkqQ">https://t.co/SHwaIeKkqQ</a></span><spanclass='entry-meta'><spanclass='time-meta'><ahref="http://twitter.com/HugoPoi/statuses/1388932516552318985">09:04:51 mai 02, 2021</a></span><spanclass='from-meta'>from <ahref="https://about.twitter.com/products/tweetdeck"rel="nofollow">TweetDeck</a></span></span><spanclass="intent-meta"><ahref="http://twitter.com/intent/tweet?in_reply_to=1388932516552318985"data-lang="fr"class="in-reply-to"title="Reply">Reply</a><ahref="http://twitter.com/intent/retweet?tweet_id=1388932516552318985"data-lang="fr"class="retweet"title="Retweet">Retweet</a><ahref="http://twitter.com/intent/favorite?tweet_id=1388932516552318985"data-lang="fr"class="favorite"title="Favorite">Favorite</a></span></li><li><spanclass='entry-content'>I'm suffering learning <ahref="http://twitter.com/search?q=%23Dvorak"class="twitter-hashtag">#Dvorak</a><ahref="https://t.co/cPEEeuDvph">https://t.co/cPEEeuDvph</a></span><spanclass='entry-meta'><spanclass='time-meta'><ahref="http://twitter.com/HugoPoi/statuses/1388884245385469953">05:53:02 mai 02, 2021</a></span><spanclass='from-meta'>from <ahref="https://crossposter.hugopoi.net/"rel="nofollow">Mastodon To Twitter HugoPoi</a></span></span><spanclass="intent-meta"><ahref="http://twitter.com/intent/tweet?in_reply_to=1388884245385469953"data-lang="fr"class="in-reply-to"title="Reply">Reply</a><ahref="http://twitter.com/intent/retweet?tweet_id=1388884245385469953"data-lang="fr"class="retweet"title="Retweet">Retweet</a><ahref="http://twitter.com/intent/favorite?tweet_id=1388884245385469953"data-lang="fr"class="favorite"title="Favorite">Favorite</a></span></li><li><spanclass='entry-content'>Malheureusement on dirait qu'ils essayent de le prouver... <ahref="https://t.co/mPZbphG2iY">https://t.co/mPZbphG2iY</a></span><spanclass='entry-meta'><spanclass='time-meta'><ahref="http://twitter.com/HugoPoi/statuses/1388855342109495297">03:58:11 mai 02, 2021</a></span><spanclass='from-meta'>from <ahref="https://github.com/TwidereProject"rel="nofollow">Twidere for Android</a></span></span><spanclass="intent-meta"><ahref="http://twitter.com/intent/tweet?in_reply_to=1388855342109495297"data-lang="fr"class="in-reply-to"title="Reply">Reply</a><ahref="http://twitter.com/intent/retweet?tweet_id=1388855342109495297"data-lang="fr"class="retweet"title="Retweet">Retweet</a><ahref="http://twitter.com/intent/favorite?tweet_id=1388855342109495297"data-lang="fr"class="favorite"title="Favorite">Favorite</a></span></li><li><spanclass='entry-content'><ahref="http://twitter.com/search?q=%23FranceTV"class="twitter-hashtag">#FranceTV</a> le foutage de gueule ... <ahref="https://t.co/uMM5UlnS4d">https://t.co/uMM5UlnS4d</a></span><spanclass='entry-meta'><spanclass='time-meta'><ahref="http://twitter.com/HugoPoi/statuses/1388825857435840512">02:01:02 mai 02, 2021</a></span><spanclass='from-meta'>from <ahref="https://crossposter.hugopoi.net/"rel="nofollow">Mastodon To Twitter HugoPoi</a></span></span><spanclass="intent-meta"><ahref="http://twitter.com/intent/tweet?in_reply_to=1388825857435840512"data-lang="fr"class="in-reply-to"title="Reply">Reply</a><ahref="http://twitter.com/intent/retweet?tweet_id=1388825857435840512"data-lang="fr"class="retweet"title="Retweet">Retweet</a><ahref="http://twitter.com/intent/favorite?tweet_id=1388825857435840512"data-lang="fr"class="favorite"title="Favorite">Favorite</a></span></li><li><spanclass='entry-content'>RT <ahref="http://twitter.com/brutofficiel"class="twitter-user">@brutofficiel</a>: "La théorie du ruissellement n'a jamais fonctionné."
Joe Biden veut taxer les super-riches et les grandes entreprises po…</span><spanclass='entry-meta'><spanclass='time-meta'><ahref="http://twitter.com/HugoPoi/statuses/1387752786654281729">02:57:02 avril 29, 2021</a></span><spanclass='from-meta'>from <ahref="https://github.com/TwidereProject"rel="nofollow">Twidere for Android</a></span></span><spanclass="intent-meta"><ahref="http://twitter.com/intent/tweet?in_reply_to=1387752786654281729"data-lang="fr"class="in-reply-to"title="Reply">Reply</a><ahref="http://twitter.com/intent/retweet?tweet_id=1387752786654281729"data-lang="fr"class="retweet"title="Retweet">Retweet</a><ahref="http://twitter.com/intent/favorite?tweet_id=1387752786654281729"data-lang="fr"class="favorite"title="Favorite">Favorite</a></span></li><li><spanclass='entry-content'>Ressemblance troublante avec les cartouches d'imprimantes ... <ahref="https://t.co/iF7HpIrTGn">https://t.co/iF7HpIrTGn</a></span><spanclass='entry-meta'><spanclass='time-meta'><ahref="http://twitter.com/HugoPoi/statuses/1387350094840795136">12:16:52 avril 28, 2021</a></span><spanclass='from-meta'>from <ahref="https://about.twitter.com/products/tweetdeck"rel="nofollow">TweetDeck</a></span></span><spanclass="intent-meta"><ahref="http://twitter.com/intent/tweet?in_reply_to=1387350094840795136"data-lang="fr"class="in-reply-to"title="Reply">Reply</a><ahref="http://twitter.com/intent/retweet?tweet_id=1387350094840795136"data-lang="fr"class="retweet"title="Retweet">Retweet</a><ahref="http://twitter.com/intent/favorite?tweet_id=1387350094840795136"data-lang="fr"class="favorite"title="Favorite">Favorite</a></span></li></ul><divclass="follow-button"><ahref="http://twitter.com/hugopoi"class="twitter-follow-button"title="Follow @hugopoi"data-lang="fr">@hugopoi</a></div></div></div><divid="categories-3"class="widget widget_categories"><h5>Catégories</h5>
</div><divid="linkcat-2"class="widget widget_links"><h5>Blogs et Infos</h5>
<ulclass='xoxo blogroll'>
<li><ahref="http://blog.rom1v.com"title="Découverte récente, publication de qualité">®om's blog</a></li>
<li><ahref="http://bluetouff.com"title="Un blog hacktiviste avec des idées et des compétences pas comme les autres."target="_blank">☠ Bluetouff</a></li>
<li><ahref="http://www.korben.info/"title="Upgrade your Mind"target="_blank">Korben</a></li>
<li><ahref="http://www.laquadrature.net/fr"title="La Quadrature du Net Fr"target="_blank">La Quadrature du Net</a></li>
<li><ahref="http://pixellibre.net/"title="Un petit blog de geek comme on les aime avec du hadopi, de l’info et du troll"target="_blank">Pixel Libre.net</a></li>
<li><ahref="http://reflets.info"title="Reflets.info fait le pari de devenir le reflet d’une société, des individus qui la composent."target="_blank">Reflets</a></li>
<li><ahref="http://blog.spyou.org/wordpress-mu/"rel="acquaintance"title="Fabriquer son internet"target="_blank">Turb(l)o(g)</a></li>
<li><ahref="http://www.nowatch.net/category/nowatch-net/nowatch-fm/appload-nowatch-fm/"title="Des Apps pour votre mobile (un peu sponsorisé par Apple mais il y a du Android aussi)"target="_blank">AppLoad</a></li>
<li><ahref="http://freepod.net/"title="Libère ton podcast, regroupement de podcast."target="_blank">Freepod</a></li>
<li><ahref="http://www.geekinc.fr/"title="On partage la culture geek ! (sponsorisé par Apple mais j’aime bien quand même)"target="_blank">GeekInc</a></li>
<li><ahref="http://www.captainweb.net/"title="Podcast déjanté de l’actu web, super ambiance !"target="_blank">L'Apéro du Captainweb</a></li>
<li><ahref="http://www.lagrottedubarbu.com/"title="Hack the technologie"target="_blank">La Grotte du Barbu</a></li>
<li><ahref="http://www.poligeek.fr/"title="«Un jour les geek domineront le monde, mais pas demain, y’a une keynote de Steve Jobs»"target="_blank">PoliGeek</a></li>
<li><ahref="http://quadratour.net/"title="Pour les vieux Geeks de l’apocalypse…"target="_blank">Quadratour</a></li>
<h6class="category text-info"><ahref="/category/bidouille/"title="Voir tout les articles dans Bidouille">Bidouille</a></h6>
<h4class="card-title">
<aclass="blog-item-title-link"href="/2021/01/16/linky-opendata-my-ass/"title="Linky opendata my ass"rel="bookmark">
Linky opendata my ass </a>
</h4>
<pclass="card-description">Pour résumer la seule API utilisable en production est l’API Enedis qui est accèssible uniquement aux société (personne morale) ayant montré pate blanche auprès d’Enedis. Si vous voulez la version longue c’est ici. De ce<aclass="moretag"href="/2021/01/16/linky-opendata-my-ass/"> Lire la suite…</a></p>
</div>
</div>
</div>
<divclass="col-md-4">
<divclass="card card-blog">
<divclass="card-image">
<ahref="/2020/04/11/how-to-backup-freenas-zvol-to-s3-storage/"title="How to backup FreeNas zvol to S3 storage">
<h6class="category text-info"><ahref="/category/dossiers/aventure-serveur/"title="Voir tout les articles dans Aventure Serveur">Aventure Serveur</a></h6>
<h4class="card-title">
<aclass="blog-item-title-link"href="/2020/04/11/how-to-backup-freenas-zvol-to-s3-storage/"title="How to backup FreeNas zvol to S3 storage"rel="bookmark">
How to backup FreeNas zvol to S3 storage </a>
</h4>
<pclass="card-description">Context I have a FreeNAS setup I want a cheap offsite backup solution Backblaze only offer S3 storage solution I have virtual machines on zvol to backup (not just files) ZFS send/receive is very convenient<aclass="moretag"href="/2020/04/11/how-to-backup-freenas-zvol-to-s3-storage/"> Lire la suite…</a></p>
<h6class="category text-info"><ahref="/category/dossiers/aventure-serveur/"title="Voir tout les articles dans Aventure Serveur">Aventure Serveur</a></h6>
<pclass="card-description">Voilà un petit moment que je me devais de faire cet article pour vous en dire un peu plus sur comment je gère mes données numériques au quotidien. Et après plusieurs essais et échecs, je<aclass="moretag"href="/2019/03/30/le-cloud-maison/"> Lire la suite…</a></p>