{"id":7125,"date":"2022-11-28T17:20:07","date_gmt":"2022-11-29T01:20:07","guid":{"rendered":"https:\/\/www.terabyteunlimited.com\/kb\/?post_type=lsvr_kba&#038;p=7125"},"modified":"2022-11-28T17:20:07","modified_gmt":"2022-11-29T01:20:07","slug":"configure-image-for-linux-to-save-log-to-boot-media","status":"publish","type":"lsvr_kba","link":"https:\/\/www.terabyteunlimited.com\/kb\/kb-articles\/configure-image-for-linux-to-save-log-to-boot-media\/","title":{"rendered":"Configure Image for Linux to Save Log to Boot Media"},"content":{"rendered":"<p>By default, the Image for Linux log file is saved to the booted RAM disk, which results in the log being lost on reboot. However, if you are using writable boot media, such as a USB flash drive, you can configure Image for Linux to automatically save the log file directly to the boot media. This can be accomplished easily by specifying a few options when creating the boot media.<\/p>\r\n\r\n\r\n\r\n  \r\n\r\n\r\n<p><strong>Instructions:<\/strong><\/p>\r\n\r\n\r\n\r\n  \r\n\r\n\r\n<ol>\r\n    \r\n\t\r\n\t\r\n\t<li>Run MakeDisk for the Image for Linux boot media you wish to create. Proceed through the process normally and use the options specified in the following steps.<br>\r\n      <br>\r\n    <\/li>\r\n\r\n\r\n\r\n    \r\n\t\r\n\t\r\n\t<li>On the <font color=\"#005858\"><strong>Select the product to build<\/strong><\/font> step, select the <strong>Traditional - You have control over options. (Custom)<\/strong> option.<br>\r\n      <br>\r\n<img decoding=\"async\" align=\"baseline\" src=\"https:\/\/www.terabyteunlimited.com\/kb\/images\/ifllogufd\/ifllogufd_a.png\" \/>\r\n      <br>\r\n      <br>\r\n    <\/li>\r\n\r\n\r\n\r\n    \r\n\t\r\n\t\r\n\t<li>On the <font color=\"#005858\"><strong>Additional ifl.ini Options (optional)<\/strong><\/font> step, enter the following text in the edit control (if specifying multiple options in a single edit control make sure to separate them with semicolons):<br>\r\n      <font color=\"#008800\"><strong>logfile=\/tbu\/boot\/ifl.log<\/strong><\/font><br>\r\n      <br>\r\n<img decoding=\"async\" align=\"baseline\" src=\"https:\/\/www.terabyteunlimited.com\/kb\/images\/ifllogufd\/ifllogufd_b.png\" \/>\r\n      <br>\r\n      <br>\r\n    <\/li>\r\n\r\n\r\n\r\n    \r\n\t\r\n\t\r\n\t<li>On the <font color=\"#005858\"><strong>Boot Option - Mounting<\/strong><\/font> step, select the <strong>Leave Boot Drive Mounted as \/tbu\/boot<\/strong> option.<br>\r\n      <br>\r\n<img decoding=\"async\" align=\"baseline\" src=\"https:\/\/www.terabyteunlimited.com\/kb\/images\/ifllogufd\/ifllogufd_c.png\" \/>\r\n      <br>\r\n      <br>\r\n    <\/li>\r\n\r\n\r\n\r\n    \r\n\t\r\n\t\r\n\t<li>Finish creating the boot media.<\/li>\r\n\r\n\r\n\r\n  <\/ol>\r\n\r\n\r\n\r\n  \r\n\r\n\r\n<p>When Image for Linux boots from the media it will leave it mounted to \/tbu\/boot. Image for Linux will save the log file (ifl.log if configured as shown here) in the root folder of the media.<\/p>\r\n\r\n\r\n\r\n  \r\n\r\n\r\n<p><strong><font color=\"#ff0000\">Important:<\/font><\/strong> The boot media must remain connected (and mounted) or Image for Linux will be unable to save the log to it. Additionally, if the boot media drive will  be used as the source or destination for backup images, use the Image for Linux <strong>File (OS)<\/strong> access method and browse down the <strong>\/tbu\/boot<\/strong> path. Using the <strong>File (Direct)<\/strong> method may cause file system corruption since the partition is mounted. If the <strong>File (Direct)<\/strong> method must be used, unmount the partition first.<br \/>\r\n<br \/>\r\n  <\/p>","protected":false},"excerpt":{"rendered":"<p>By default, the Image for Linux log file is saved to the booted RAM disk, which results in the log being lost on reboot. However, if you are using writable boot media, such as a USB flash drive, you can configure Image for Linux to automatically save the log file directly to the boot media. [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"lsvr_kba_cat":[1815],"lsvr_kba_tag":[],"class_list":["post-7125","lsvr_kba","type-lsvr_kba","status-publish","hentry","lsvr_kba_cat-general-information-image-for-linux"],"_links":{"self":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/7125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/comments?post=7125"}],"version-history":[{"count":3,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/7125\/revisions"}],"predecessor-version":[{"id":7128,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/7125\/revisions\/7128"}],"wp:attachment":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/media?parent=7125"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_cat?post=7125"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_tag?post=7125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}