CINXE.COM

Installing Parabola on a USB key - ParabolaWiki

<!DOCTYPE html> <html lang="en" dir="ltr" class="client-nojs"> <head> <meta charset="UTF-8" /> <title>Installing Parabola on a USB key - ParabolaWiki</title> <script>document.documentElement.className = document.documentElement.className.replace( /(^|\s)client-nojs(\s|$)/, "$1client-js$2" );</script> <script>window.RLQ = window.RLQ || []; window.RLQ.push( function () { mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":!1,"wgNamespaceNumber":0,"wgPageName":"Installing_Parabola_on_a_USB_key","wgTitle":"Installing Parabola on a USB key","wgCurRevisionId":19161,"wgRevisionId":19161,"wgArticleId":258,"wgIsArticle":!0,"wgIsRedirect":!1,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["X86","Installation","LiveImage Maker","Request:Correction"],"wgBreakFrames":!1,"wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgMonthNamesShort":["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wgRelevantPageName":"Installing_Parabola_on_a_USB_key","wgRelevantArticleId":258,"wgIsProbablyEditable":!1,"wgRestrictionEdit":[],"wgRestrictionMove":[]});mw.loader.implement("user.options",function($,jQuery){mw.user.options.set({"variant":"en"});});mw.loader.implement("user.tokens",function($,jQuery){mw.user.tokens.set({"editToken":"+\\","patrolToken":"+\\","watchToken":"+\\"});});mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits"]); } );</script> <link rel="stylesheet" href="/load.php?debug=false&amp;lang=en&amp;modules=mediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.sectionAnchor%7Cmediawiki.skinning.content.externallinks%7Cmediawiki.skinning.interface%7Cskins.archlinux.styles&amp;only=styles&amp;skin=archlinux" /> <!--[if IE 6]><link rel="stylesheet" href="/skins/ArchLinux/IE60Fixes.css?303" media="screen" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" href="/skins/ArchLinux/IE70Fixes.css?303" media="screen" /><![endif]--> <meta name="ResourceLoaderDynamicStyles" content="" /> <link rel="stylesheet" href="/load.php?debug=false&amp;lang=en&amp;modules=site&amp;only=styles&amp;skin=archlinux" /> <style>a:lang(ar),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}</style> <script async="" src="/load.php?debug=false&amp;lang=en&amp;modules=startup&amp;only=scripts&amp;skin=archlinux"></script> <meta name="generator" content="MediaWiki 1.26.3" /> <link rel="shortcut icon" href="/favicon.ico" /> <link rel="search" type="application/opensearchdescription+xml" href="/opensearch_desc.php" title="ParabolaWiki (en)" /> <link rel="EditURI" type="application/rsd+xml" href="https://wiki.parabola.nu/api.php?action=rsd" /> <link rel="copyright" href="http://creativecommons.org/licenses/by-sa/4.0/" /> <link rel="alternate" type="application/atom+xml" title="ParabolaWiki Atom feed" href="/index.php?title=Special:RecentChanges&amp;feed=atom" /> </head> <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-Installing_Parabola_on_a_USB_key skin-archlinux action-view"> <div id="archnavbar"><!-- Arch Linux global navigation bar --> <div id="archnavbarlogo"><h1><a href="https://www.parabola.nu/">Parabola GNU/Linux-libre</a></h1></div> <div id="archnavbarmenu"> <ul id="archnavbarlist"> <li id="anb-home"><a href="https://www.parabola.nu/" title="Parabola news, packages, projects and more">Home</a></li> <li id="anb-packages"><a href="https://www.parabola.nu/packages/" title="Package Database">Packages</a></li> <li id="anb-wiki" class="anb-selected"><a href="https://wiki.parabola.nu/" title="Community documentation">Wiki</a></li> <li id="anb-forum"><a href="https://labs.parabola.nu/projects/parabola-community-forum" title="Parabola Community Forum">Forum</a></li> <li id="anb-bugs"><a href="https://labs.parabola.nu" title="Issue Tracker">Issues</a></li> <li id="anb-projects"><a href="https://projects.parabola.nu/" title="Our Code">Projects</a></li> <li id="anb-download"><a href="https://wiki.parabola.nu/Get_Parabola" title="Get Parabola">Download</a></li> </ul> </div> </div><!-- #archnavbar --> <div id="globalWrapper"> <div id="column-content"> <div id="content" class="mw-body" role="main"> <a id="top"></a> <div class="mw-indicators"> </div> <h1 id="firstHeading" class="firstHeading" lang="en">Installing Parabola on a USB key</h1> <div id="bodyContent" class="mw-body-content"> <div id="siteSub">From ParabolaWiki</div> <div id="contentSub"></div> <div id="jump-to-nav" class="mw-jump">Jump to: <a href="#column-one">navigation</a>, <a href="#searchInput">search</a></div> <!-- start content --> <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="toc noprint" style="text-align: center; margin-bottom: 1em"> <p><b><a href="/Help:I18n" title="Help:I18n">i18n</a></b> </p> <hr /> <p><a href="/index.php?title=Installing_Parabola_on_a_USB_key_(Dansk)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Dansk) (page does not exist)">Dansk</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(Deutsch)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Deutsch) (page does not exist)">Deutsch</a>&#160;&#8211; <strong class="selflink">English</strong>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(Esperanto)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Esperanto) (page does not exist)">Esperanto</a>&#160;&#8211; <a href="/Installing_Parabola_on_a_USB_key_(Espa%C3%B1ol)" title="Installing Parabola on a USB key (Español)">Español</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(Euskera)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Euskera) (page does not exist)">Euskera</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(Fran%C3%A7ais)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Français) (page does not exist)">Français</a>&#160;&#8211; <a href="/Installing_Parabola_on_a_USB_key_(Galego)" title="Installing Parabola on a USB key (Galego)">Galego</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(Indonesia)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Indonesia) (page does not exist)">Indonesia</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(Italiano)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Italiano) (page does not exist)">Italiano</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(Lietuvi%C5%A1kai)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Lietuviškai) (page does not exist)">Lietuviškai</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(Magyar)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Magyar) (page does not exist)">Magyar</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(Nederlands)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Nederlands) (page does not exist)">Nederlands</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(Polski)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Polski) (page does not exist)">Polski</a>&#160;&#8211; <a href="/Installing_Parabola_on_a_USB_key_(Portugu%C3%AAs)" title="Installing Parabola on a USB key (Português)">Português</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(Rom%C3%A2n%C4%83)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Română) (page does not exist)">Română</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(Slovensk%C3%BD)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Slovenský) (page does not exist)">Slovenský</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(Suomi)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Suomi) (page does not exist)">Suomi</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(Svenska)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Svenska) (page does not exist)">Svenska</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(T%C3%BCrk%C3%A7e)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Türkçe) (page does not exist)">Türkçe</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(%C4%8Cesky)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Česky) (page does not exist)">Česky</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(%CE%95%CE%BB%CE%BB%CE%B7%CE%BD%CE%B9%CE%BA%CE%AC)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Ελληνικά) (page does not exist)">Ελληνικά</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(%D0%91%D1%8A%D0%BB%D0%B3%D0%B0%D1%80%D1%81%D0%BA%D0%B8)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Български) (page does not exist)">Български</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Русский) (page does not exist)">Русский</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(%D0%A1%D1%80%D0%BF%D1%81%D0%BA%D0%B8)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Српски) (page does not exist)">Српски</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(%D0%A3%D0%BA%D1%80%D0%B0%D1%97%D0%BD%D1%81%D1%8C%D0%BA%D0%B0)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (Українська) (page does not exist)">Українська</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(%D8%A7%D9%84%D8%B9%D8%B1%D8%A8%D9%8A%D9%91%D8%A9)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (العربيّة) (page does not exist)">العربيّة</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(%D7%A2%D7%91%D7%A8%D7%99%D7%AA)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (עברית) (page does not exist)">עברית</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(%E0%B9%84%E0%B8%97%E0%B8%A2)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (ไทย) (page does not exist)">ไทย</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(%E6%97%A5%E6%9C%AC%E8%AA%9E)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (日本語) (page does not exist)">日本語</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(%E6%AD%A3%E9%AB%94%E4%B8%AD%E6%96%87)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (正體中文) (page does not exist)">正體中文</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (简体中文) (page does not exist)">简体中文</a>&#160;&#8211; <a href="/index.php?title=Installing_Parabola_on_a_USB_key_(%ED%95%9C%EA%B5%AD%EC%96%B4)&amp;action=edit&amp;redlink=1" class="new" title="Installing Parabola on a USB key (한국어) (page does not exist)">한국어</a> </p> </div> <p>This page discusses how to perform a regular Parabola installation onto a USB key (or "flash drive"). The result will be a system that will be updated through normal use. This is different from <a href="/Putting_installation_media_on_a_USB_key" title="Putting installation media on a USB key" class="mw-redirect">booting the installation media from a USB key</a>. </p> <div id="toc" class="toc"><div id="toctitle"><h2>Contents</h2></div> <ul> <li class="toclevel-1 tocsection-1"><a href="#Grab_a_big_enough_USB_key"><span class="tocnumber">1</span> <span class="toctext">Grab a big enough USB key</span></a></li> <li class="toclevel-1 tocsection-2"><a href="#Grab_CD"><span class="tocnumber">2</span> <span class="toctext">Grab CD</span></a></li> <li class="toclevel-1 tocsection-3"><a href="#Installation"><span class="tocnumber">3</span> <span class="toctext">Installation</span></a></li> <li class="toclevel-1 tocsection-4"><a href="#Configuration"><span class="tocnumber">4</span> <span class="toctext">Configuration</span></a></li> <li class="toclevel-1 tocsection-5"><a href="#Tips"><span class="tocnumber">5</span> <span class="toctext">Tips</span></a> <ul> <li class="toclevel-2 tocsection-6"><a href="#Painless_boot_on_different_machines_without_using_UUID"><span class="tocnumber">5.1</span> <span class="toctext">Painless boot on different machines without using UUID</span></a></li> <li class="toclevel-2 tocsection-7"><a href="#Optimizing_for_the_lifespan_of_flash_memory"><span class="tocnumber">5.2</span> <span class="toctext">Optimizing for the lifespan of flash memory</span></a></li> <li class="toclevel-2 tocsection-8"><a href="#F2FS_flash_friendly_file-system"><span class="tocnumber">5.3</span> <span class="toctext">F2FS flash friendly file-system</span></a></li> </ul> </li> <li class="toclevel-1 tocsection-9"><a href="#See_Also"><span class="tocnumber">6</span> <span class="toctext">See Also</span></a></li> <li class="toclevel-1 tocsection-10"><a href="#Acknowledgement"><span class="tocnumber">7</span> <span class="toctext">Acknowledgement</span></a></li> </ul> </div> <h2><span class="mw-headline" id="Grab_a_big_enough_USB_key"><span class="mw-headline-number">1</span> Grab a big enough USB key</span></h2> <p>If installing KDE and a large amount of applications, 3 GiB is the recommended minimum. GNOME and Xfce4, along with a typical set of packages for a desktop (GIMP, Pidgin, LibreOffice, Firefox, Gnash) can be installed on a 2 GiB stick, leaving a small amount of room for user data. </p> <h2><span class="mw-headline" id="Grab_CD"><span class="mw-headline-number">2</span> Grab CD</span></h2> <p>An Parabola CD can be used to install Parabola onto the USB key, via booting the CD and launching AIF with <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">/libre/setup</span>. Or, if you have another GNU/Linux computer available (it needs not be Parabola, can be other free distro), you can follow the instructions to <a href="/index.php?title=Install_from_Existing_GNU/Linux&amp;action=edit&amp;redlink=1" class="new" title="Install from Existing GNU/Linux (page does not exist)">install from existing GNU/Linux</a>, and then skip to the configuration section. In case you are already running Parabola, simply install <span style="font-family: monospace"><a rel="nofollow" class="external text" href="https://parabola.nu/packages/?name=aif-libre">aif-libre</a></span> and launch it with: <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">aif -p interactive</span>. </p> <h2><span class="mw-headline" id="Installation"><span class="mw-headline-number">3</span> Installation</span></h2> <p>Launch the installer <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">/libre/setup</span>. The setup process can be done normally, with only a few pointers: </p> <ul><li> It is best to manually partition the drive, as the auto partition may not work, and will create unnecessary partitions.</li> <li> If cfdisk fails with "Partition ends in the final partial cylinder" fatal error, the only way to proceed is to kill all partitions on the drive. Open another terminal (<span style="border: 0.25em solid; border-color: #DDD #BBB #BBB #DDD; background: #EEE; padding: 0.10em 0.40em; margin: 0.10em; white-space: nowrap; min-width: 1em; display: inline-block; text-align: center">Alt+F2</span>), type <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">fdisk /dev/sdX</span> (where <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">sdX</span> is your usb drive), print partition table (p), check that it's ok, delete it (d) and write changes (w). Now return to cfdisk.</li> <li> It is highly recommended to review the <a rel="nofollow" class="external text" href="https://wiki.parabolagnulinux.org/index.php/SSD#Tips_for_Minimizing_SSD_Read.2FWrites">Tips for Minimizing SSD Read/Writes</a> on the <a href="/index.php?title=SSD&amp;action=edit&amp;redlink=1" class="new" title="SSD (page does not exist)">SSD</a> wiki article prior to selecting a filesystem. To sum up, ext4 with a journal should be fine. Recognize that flash has a limited number of writes, and a journaling file system will take some of these as the journal is updated. For this same reason, it is best to forgo a swap partition. Note that this does not affect installing onto a USB hard drive.</li> <li> When editing the <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">/etc/mkinitcpio.conf</span>, add the <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">usb</span> hook to the hooks array right after udev. This is necessary for appropriate module loading in early userspace. If USB key will be use on several machines, please remove the "autodetect" hook to the kernel recognize anywhere computer when start the Parabola System.</li></ul> <h2><span class="mw-headline" id="Configuration"><span class="mw-headline-number">4</span> Configuration</span></h2> <ul><li> Make sure that <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">/etc/fstab</span> includes the correct partition information for <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">/</span>, and for any other partitions on the USB key. If the usb key is to be booted on several machines, it is quite likely that devices and number of available hard disks vary. So it is advised to use BY-ID:</li></ul> <p>To get the proper UUIDs for your partitions issue <b>blkid</b> </p> <ul><li> menu.lst, the Grub configuration file, should be edited to (loosely) match the following:</li></ul> <div style="padding: 5px; margin: 0.50em 0; background-color: #DDDDFF; border: thin solid #BBBBDD"><strong> Note: </strong>When grub is installed on the USB key, the key will always be hd0,0</div> <p>With the static /dev/sdaX: </p> <pre>root (hd0,0) kernel /boot/vmlinuz-linux-libre root=/dev/sda1 ro initrd /boot/initramfs-linux-libre.img </pre> <p>When using label your menu.lst should look like this: </p> <pre>root (hd0,0) kernel /boot/vmlinuz-linux-libre root=/dev/disk/by-label/<b>Parabola</b> ro initrd /boot/initramfs-linux-libre.img </pre> <p>With for UUID, it should be like this: </p> <pre>root (hd0,0) kernel /boot/vmlinuz-linux-libre root=/dev/disk/by-uuid/3a9f8929-627b-4667-9db4-388c4eaaf9fa ro initrd /boot/initramfs-linux-libre.img </pre> <p>But using the BY-ID, is very important when to use on several machines, because it will be recognize by the hardware identification, it should be like this: </p> <pre>root (hd0,0) kernel /boot/vmlinuz-linux-libre root=/dev/disk/by-id/usb-Kingston_DT_100_G2_0013729B6EB8EB6115590179-0:0-part1 ro initrd /boot/initramfs-linux-libre.img </pre> <h2><span class="mw-headline" id="Tips"><span class="mw-headline-number">5</span> Tips</span></h2> <h3><span class="mw-headline" id="Painless_boot_on_different_machines_without_using_UUID"><span class="mw-headline-number">5.1</span> Painless boot on different machines without using UUID</span></h3> <div style="text-align: center; margin-bottom: 1em; overflow:hidden;"> <table class="notice noprint toc" id="out_of_date" style="background: &#123;&#123;&#123;backgroundcolor}}}; border-color: &#123;&#123;&#123;bordercolor}}}; width: 100%"> <tr> <td style="background-color: &#123;&#123;&#123;signalcolor}}}; width: 100px"> </td> <td> <b>This article or section is <a href="/Template:Out_of_date" title="Template:Out of date">out of date</a>.</b> <div style="font-size: 90%">Please help improve the wiki by updating the article and correcting mistakes.</div> </td> <td style="background-color: &#123;&#123;&#123;signalcolor}}}; width: 100px"> </td></tr></table> </div> <p>When using the USB key on various target machines, it is helpful to have multiple entries in GRUB, for machines with different setups. For example, the GRUB configuration could contain: </p> <pre># (0) Parabola GNU/Linux-Libre title Parabola GNU/Linux-Libre (first drive) root (hd0,0) kernel /boot/vmlinuz-linux-libre root=/dev/sda1 ro initrd /boot/initramfs-linux-libre.img </pre> <p>As well as </p> <pre># (1) Parabola GNU/Linux-Libre title Parabola GNU/Linux-Libre (second drive) root (hd0,0) kernel /boot/vmlinuz-linux-libre root=/dev/sdb1 ro initrd /boot/initramfs-linux-libre.img </pre> <p>And so forth, giving you the option to select a configuration for a wider variety of machines. However, changing the <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">root=</span> option in GRUB does not change <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">/etc/fstab</span> and you must do something (in our example using udev symlink), so the root partition will always be mounted correctly. </p> <ul><li> Run <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">udevinfo -p /sys/block/sdx/ -a</span> (where sdx is the device name of your usb key)</li> <li> Find unique information pertaining to your usb key. I chose <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">SYSFS{model}=="DataTraveler 2.0"</span> </li> <li> Make a new file: <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">/etc/udev/udev.rules/10-my-usb-key.rules</span> and insert: </li></ul> <dl><dd><pre>KERNEL=="sd**", SYSFS{product}=="DataTraveler 2.0", SYMLINK+="WHATEVERYOUWANTOTCALLIT%n"</pre></dd> <dd>(<span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">KERNEL=="sd**"</span> is because the kernel - 2.6.16 here - names all usb devices sd as it uses the scsi sub-system and you want to look at every sd device and apply the setting to every partition), with <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">SYSFS{model}==</span> being the unique identifier collected from udevinfo.</dd></dl> <ul><li> Run <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">/etc/start-udev uevents</span> and make sure the symlinks appears in <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">/dev</span>. </li> <li> If so, edit <span style="display:inline-block; background-color:#ebf1f5; padding: 0.1em 0.2em; font-family:monospace; color:#222;">/etc/fstab</span>, replacing your old sdx with the new symlinks.</li></ul> <h3><span class="mw-headline" id="Optimizing_for_the_lifespan_of_flash_memory"><span class="mw-headline-number">5.2</span> Optimizing for the lifespan of flash memory</span></h3> <ul><li> Again, it is highly recommended to review the [<a rel="nofollow" class="external text" href="http://wiki.parabolagnulinux.org/index.php/SSD#Tips_for_Minimizing_SSD_Read.2FWrites">Tips for Minimizing SSD Read/Writes</a>] on the <a href="/index.php?title=SSD&amp;action=edit&amp;redlink=1" class="new" title="SSD (page does not exist)">SSD</a> wiki article.</li></ul> <h3><span class="mw-headline" id="F2FS_flash_friendly_file-system"><span class="mw-headline-number">5.3</span> F2FS flash friendly file-system</span></h3> <p>F2FS has been tested successfully with some Unices but reports of Parabola are yet to be posted. </p> <h2><span class="mw-headline" id="See_Also"><span class="mw-headline-number">6</span> See Also</span></h2> <ul><li> <a href="/index.php?title=Solid_State_Drives&amp;action=edit&amp;redlink=1" class="new" title="Solid State Drives (page does not exist)">Solid State Drives</a></li></ul> <h2><span class="mw-headline" id="Acknowledgement"><span class="mw-headline-number">7</span> Acknowledgement</span></h2> <p>&lt; includeonly&gt; </p> <div>This wiki article is derived from the ArchWiki. The usual modifications are related to support for <a href="/Init-Freedom" title="Init-Freedom"> non-systemd</a> and non-x86 CPU architectures; and any <a rel="nofollow" class="external text" href="https://www.gnu.org/philosophy/free-system-distribution-guidelines.html">FSDG</a>-unfit suggestions are removed.</div> <p>&lt; /includeonly&gt; </p> <!-- NewPP limit report Cached time: 20250301225759 Cache expiry: 86400 Dynamic content: false CPU time usage: 0.018 seconds Real time usage: 0.022 seconds Preprocessor visited node count: 546/1000000 Preprocessor generated node count: 1452/1000000 Post‐expand include size: 9923/2097152 bytes Template argument size: 3420/2097152 bytes Highest expansion depth: 6/40 Expensive parser function count: 0/100 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 14.701 1 - -total 33.53% 4.929 1 - Template:I18n 19.41% 2.853 31 - Template:Lang 14.56% 2.140 19 - Template:Ic 14.43% 2.122 1 - Template:Note 10.35% 1.521 1 - Template:Out_of_date 9.82% 1.444 1 - Template:Box_BLUE 5.50% 0.809 1 - Template:Message_box 5.29% 0.778 1 - Template:Box 4.71% 0.693 1 - Template:Bc --> <!-- Saved in parser cache with key wiki_parabolagnulinux_org:pcache:idhash:258-0!*!0!1!en!*!* and timestamp 20250301225759 and revision id 19161 --> </div><div class="printfooter"> Retrieved from "<a dir="ltr" href="https://wiki.parabola.nu/index.php?title=Installing_Parabola_on_a_USB_key&amp;oldid=19161">https://wiki.parabola.nu/index.php?title=Installing_Parabola_on_a_USB_key&amp;oldid=19161</a>"</div> <div id='catlinks' class='catlinks'><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/Special:Categories" title="Special:Categories">Categories</a>: <ul><li><a href="/Category:X86" title="Category:X86">X86</a></li><li><a href="/Category:Installation" title="Category:Installation">Installation</a></li><li><a href="/Category:LiveImage_Maker" title="Category:LiveImage Maker">LiveImage Maker</a></li><li><a href="/Category:Request:Correction" title="Category:Request:Correction">Request:Correction</a></li></ul></div></div> <!-- end content --> <div class="visualClear"></div> </div> </div> </div> <div id="column-one"> <h2>Navigation menu</h2> <div id="p-cactions" class="portlet" role="navigation"> <h3>Views</h3> <div class="pBody"> <ul> <li id="ca-nstab-main" class="selected"><a href="/Installing_Parabola_on_a_USB_key" title="View the content page [c]" accesskey="c">Page</a></li> <li id="ca-talk" class="new"><a href="/index.php?title=Talk:Installing_Parabola_on_a_USB_key&amp;action=edit&amp;redlink=1" rel="discussion" title="Discussion about the content page [t]" accesskey="t">Discussion</a></li> <li id="ca-viewsource"><a href="/index.php?title=Installing_Parabola_on_a_USB_key&amp;action=edit" title="This page is protected.&#10;You can view its source [e]" accesskey="e">View source</a></li> <li id="ca-history"><a href="/index.php?title=Installing_Parabola_on_a_USB_key&amp;action=history" title="Past revisions of this page [h]" accesskey="h">History</a></li> </ul> </div> </div> <div class="portlet" id="p-personal" role="navigation"> <h3>Personal tools</h3> <div class="pBody"> <ul> <li id="pt-anonuserpage"><a href="/User:8.222.208.146" class="new" title="The user page for the IP address you are editing as [.]" accesskey=".">8.222.208.146</a></li> <li id="pt-anontalk"><a href="/User_talk:8.222.208.146" class="new" title="Discussion about edits from this IP address [n]" accesskey="n">Talk for this IP address</a></li> <li id="pt-login"><a href="/index.php?title=Special:UserLogin&amp;returnto=Installing+Parabola+on+a+USB+key" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o">Log in</a></li> </ul> </div> </div> <div class="portlet" id="p-logo" role="banner"> <a href="/Main_Page" class="mw-wiki-logo" title="Visit the main page"></a> </div> <div class="generated-sidebar portlet" id="p-navigation" role="navigation"> <h3>Navigation</h3> <div class='pBody'> <ul> <li id="n-mainpage-description"><a href="/Main_Page" title="Visit the main page [z]" accesskey="z">Main page</a></li> <li id="n-Table-of-Contents"><a href="/Table_of_Contents">Table of Contents</a></li> <li id="n-recentchanges"><a href="/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li> <li id="n-randompage"><a href="/Special:Random" title="Load a random page [x]" accesskey="x">Random page</a></li> <li id="n-help"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents" title="The place to find out">Help</a></li> </ul> </div> </div> <div id="p-search" class="portlet" role="search"> <h3><label for="searchInput">Search</label></h3> <div id="searchBody" class="pBody"> <form action="/index.php" id="searchform"> <input type='hidden' name="title" value="Special:Search"/> <input type="search" name="search" placeholder="Search" title="Search ParabolaWiki [f]" accesskey="f" id="searchInput" /> <input type="submit" name="go" value="Go" title="Go to a page with this exact name if it exists" id="searchGoButton" class="searchButton" />&#160; <input type="submit" name="fulltext" value="Search" title="Search the pages for this text" id="mw-searchButton" class="searchButton" /> </form> </div> </div> <div class="portlet" id="p-tb" role="navigation"> <h3>Tools</h3> <div class="pBody"> <ul> <li id="t-whatlinkshere"><a href="/Special:WhatLinksHere/Installing_Parabola_on_a_USB_key" title="A list of all wiki pages that link here [j]" accesskey="j">What links here</a></li> <li id="t-recentchangeslinked"><a href="/Special:RecentChangesLinked/Installing_Parabola_on_a_USB_key" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li> <li id="t-specialpages"><a href="/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q">Special pages</a></li> <li id="t-print"><a href="/index.php?title=Installing_Parabola_on_a_USB_key&amp;printable=yes" rel="alternate" title="Printable version of this page [p]" accesskey="p">Printable version</a></li> <li id="t-permalink"><a href="/index.php?title=Installing_Parabola_on_a_USB_key&amp;oldid=19161" title="Permanent link to this revision of the page">Permanent link</a></li> <li id="t-info"><a href="/index.php?title=Installing_Parabola_on_a_USB_key&amp;action=info" title="More information about this page">Page information</a></li> </ul> </div> </div> </div><!-- end of the left (by default at least) column --> <div class="visualClear"></div> <div id="footer" role="contentinfo"> <div id="f-copyrightico"> <a href="http://creativecommons.org/licenses/by-sa/4.0/"><img src="http://i.creativecommons.org/l/by-sa/4.0/88x31.png" alt="Creative Commons Attribution-ShareAlike 4.0 International License (or at your option, any later version)" width="88" height="31" /></a> </div> <div id="f-poweredbyico"> <a href="//www.mediawiki.org/"><img src="/resources/assets/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" srcset="/resources/assets/poweredby_mediawiki_132x47.png 1.5x, /resources/assets/poweredby_mediawiki_176x62.png 2x" width="88" height="31" /></a> </div> <ul id="f-list"> <li id="lastmod"> This page was last modified on 24 August 2017, at 05:19.</li> <li id="copyright">Content is available under <a class="external" rel="nofollow" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License (or at your option, any later version)</a> unless otherwise noted.</li> <li id="privacy"><a href="/ParabolaWiki:Privacy_policy" title="ParabolaWiki:Privacy policy">Privacy policy</a></li> <li id="about"><a href="/ParabolaWiki:About" title="ParabolaWiki:About">About ParabolaWiki</a></li> <li id="disclaimer"><a href="/ParabolaWiki:General_disclaimer" title="ParabolaWiki:General disclaimer">Disclaimers</a></li> </ul> </div> </div> <script>window.RLQ = window.RLQ || []; window.RLQ.push( function () { mw.loader.state({"user":"ready","user.groups":"ready"});mw.loader.load(["mediawiki.toc","mediawiki.action.view.postEdit","site","mediawiki.user","mediawiki.hidpi","mediawiki.page.ready","mediawiki.searchSuggest"]); } );</script><script>window.RLQ = window.RLQ || []; window.RLQ.push( function () { mw.config.set({"wgBackendResponseTime":46}); } );</script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10