├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── archfi ├── lng ├── Arabic ├── Brazilian ├── Chinese ├── Dutch ├── English ├── French ├── German ├── Greek ├── Hungarian ├── Italian ├── Norwegian ├── Polish ├── Portuguese ├── README.md ├── Russian ├── Spanish └── Turkish ├── makerelease └── samples └── custompackagelist /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # archfi CONTRIBUTING 2 | 3 | ## Contributing : 4 | * Open an issue before work to hard 5 | * **Work on the src branch** 6 | * **Use tab for indentation** 7 | * **Preserve indentation on empty lines** 8 | * **Test your changes** 9 | 10 | - [ ] I've read these rules before submitting my PR. 11 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # archfi 2 | 3 | Just a simple bash script wizard to install Arch Linux after you have booted on the official Arch Linux install media. 4 | 5 | With this script, you can install Arch Linux with two simple terminal commands. 6 | 7 | This wizard is made to install minimum packages (Base, bootloader and optionally archdi). 8 | 9 | At the end of this wizard, you can install or launch [archdi](https://github.com/MatMoul/archdi) (Arch Linux Desktop Install) to install and configure desktop packages. 10 | 11 | You can watch my videos to see how to use it [here](https://www.youtube.com/playlist?list=PLytHgIKLV1caHlCrcTSkm5OF2WSVI1_Sq). 12 | 13 | ## How to use 14 | 15 | First, boot with the [last Arch Linux image](https://www.archlinux.org/download/) with a [bootable device](https://wiki.archlinux.org/index.php/USB_flash_installation_media). 16 | 17 | Then make sure you have Internet connection on the Arch iso. If you have a wireless connection the [`iwctl`](https://wiki.archlinux.org/index.php/Iwd#iwctl) command might be useful to you. You can also read the [Network configuration](https://wiki.archlinux.org/index.php/Network_configuration) from the Arch Linux guide for more detailed instructions. 18 | 19 | Then download the script with from the command line: 20 | 21 | curl -LO archfi.sf.net/archfi 22 | 23 | If SourceForge is down, use this instead: 24 | 25 | curl -LO matmoul.github.io/archfi 26 | 27 | Finally, launch the script: 28 | 29 | sh archfi 30 | 31 | Then follow the on-screen instructions to completion. 32 | 33 | If you require extra help, visit the provided video playlist and follow my example. 34 | 35 | ## More custom install 36 | 37 | sh archfi -cpl {URL of your custom package list} 38 | 39 | You can find a sample custom package list file in the samples folder. 40 | 41 | ## For developers 42 | 43 | You can test your script with this command : 44 | 45 | sh archfi -t {githubusername} {branchname} 46 | 47 | Example : 48 | 49 | sh archfi -t matmoul master 50 | -------------------------------------------------------------------------------- /archfi: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Arch Linux Fast Install (archfi) 4 | # -------------------------------- 5 | # author : MatMoul 6 | # https://github.com/MatMoul 7 | # http://sourceforge.net/u/matmoul 8 | # project : https://github.com/MatMoul/archfi 9 | # http://sourceforge.net/projects/archfi/ 10 | # license : LGPL-3.0 (http://opensource.org/licenses/lgpl-3.0.html) 11 | # 12 | # reference : https://wiki.archlinux.org/index.php/Installation_guide 13 | 14 | 15 | apptitle="Arch Linux Fast Install (archfi) - Version: 2022.11.21.01.44.43 (GPLv3)" 16 | baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master 17 | cpl=0 18 | skipfont="0" 19 | fspkgs="" 20 | 21 | 22 | # -------------------------------------------------------- 23 | mainmenu(){ 24 | if [ "${1}" = "" ]; then 25 | nextitem="." 26 | else 27 | nextitem=${1} 28 | fi 29 | options=() 30 | options+=("${txtlanguage}" "Language") 31 | options+=("${txtsetkeymap}" "(loadkeys ...)") 32 | options+=("${txteditor}" "(${txtoptional})") 33 | options+=("${txtdiskpartmenu}" "") 34 | options+=("${txtselectpartsmenu}" "") 35 | options+=("" "") 36 | options+=("${txtreboot}" "") 37 | sel=$(dialog --backtitle "${apptitle}" --title "${txtmainmenu}" --cancel-button "${txtexit}" --default-item "${nextitem}" --menu "" 0 0 0 \ 38 | "${options[@]}" \ 39 | 3>&1 1>&2 2>&3) 40 | if [ "$?" = "0" ]; then 41 | case ${sel} in 42 | "${txtlanguage}") 43 | chooselanguage 44 | nextitem="${txtsetkeymap}" 45 | ;; 46 | "${txtsetkeymap}") 47 | setkeymap 48 | nextitem="${txtdiskpartmenu}" 49 | ;; 50 | "${txteditor}") 51 | chooseeditor 52 | nextitem="${txtdiskpartmenu}" 53 | ;; 54 | "${txtdiskpartmenu}") 55 | diskpartmenu 56 | nextitem="${txtselectpartsmenu}" 57 | ;; 58 | "${txtselectpartsmenu}") 59 | selectparts 60 | nextitem="${txtreboot}" 61 | ;; 62 | "${txthelp}") 63 | help 64 | nextitem="${txtreboot}" 65 | ;; 66 | "${txtchangelog}") 67 | showchangelog 68 | nextitem="${txtreboot}" 69 | ;; 70 | "${txtreboot}") 71 | rebootpc 72 | nextitem="${txtreboot}" 73 | ;; 74 | esac 75 | mainmenu "${nextitem}" 76 | else 77 | clear 78 | fi 79 | } 80 | 81 | chooselanguage(){ 82 | options=() 83 | options+=("Arabic" "(By Mohammad Alawadi)") 84 | options+=("Brazilian" "(By MaxWilliamJF)") 85 | options+=("Dutch" "(By bowero)") 86 | options+=("English" "(By MatMoul)") 87 | options+=("French" "(By MatMoul)") 88 | options+=("German" "(By untergrundbiber)") 89 | options+=("Greek" "(By quelotic)") 90 | options+=("Italian" "(By thegoldgoat)") 91 | options+=("Hungarian" "(By KardiWeb)") 92 | options+=("Norwegian" "(By mrboen94)") 93 | options+=("Polish" "(By dawidd6)") 94 | options+=("Portuguese" "(By hugok)") 95 | options+=("Russian" "(By Anonymous_Prodject)") 96 | options+=("Spanish" "(By Mystogab)") 97 | options+=("Turkish" "(By c0b41)") 98 | sel=$(dialog --backtitle "${apptitle}" --title "${txtlanguage}" --menu "" 0 0 0 \ 99 | "${options[@]}" \ 100 | 3>&1 1>&2 2>&3) 101 | if [ "$?" = "0" ]; then 102 | clear 103 | if [ "${sel}" = "English" ]; then 104 | loadstrings 105 | else 106 | eval $(curl -L ${baseurl}/lng/${sel} | sed '/^#/ d') 107 | fi 108 | if [ "${skipfont}" = "0" ]; then 109 | eval $(setfont ${font}) 110 | fi 111 | font= 112 | if [ "$(cat /etc/locale.gen | grep ""#${locale}"")" != "" ]; then 113 | sed -i "/#${locale}/s/^#//g" /etc/locale.gen 114 | locale-gen 115 | fi 116 | export LANG=${locale} 117 | fi 118 | } 119 | 120 | setkeymap(){ 121 | #items=$(localectl list-keymaps) 122 | #options=() 123 | #for item in ${items}; do 124 | # options+=("${item}" "") 125 | #done 126 | items=$(find /usr/share/kbd/keymaps/ -type f -printf "%f\n" | sort -V) 127 | options=() 128 | for item in ${items}; do 129 | options+=("${item%%.*}" "") 130 | done 131 | keymap=$(dialog --backtitle "${apptitle}" --title "${txtsetkeymap}" --menu "" 0 0 0 \ 132 | "${options[@]}" \ 133 | 3>&1 1>&2 2>&3) 134 | if [ "$?" = "0" ]; then 135 | clear 136 | echo "loadkeys ${keymap}" 137 | loadkeys ${keymap} 138 | pressanykey 139 | fi 140 | } 141 | 142 | chooseeditor(){ 143 | options=() 144 | options+=("nano" "") 145 | options+=("vim" "") 146 | options+=("vi" "") 147 | options+=("edit" "") 148 | sel=$(dialog --backtitle "${apptitle}" --title "${txteditor}" --menu "" 0 0 0 \ 149 | "${options[@]}" \ 150 | 3>&1 1>&2 2>&3) 151 | if [ "$?" = "0" ]; then 152 | clear 153 | echo "export EDITOR=${sel}" 154 | export EDITOR=${sel} 155 | EDITOR=${sel} 156 | pressanykey 157 | fi 158 | } 159 | 160 | rebootpc(){ 161 | if (dialog --backtitle "${apptitle}" --title "${txtreboot}" --defaultno --yesno "${txtreboot} ?" 0 0) then 162 | clear 163 | reboot 164 | fi 165 | } 166 | # -------------------------------------------------------- 167 | 168 | 169 | 170 | # -------------------------------------------------------- 171 | selectdisk(){ 172 | items=$(lsblk -d -p -n -l -o NAME,SIZE -e 7,11) 173 | options=() 174 | IFS_ORIG=$IFS 175 | IFS=$'\n' 176 | for item in ${items} 177 | do 178 | options+=("${item}" "") 179 | done 180 | IFS=$IFS_ORIG 181 | result=$(dialog --backtitle "${APPTITLE}" --title "${1}" --menu "" 0 0 0 "${options[@]}" 3>&1 1>&2 2>&3) 182 | if [ "$?" != "0" ] 183 | then 184 | return 1 185 | fi 186 | echo ${result%%\ *} 187 | return 0 188 | } 189 | 190 | diskpartmenu(){ 191 | if [ "${1}" = "" ]; then 192 | nextitem="." 193 | else 194 | nextitem=${1} 195 | fi 196 | options=() 197 | if [ "${eficomputer}" == "0" ]; then 198 | options+=("${txtautoparts} (gpt)" "") 199 | options+=("${txtautoparts} (dos)" "") 200 | else 201 | options+=("${txtautoparts} (gpt,efi)" "") 202 | options+=("${txtautoparts} (gpt)" "") 203 | options+=("${txtautoparts} (dos)" "") 204 | options+=("${txtautoparts} (gpt,bios+efi,noswap)" "") 205 | fi 206 | options+=("${txteditparts} (cfdisk)" "") 207 | options+=("${txteditparts} (cgdisk)" "") 208 | sel=$(dialog --backtitle "${apptitle}" --title "${txtdiskpartmenu}" --cancel-button "${txtback}" --default-item "${nextitem}" --menu "" 0 0 0 \ 209 | "${options[@]}" \ 210 | 3>&1 1>&2 2>&3) 211 | if [ "$?" = "0" ]; then 212 | case ${sel} in 213 | "${txtautoparts} (dos)") 214 | diskpartautodos 215 | nextitem="${txtautoparts} (dos)" 216 | ;; 217 | "${txtautoparts} (gpt)") 218 | diskpartautogpt 219 | nextitem="${txtautoparts} (gpt)" 220 | ;; 221 | "${txtautoparts} (gpt,efi)") 222 | diskpartautoefi 223 | nextitem="${txtautoparts} (gpt,efi)" 224 | ;; 225 | "${txtautoparts} (gpt,bios+efi,noswap)") 226 | diskpartautoefiusb 227 | nextitem="${txtautoparts} (gpt,bios+efi,noswap)" 228 | ;; 229 | "${txteditparts} (cfdisk)") 230 | diskpartcfdisk 231 | nextitem="${txteditparts} (cfdisk)" 232 | ;; 233 | "${txteditparts} (cgdisk)") 234 | diskpartcgdisk 235 | nextitem="${txteditparts} (cgdisk)" 236 | ;; 237 | esac 238 | diskpartmenu "${nextitem}" 239 | fi 240 | } 241 | 242 | 243 | diskpartautodos(){ 244 | device=$(selectdisk "${txtautoparts} (dos)") 245 | if [ "$?" = "0" ]; then 246 | if (dialog --backtitle "${apptitle}" --title "${txtautoparts} (dos)" --defaultno --yesno "${txtautopartsconfirm//%1/${device}}" 0 0) then 247 | clear 248 | echo "${txtautopartclear}" 249 | parted ${device} mklabel msdos 250 | sleep 1 251 | echo "${txtautopartcreate//%1/boot}" 252 | echo -e "n\np\n\n\n+512M\na\nw" | fdisk ${device} 253 | sleep 1 254 | echo "${txtautopartcreate//%1/swap}" 255 | swapsize=$(cat /proc/meminfo | grep MemTotal | awk '{ print $2 }') 256 | swapsize=$((${swapsize}/1000))"M" 257 | echo -e "n\np\n\n\n+${swapsize}\nt\n\n82\nw" | fdisk ${device} 258 | sleep 1 259 | echo "${txtautopartcreate//%1/root}" 260 | echo -e "n\np\n\n\n\nw" | fdisk ${device} 261 | sleep 1 262 | echo "" 263 | pressanykey 264 | if [ "${device::8}" == "/dev/nvm" ]; then 265 | bootdev=${device}"p1" 266 | swapdev=${device}"p2" 267 | rootdev=${device}"p3" 268 | else 269 | bootdev=${device}"1" 270 | swapdev=${device}"2" 271 | rootdev=${device}"3" 272 | fi 273 | efimode="0" 274 | fi 275 | fi 276 | } 277 | 278 | diskpartautogpt(){ 279 | device=$(selectdisk "${txtautoparts} (gpt)") 280 | if [ "$?" = "0" ]; then 281 | if (dialog --backtitle "${apptitle}" --title "${txtautoparts} (gpt)" --defaultno --yesno "${txtautopartsconfirm//%1/${device}}" 0 0) then 282 | clear 283 | echo "${txtautopartclear}" 284 | parted ${device} mklabel gpt 285 | echo "${txtautopartcreate//%1/BIOS boot}" 286 | sgdisk ${device} -n=1:0:+31M -t=1:ef02 -c=0:mbrboot 287 | echo "${txtautopartcreate//%1/boot}" 288 | sgdisk ${device} -n=2:0:+512M -c=0:boot 289 | echo "${txtautopartcreate//%1/swap}" 290 | swapsize=$(cat /proc/meminfo | grep MemTotal | awk '{ print $2 }') 291 | swapsize=$((${swapsize}/1000))"M" 292 | sgdisk ${device} -n=3:0:+${swapsize} -t=3:8200 -c=0:swap 293 | echo "${txtautopartcreate//%1/root}" 294 | sgdisk ${device} -n=4:0:0 -c=0:root 295 | echo "" 296 | pressanykey 297 | if [ "${device::8}" == "/dev/nvm" ]; then 298 | bootdev=${device}"p2" 299 | swapdev=${device}"p3" 300 | rootdev=${device}"p4" 301 | else 302 | bootdev=${device}"2" 303 | swapdev=${device}"3" 304 | rootdev=${device}"4" 305 | fi 306 | efimode="0" 307 | fi 308 | fi 309 | } 310 | 311 | diskpartautoefi(){ 312 | device=$(selectdisk "${txtautoparts} (gpt,efi)") 313 | if [ "$?" = "0" ]; then 314 | if (dialog --backtitle "${apptitle}" --title "${txtautoparts} (gpt,efi)" --defaultno --yesno "${txtautopartsconfirm//%1/${device}}" 0 0) then 315 | clear 316 | echo "${txtautopartclear}" 317 | parted ${device} mklabel gpt 318 | echo "${txtautopartcreate//%1/EFI boot}" 319 | sgdisk ${device} -n=1:0:+1024M -t=1:ef00 -c=0:boot 320 | echo "${txtautopartcreate//%1/swap}" 321 | swapsize=$(cat /proc/meminfo | grep MemTotal | awk '{ print $2 }') 322 | swapsize=$((${swapsize}/1000))"M" 323 | sgdisk ${device} -n=2:0:+${swapsize} -t=2:8200 -c=0:swap 324 | echo "${txtautopartcreate//%1/root}" 325 | sgdisk ${device} -n=3:0:0 -c=0:root 326 | echo "" 327 | pressanykey 328 | if [ "${device::8}" == "/dev/nvm" ]; then 329 | bootdev=${device}"p1" 330 | swapdev=${device}"p2" 331 | rootdev=${device}"p3" 332 | else 333 | bootdev=${device}"1" 334 | swapdev=${device}"2" 335 | rootdev=${device}"3" 336 | fi 337 | efimode="1" 338 | fi 339 | fi 340 | } 341 | 342 | diskpartautoefiusb(){ 343 | device=$(selectdisk "${txtautoparts} (gpt,efi)") 344 | if [ "$?" = "0" ]; then 345 | if (dialog --backtitle "${apptitle}" --title "${txtautoparts} (gpt,efi)" --defaultno --yesno "${txtautopartsconfirm//%1/${device}}" 0 0) then 346 | clear 347 | echo "${txtautopartclear}" 348 | parted ${device} mklabel gpt 349 | echo "${txtautopartcreate//%1/EFI boot}" 350 | sgdisk ${device} -n=1:0:+1024M -t=1:ef00 351 | echo "${txtautopartcreate//%1/BIOS boot}" 352 | sgdisk ${device} -n=2:0:+31M -t=2:ef02 353 | echo "${txtautopartcreate//%1/root}" 354 | sgdisk ${device} -n=3:0:0 355 | echo "${txthybridpartcreate}" 356 | echo -e "r\nh\n3\nN\n\nY\nN\nw\nY\n" | gdisk ${device} 357 | echo "" 358 | pressanykey 359 | if [ "${device::8}" == "/dev/nvm" ]; then 360 | bootdev=${device}"p1" 361 | swapdev= 362 | rootdev=${device}"p3" 363 | else 364 | bootdev=${device}"1" 365 | swapdev= 366 | rootdev=${device}"3" 367 | fi 368 | efimode="2" 369 | fi 370 | fi 371 | } 372 | 373 | diskpartcfdisk(){ 374 | device=$( selectdisk "${txteditparts} (cfdisk)" ) 375 | if [ "$?" = "0" ]; then 376 | clear 377 | cfdisk ${device} 378 | fi 379 | } 380 | 381 | diskpartcgdisk(){ 382 | device=$( selectdisk "${txteditparts} (cgdisk)" ) 383 | if [ "$?" = "0" ]; then 384 | clear 385 | cgdisk ${device} 386 | fi 387 | } 388 | # -------------------------------------------------------- 389 | 390 | 391 | 392 | # -------------------------------------------------------- 393 | selectparts(){ 394 | items=$(lsblk -p -n -l -o NAME -e 7,11) 395 | options=() 396 | for item in ${items}; do 397 | options+=("${item}" "") 398 | done 399 | 400 | bootdev=$(dialog --backtitle "${apptitle}" --title "${txtselectpartsmenu}" --default-item "${bootdev}" --menu "${txtselectdevice//%1/boot}" 0 0 0 \ 401 | "none" "-" \ 402 | "${options[@]}" \ 403 | 3>&1 1>&2 2>&3) 404 | if [ ! "$?" = "0" ]; then 405 | return 1 406 | else 407 | if [ "${bootdev}" = "none" ]; then 408 | bootdev= 409 | fi 410 | fi 411 | 412 | swapdev=$(dialog --backtitle "${apptitle}" --title "${txtselectpartsmenu}" --default-item "${swapdev}" --menu "${txtselectdevice//%1/swap}" 0 0 0 \ 413 | "none" "-" \ 414 | "${options[@]}" \ 415 | 3>&1 1>&2 2>&3) 416 | if [ ! "$?" = "0" ]; then 417 | return 1 418 | else 419 | if [ "${swapdev}" = "none" ]; then 420 | swapdev= 421 | fi 422 | fi 423 | 424 | rootdev=$(dialog --backtitle "${apptitle}" --title "${txtselectpartsmenu}" --default-item "${rootdev}" --menu "${txtselectdevice//%1/root}" 0 0 0 \ 425 | "${options[@]}" \ 426 | 3>&1 1>&2 2>&3) 427 | if [ ! "$?" = "0" ]; then 428 | return 1 429 | fi 430 | realrootdev=${rootdev} 431 | 432 | homedev=$(dialog --backtitle "${apptitle}" --title "${txtselectpartsmenu}" --menu "${txtselectdevice//%1/home}" 0 0 0 \ 433 | "none" "-" \ 434 | "${options[@]}" \ 435 | 3>&1 1>&2 2>&3) 436 | if [ ! "$?" = "0" ]; then 437 | return 1 438 | else 439 | if [ "${homedev}" = "none" ]; then 440 | homedev= 441 | fi 442 | fi 443 | 444 | msg="${txtselecteddevices}\n\n" 445 | msg=${msg}"boot : "${bootdev}"\n" 446 | msg=${msg}"swap : "${swapdev}"\n" 447 | msg=${msg}"root : "${rootdev}"\n" 448 | msg=${msg}"home : "${homedev}"\n\n" 449 | if (dialog --backtitle "${apptitle}" --title "${txtselectpartsmenu}" --yesno "${msg}" 0 0) then 450 | isnvme=0 451 | if [ "${bootdev::8}" == "/dev/nvm" ]; then 452 | isnvme=1 453 | fi 454 | if [ "${rootdev::8}" == "/dev/nvm" ]; then 455 | isnvme=1 456 | fi 457 | mountmenu 458 | fi 459 | } 460 | # -------------------------------------------------------- 461 | 462 | 463 | 464 | # -------------------------------------------------------- 465 | mountmenu(){ 466 | if [ "${1}" = "" ]; then 467 | nextitem="." 468 | else 469 | nextitem=${1} 470 | fi 471 | options=() 472 | options+=("${txtformatdevices}" "") 473 | options+=("${txtmount}" "${txtmountdesc}") 474 | sel=$(dialog --backtitle "${apptitle}" --title "${txtformatmountmenu}" --cancel-button "${txtback}" --default-item "${nextitem}" --menu "" 0 0 0 \ 475 | "${options[@]}" \ 476 | 3>&1 1>&2 2>&3) 477 | if [ "$?" = "0" ]; then 478 | case ${sel} in 479 | "${txtformatdevices}") 480 | formatdevices 481 | nextitem="${txtmount}" 482 | ;; 483 | "${txtmount}") 484 | mountparts 485 | nextitem="${txtmount}" 486 | ;; 487 | esac 488 | mountmenu "${nextitem}" 489 | fi 490 | } 491 | 492 | 493 | formatdevices(){ 494 | if (dialog --backtitle "${apptitle}" --title "${txtformatdevices}" --defaultno --yesno "${txtformatdeviceconfirm}" 0 0) then 495 | fspkgs="" 496 | if [ ! "${bootdev}" = "" ]; then 497 | formatbootdevice boot ${bootdev} 498 | fi 499 | if [ ! "${swapdev}" = "" ]; then 500 | formatswapdevice swap ${swapdev} 501 | fi 502 | formatdevice root ${rootdev} 503 | if [ ! "${homedev}" = "" ]; then 504 | formatdevice home ${homedev} 505 | fi 506 | fi 507 | } 508 | formatbootdevice(){ 509 | options=() 510 | if [ "${efimode}" == "1" ]||[ "${efimode}" = "2" ]; then 511 | options+=("fat32" "(EFI)") 512 | fi 513 | options+=("ext2" "") 514 | options+=("ext3" "") 515 | options+=("ext4" "") 516 | if [ ! "${efimode}" = "1" ]&&[ ! "${efimode}" = "2" ]; then 517 | options+=("fat32" "(EFI)") 518 | fi 519 | sel=$(dialog --backtitle "${apptitle}" --title "${txtformatdevice}" --menu "${txtselectpartformat//%1/${1} (${2})}" 0 0 0 \ 520 | "${options[@]}" \ 521 | 3>&1 1>&2 2>&3) 522 | if [ ! "$?" = "0" ]; then 523 | return 1 524 | fi 525 | clear 526 | echo "${txtformatingpart//%1/${2}} ${sel}" 527 | echo "----------------------------------------------" 528 | case ${sel} in 529 | ext2) 530 | echo "mkfs.ext2 ${2}" 531 | mkfs.ext2 ${2} 532 | ;; 533 | ext3) 534 | echo "mkfs.ext3 ${2}" 535 | mkfs.ext3 ${2} 536 | ;; 537 | ext4) 538 | echo "mkfs.ext4 ${2}" 539 | mkfs.ext4 ${2} 540 | ;; 541 | fat32) 542 | fspkgs="${fspkgs[@]} dosfstools" 543 | echo "mkfs.fat ${2}" 544 | mkfs.fat ${2} 545 | ;; 546 | esac 547 | echo "" 548 | pressanykey 549 | } 550 | formatswapdevice(){ 551 | options=() 552 | options+=("swap" "") 553 | sel=$(dialog --backtitle "${apptitle}" --title "${txtformatdevice}" --menu "${txtselectpartformat//%1/${1} (${2})}" 0 0 0 \ 554 | "${options[@]}" \ 555 | 3>&1 1>&2 2>&3) 556 | if [ ! "$?" = "0" ]; then 557 | return 1 558 | fi 559 | clear 560 | echo "${txtformatingpart//%1/${swapdev}} swap" 561 | echo "----------------------------------------------------" 562 | case ${sel} in 563 | swap) 564 | echo "mkswap ${swapdev}" 565 | mkswap ${swapdev} 566 | echo "" 567 | pressanykey 568 | ;; 569 | esac 570 | clear 571 | } 572 | formatdevice(){ 573 | options=() 574 | options+=("btrfs" "") 575 | options+=("ext4" "") 576 | options+=("ext3" "") 577 | options+=("ext2" "") 578 | options+=("xfs" "") 579 | options+=("f2fs" "") 580 | options+=("jfs" "") 581 | options+=("reiserfs" "") 582 | if [ ! "${3}" = "noluks" ]; then 583 | options+=("luks" "encrypted") 584 | fi 585 | sel=$(dialog --backtitle "${apptitle}" --title "${txtformatdevice}" --menu "${txtselectpartformat//%1/${1} (${2})}" 0 0 0 \ 586 | "${options[@]}" \ 587 | 3>&1 1>&2 2>&3) 588 | if [ ! "$?" = "0" ]; then 589 | return 1 590 | fi 591 | clear 592 | echo "${txtformatingpart//%1/${2}} ${sel}" 593 | echo "----------------------------------------------" 594 | case ${sel} in 595 | btrfs) 596 | fspkgs="${fspkgs[@]} btrfs-progs" 597 | echo "mkfs.btrfs -f ${2}" 598 | mkfs.btrfs -f ${2} 599 | if [ "${1}" = "root" ]; then 600 | echo "mount ${2} /mnt" 601 | echo "btrfs subvolume create /mnt/root" 602 | echo "btrfs subvolume set-default /mnt/root" 603 | echo "umount /mnt" 604 | mount ${2} /mnt 605 | btrfs subvolume create /mnt/root 606 | btrfs subvolume set-default /mnt/root 607 | umount /mnt 608 | fi 609 | ;; 610 | ext4) 611 | echo "mkfs.ext4 ${2}" 612 | mkfs.ext4 ${2} 613 | ;; 614 | ext3) 615 | echo "mkfs.ext3 ${2}" 616 | mkfs.ext3 ${2} 617 | ;; 618 | ext2) 619 | echo "mkfs.ext2 ${2}" 620 | mkfs.ext2 ${2} 621 | ;; 622 | xfs) 623 | fspkgs="${fspkgs[@]} xfsprogs" 624 | echo "mkfs.xfs -f ${2}" 625 | mkfs.xfs -f ${2} 626 | ;; 627 | f2fs) 628 | fspkgs="${fspkgs[@]} f2fs-tools" 629 | echo "mkfs.f2fs -f $2" 630 | mkfs.f2fs -f $2 631 | ;; 632 | jfs) 633 | fspkgs="${fspkgs[@]} jfsutils" 634 | echo "mkfs.jfs -f ${2}" 635 | mkfs.jfs -f ${2} 636 | ;; 637 | reiserfs) 638 | fspkgs="${fspkgs[@]} reiserfsprogs" 639 | echo "mkfs.reiserfs -f ${2}" 640 | mkfs.reiserfs -f ${2} 641 | ;; 642 | luks) 643 | echo "${txtcreateluksdevice}" 644 | echo "cryptsetup luksFormat ${2}" 645 | cryptsetup luksFormat ${2} 646 | if [ ! "$?" = "0" ]; then 647 | pressanykey 648 | return 1 649 | fi 650 | pressanykey 651 | echo "" 652 | echo "${txtopenluksdevice}" 653 | echo "cryptsetup luksOpen ${2} ${1}" 654 | cryptsetup luksOpen ${2} ${1} 655 | if [ ! "$?" = "0" ]; then 656 | pressanykey 657 | return 1 658 | fi 659 | pressanykey 660 | options=() 661 | options+=("normal" "") 662 | options+=("fast" "") 663 | sel=$(dialog --backtitle "${apptitle}" --title "${txtformatdevice}" --menu "Wipe device ?" --cancel-button="${txtignore}" 0 0 0 \ 664 | "${options[@]}" \ 665 | 3>&1 1>&2 2>&3) 666 | if [ "$?" = "0" ]; then 667 | case ${sel} in 668 | normal) 669 | echo "dd if=/dev/zero of=/dev/mapper/${1}" 670 | dd if=/dev/zero of=/dev/mapper/${1} & PID=$! &>/dev/null 671 | ;; 672 | fast) 673 | echo "dd if=/dev/zero of=/dev/mapper/${1} bs=60M" 674 | dd if=/dev/zero of=/dev/mapper/${1} bs=60M & PID=$! &>/dev/null 675 | ;; 676 | esac 677 | clear 678 | sleep 1 679 | while kill -USR1 ${PID} &>/dev/null 680 | do 681 | sleep 1 682 | done 683 | fi 684 | echo "" 685 | pressanykey 686 | formatdevice ${1} /dev/mapper/${1} noluks 687 | if [ "${1}" = "root" ]; then 688 | realrootdev=${rootdev} 689 | rootdev=/dev/mapper/${1} 690 | luksroot=1 691 | luksrootuuid=$(cryptsetup luksUUID ${2}) 692 | else 693 | case ${1} in 694 | home) homedev=/dev/mapper/${1} ;; 695 | esac 696 | luksdrive=1 697 | crypttab="\n${1} UUID=$(cryptsetup luksUUID ${2}) none" 698 | fi 699 | echo "" 700 | echo "${txtluksdevicecreated}" 701 | ;; 702 | esac 703 | echo "" 704 | pressanykey 705 | } 706 | 707 | mountparts(){ 708 | clear 709 | echo "mount ${rootdev} /mnt" 710 | mount ${rootdev} /mnt 711 | echo "mkdir /mnt/{boot,home}" 712 | mkdir /mnt/{boot,home} 2>/dev/null 713 | if [ ! "${bootdev}" = "" ]; then 714 | echo "mount ${bootdev} /mnt/boot" 715 | mount ${bootdev} /mnt/boot 716 | fi 717 | if [ ! "${swapdev}" = "" ]; then 718 | echo "swapon ${swapdev}" 719 | swapon ${swapdev} 720 | fi 721 | if [ ! "${homedev}" = "" ]; then 722 | echo "mount ${homedev} /mnt/home" 723 | mount ${homedev} /mnt/home 724 | fi 725 | pressanykey 726 | installmenu 727 | } 728 | # -------------------------------------------------------- 729 | 730 | 731 | 732 | # -------------------------------------------------------- 733 | installmenu(){ 734 | if [ "${1}" = "" ]; then 735 | nextitem="${txtinstallarchlinux}" 736 | else 737 | nextitem=${1} 738 | fi 739 | options=() 740 | #options+=("${txtselectmirrorsbycountry}" "(${txtoptional})") 741 | options+=("${txteditmirrorlist}" "(${txtoptional})") 742 | options+=("${txtfiltermirrorlist}" "reflector (${txtoptional})") 743 | options+=("${txtparalleldownloads}" "(${txtoptional})") 744 | options+=("${txtinstallarchlinux}" "pacstrap") 745 | options+=("${txtconfigarchlinux}" "") 746 | sel=$(dialog --backtitle "${apptitle}" --title "${txtinstallmenu}" --cancel-button "${txtunmount}" --default-item "${nextitem}" --menu "" 0 0 0 \ 747 | "${options[@]}" \ 748 | 3>&1 1>&2 2>&3) 749 | if [ "$?" = "0" ]; then 750 | case ${sel} in 751 | "${txtselectmirrorsbycountry}") 752 | selectmirrorsbycountry 753 | nextitem="${txtinstallarchlinux}" 754 | ;; 755 | "${txteditmirrorlist}") 756 | ${EDITOR} /etc/pacman.d/mirrorlist 757 | nextitem="${txtinstallarchlinux}" 758 | ;; 759 | "${txtfiltermirrorlist}") 760 | filtermirrorlist 761 | nextitem="${txtparalleldownloads}" 762 | ;; 763 | "${txtparalleldownloads}") 764 | paralleldownloads 765 | nextitem="${txtinstallarchlinuk}" 766 | ;; 767 | "${txtinstallarchlinux}") 768 | if(installbase) then 769 | nextitem="${txtconfigarchlinux}" 770 | fi 771 | ;; 772 | "${txtconfigarchlinux}") 773 | archmenu 774 | nextitem="${txtconfigarchlinux}" 775 | ;; 776 | esac 777 | installmenu "${nextitem}" 778 | else 779 | unmountdevices 780 | fi 781 | } 782 | 783 | selectmirrorsbycountry() { 784 | if [[ ! -f /etc/pacman.d/mirrorlist.backup ]]; then 785 | cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup 786 | fi 787 | items=$( sed -n "/^##.*/N; {s/^## \(.*\)\nServer.*/\1/p}" < /etc/pacman.d/mirrorlist.backup | sort -u ) 788 | options=() 789 | IFS_ORIG=$IFS 790 | IFS=$'\n' 791 | for item in ${items}; do 792 | options+=("${item}" "") 793 | done 794 | IFS=$IFS_ORIG 795 | country=$(dialog --backtitle "${APPTITLE}" --title "${txtselectcountry}" --menu "" 0 0 0 "${options[@]}" 3>&1 1>&2 2>&3) 796 | if [ "$?" != "0" ]; then 797 | return 1 798 | fi 799 | sed "s/^\(Server .*\)/\#\1/;/^## $country/N; {s/^\(## .*\n\)\#Server \(.*\)/\1Server \2/}" < /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist 800 | } 801 | 802 | filtermirrorlist() { 803 | command -v reflector > /dev/null || { 804 | echo "pacman -S --noconfirm reflector" 805 | pacman -S --noconfirm reflector 806 | } 807 | options=() 808 | options+=("${txtfiltermirrorlist}" "") 809 | options+=("${txtedit//%1/reflector.conf}" "") 810 | sel=$(dialog --backtitle "${apptitle}" --title "${txtinstallmenu}" --cancel-button "${txtback}" --default-item "Filter mirrorlist" --menu "" 0 0 0 \ 811 | "${options[@]}" \ 812 | 3>&1 1>&2 2>&3) 813 | case ${sel} in 814 | "${txtfiltermirrorlist}") 815 | clear 816 | echo "systemctl start reflector.service" 817 | systemctl start reflector.service 818 | pressanykey 819 | ;; 820 | "${txtedit//%1/reflector.conf}") 821 | ${EDITOR} /etc/xdg/reflector/reflector.conf 822 | filtermirrorlist 823 | ;; 824 | esac 825 | } 826 | 827 | paralleldownloads() { 828 | numpkg=$(dialog --backtitle "${apptitle}" --title "${txtparallelprompt}" --inputbox "" 0 0 "5" 3>&1 1>&2 2>&3) 829 | if [ "$?" = "0" ]; then 830 | if [[ "$numpkg" =~ ^[1-9][0-9]*$ ]] ; then 831 | sed -i "s/.*ParallelDownloads.*/ParallelDownloads = ${numpkg}/" /etc/pacman.conf 832 | else 833 | clear 834 | unset numpkg 835 | echo ${txtincorrectinput} 836 | pressanykey 837 | fi 838 | fi 839 | 840 | 841 | } 842 | 843 | installbase(){ 844 | pkgs="base" 845 | options=() 846 | options+=("linux" "") 847 | options+=("linux-lts" "") 848 | options+=("linux-zen" "") 849 | options+=("linux-hardened" "") 850 | sel=$(dialog --backtitle "${apptitle}" --title "${txtinstallarchlinuxkernel}" --menu "" 0 0 0 \ 851 | "${options[@]}" \ 852 | 3>&1 1>&2 2>&3) 853 | if [ "$?" = "0" ]; then 854 | pkgs+=" ${sel}" 855 | else 856 | return 1 857 | fi 858 | 859 | options=() 860 | options+=("linux-firmware" "(${txtoptional})" on) 861 | sel=$(dialog --backtitle "${apptitle}" --title "${txtinstallarchlinuxfirmwares}" --checklist "" 0 0 0 \ 862 | "${options[@]}" \ 863 | 3>&1 1>&2 2>&3) 864 | if [ ! "$?" = "0" ]; then 865 | return 1 866 | fi 867 | for itm in $sel; do 868 | pkgs="$pkgs $(echo $itm | sed 's/"//g')" 869 | done 870 | 871 | options=() 872 | if [[ "${fspkgs}" == *"dosfstools"* ]]; then 873 | options+=("dosfstools" "" on) 874 | else 875 | options+=("dosfstools" "" off) 876 | fi 877 | if [[ "${fspkgs}" == *"btrfs-progs"* ]]; then 878 | options+=("btrfs-progs" "" on) 879 | else 880 | options+=("btrfs-progs" "" off) 881 | fi 882 | if [[ "${fspkgs}" == *"xfsprogs"* ]]; then 883 | options+=("xfsprogs" "" on) 884 | else 885 | options+=("xfsprogs" "" off) 886 | fi 887 | if [[ "${fspkgs}" == *"f2fs-tools"* ]]; then 888 | options+=("f2fs-tools" "" on) 889 | else 890 | options+=("f2fs-tools" "" off) 891 | fi 892 | if [[ "${fspkgs}" == *"jfsutils"* ]]; then 893 | options+=("jfsutils" "" on) 894 | else 895 | options+=("jfsutils" "" off) 896 | fi 897 | if [[ "${fspkgs}" == *"reiserfsprogs"* ]]; then 898 | options+=("reiserfsprogs" "" on) 899 | else 900 | options+=("reiserfsprogs" "" off) 901 | fi 902 | options+=("lvm2" "" off) 903 | options+=("dmraid" "" off) 904 | sel=$(dialog --backtitle "${apptitle}" --title "${txtinstallarchlinuxfilesystems}" --checklist "" 0 0 0 \ 905 | "${options[@]}" \ 906 | 3>&1 1>&2 2>&3) 907 | if [ ! "$?" = "0" ]; then 908 | return 1 909 | fi 910 | for itm in $sel; do 911 | pkgs="$pkgs $(echo $itm | sed 's/"//g')" 912 | done 913 | 914 | if [[ ${cpl} == 1 ]]; then 915 | sed -i '/^\s*$/d' /tmp/archfi-custom-package-list 916 | sed -i '/^#/ d' /tmp/archfi-custom-package-list 917 | options=() 918 | while read pkg; do 919 | options+=("${pkg}" "" on) 920 | done < /tmp/archfi-custom-package-list 921 | sel=$(dialog --backtitle "${apptitle}" --title "${txtinstallarchlinuxcustompackagelist}" --checklist "" 0 0 0 \ 922 | "${options[@]}" \ 923 | 3>&1 1>&2 2>&3) 924 | if [ ! "$?" = "0" ]; then 925 | return 1 926 | fi 927 | for itm in $sel; do 928 | pkgs="$pkgs $(echo $itm | sed 's/"//g')" 929 | done 930 | fi 931 | 932 | clear 933 | echo "pacstrap /mnt ${pkgs}" 934 | pacstrap /mnt ${pkgs} 935 | if [ ! -z $numpkg ]; then 936 | sed -i "s/.*ParallelDownloads.*/ParallelDownloads = ${numpkg}/" /mnt/etc/pacman.conf 937 | fi 938 | pressanykey 939 | } 940 | 941 | unmountdevices(){ 942 | clear 943 | echo "umount -R /mnt" 944 | umount -R /mnt 945 | if [ ! "${swapdev}" = "" ]; then 946 | echo "swapoff ${swapdev}" 947 | swapoff ${swapdev} 948 | fi 949 | pressanykey 950 | } 951 | # -------------------------------------------------------- 952 | 953 | 954 | 955 | # -------------------------------------------------------- 956 | archmenu(){ 957 | if [ "${1}" = "" ]; then 958 | nextitem="." 959 | else 960 | nextitem=${1} 961 | fi 962 | options=() 963 | options+=("${txtsethostname}" "/etc/hostname") 964 | options+=("${txtsetkeymap}" "/etc/vconsole.conf") 965 | options+=("${txtsetfont}" "/etc/vconsole.conf (${txtoptional})") 966 | options+=("${txtsetlocale}" "/etc/locale.conf, /etc/locale.gen") 967 | options+=("${txtsettime}" "/etc/localtime") 968 | options+=("${txtsetrootpassword}" "") 969 | options+=("${txtgenerate//%1/fstab}" "") 970 | if [ "${luksdrive}" = "1" ]; then 971 | options+=("${txtgenerate//%1/crypttab}" "") 972 | fi 973 | if [ "${luksroot}" = "1" ]; then 974 | options+=("${txtgenerate//%1/mkinitcpio.conf-luks}" "(encrypt hooks)") 975 | fi 976 | if [ "${isnvme}" = "1" ]; then 977 | options+=("${txtgenerate//%1/mkinitcpio.conf-nvme}" "(nvme module)") 978 | fi 979 | options+=("${txtedit//%1/fstab}" "(${txtoptional})") 980 | options+=("${txtedit//%1/crypttab}" "(${txtoptional})") 981 | options+=("${txtedit//%1/mkinitcpio.conf}" "(${txtoptional})") 982 | options+=("${txtedit//%1/mirrorlist}" "(${txtoptional})") 983 | options+=("${txtbootloader}" "") 984 | options+=("${txtextrasmenu}" "") 985 | options+=("archdi" "${txtarchdidesc}") 986 | sel=$(dialog --backtitle "${apptitle}" --title "${txtarchinstallmenu}" --cancel-button "${txtback}" --default-item "${nextitem}" --menu "" 0 0 0 \ 987 | "${options[@]}" \ 988 | 3>&1 1>&2 2>&3) 989 | if [ "$?" = "0" ]; then 990 | case ${sel} in 991 | "${txtsethostname}") 992 | archsethostname 993 | nextitem="${txtsetkeymap}" 994 | ;; 995 | "${txtsetkeymap}") 996 | archsetkeymap 997 | nextitem="${txtsetlocale}" 998 | ;; 999 | "${txtsetfont}") 1000 | archsetfont 1001 | nextitem="${txtsetlocale}" 1002 | ;; 1003 | "${txtsetlocale}") 1004 | archsetlocale 1005 | nextitem="${txtsettime}" 1006 | ;; 1007 | "${txtsettime}") 1008 | archsettime 1009 | nextitem="${txtsetrootpassword}" 1010 | ;; 1011 | "${txtsetrootpassword}") 1012 | archsetrootpassword 1013 | nextitem="${txtgenerate//%1/fstab}" 1014 | ;; 1015 | "${txtgenerate//%1/fstab}") 1016 | archgenfstabmenu 1017 | if [ "${luksdrive}" = "1" ]; then 1018 | nextitem="${txtgenerate//%1/crypttab}" 1019 | else 1020 | if [ "${luksroot}" = "1" ]; then 1021 | nextitem="${txtgenerate//%1/mkinitcpio.conf-luks}" 1022 | else 1023 | if [ "${isnvme}" = "1" ]; then 1024 | nextitem="${txtgenerate//%1/mkinitcpio.conf-nvme}" 1025 | else 1026 | nextitem="${txtbootloader}" 1027 | fi 1028 | fi 1029 | fi 1030 | ;; 1031 | "${txtgenerate//%1/crypttab}") 1032 | archgencrypttab 1033 | if [ "${luksroot}" = "1" ]; then 1034 | nextitem="${txtgenerate//%1/mkinitcpio.conf-luks}" 1035 | else 1036 | if [ "${isnvme}" = "1" ]; then 1037 | nextitem="${txtgenerate//%1/mkinitcpio.conf-nvme}" 1038 | else 1039 | nextitem="${txtbootloader}" 1040 | fi 1041 | fi 1042 | ;; 1043 | "${txtgenerate//%1/mkinitcpio.conf-luks}") 1044 | archgenmkinitcpioluks 1045 | if [ "${isnvme}" = "1" ]; then 1046 | nextitem="${txtgenerate//%1/mkinitcpio.conf-nvme}" 1047 | else 1048 | nextitem="${txtbootloader}" 1049 | fi 1050 | ;; 1051 | "${txtgenerate//%1/mkinitcpio.conf-nvme}") 1052 | archgenmkinitcpionvme 1053 | nextitem="${txtbootloader}" 1054 | ;; 1055 | "${txtedit//%1/fstab}") 1056 | ${EDITOR} /mnt/etc/fstab 1057 | nextitem="${txtedit//%1/fstab}" 1058 | ;; 1059 | "${txtedit//%1/crypttab}") 1060 | ${EDITOR} /mnt/etc/crypttab 1061 | nextitem="${txtedit//%1/crypttab}" 1062 | ;; 1063 | "${txtedit//%1/mkinitcpio.conf}") 1064 | archeditmkinitcpio 1065 | nextitem="${txtedit//%1/mkinitcpio.conf}" 1066 | ;; 1067 | "${txtedit//%1/mirrorlist}") 1068 | ${EDITOR} /mnt/etc/pacman.d/mirrorlist 1069 | nextitem="${txtedit//%1/mirrorlist}" 1070 | ;; 1071 | "${txtbootloader}") 1072 | archbootloadermenu 1073 | nextitem="${txtextrasmenu}" 1074 | ;; 1075 | "${txtextrasmenu}") 1076 | archextrasmenu 1077 | nextitem="archdi" 1078 | ;; 1079 | "archdi") 1080 | installarchdi 1081 | nextitem="archdi" 1082 | ;; 1083 | esac 1084 | archmenu "${nextitem}" 1085 | fi 1086 | } 1087 | 1088 | archchroot(){ 1089 | echo "arch-chroot /mnt /root" 1090 | cp ${0} /mnt/root 1091 | chmod 755 /mnt/root/$(basename "${0}") 1092 | echo "dialog is required for archfi, it will be installed as dep. Then it will removed when cleaning orphan." 1093 | echo "arch-chroot /mnt pacman -S --asdeps --needed --noconfirm dialog" 1094 | arch-chroot /mnt pacman -S --asdeps --needed --noconfirm dialog 1095 | arch-chroot /mnt /root/$(basename "${0}") --chroot ${1} ${2} 1096 | rm /mnt/root/$(basename "${0}") 1097 | echo "exit" 1098 | } 1099 | 1100 | 1101 | archsethostname(){ 1102 | hostname=$(dialog --backtitle "${apptitle}" --title "${txtsethostname}" --inputbox "" 0 0 "archlinux" 3>&1 1>&2 2>&3) 1103 | if [ "$?" = "0" ]; then 1104 | clear 1105 | echo "echo \"${hostname}\" > /mnt/etc/hostname" 1106 | echo "${hostname}" > /mnt/etc/hostname 1107 | pressanykey 1108 | fi 1109 | } 1110 | 1111 | archsetkeymap(){ 1112 | #items=$(localectl list-keymaps) 1113 | #options=() 1114 | #for item in ${items}; do 1115 | # options+=("${item}" "") 1116 | #done 1117 | items=$(find /usr/share/kbd/keymaps/ -type f -printf "%f\n" | sort -V) 1118 | options=() 1119 | defsel="" 1120 | for item in ${items}; do 1121 | if [ "${item%%.*}" == "${keymap}" ]; then 1122 | defsel="${item%%.*}" 1123 | fi 1124 | options+=("${item%%.*}" "") 1125 | done 1126 | keymap=$(dialog --backtitle "${apptitle}" --title "${txtsetkeymap}" --default-item "${defsel}" --menu "" 0 0 0 \ 1127 | "${options[@]}" \ 1128 | 3>&1 1>&2 2>&3) 1129 | if [ "$?" = "0" ]; then 1130 | clear 1131 | echo "echo \"KEYMAP=${keymap}\" > /mnt/etc/vconsole.conf" 1132 | echo "KEYMAP=${keymap}" > /mnt/etc/vconsole.conf 1133 | pressanykey 1134 | fi 1135 | } 1136 | 1137 | archsetfont(){ 1138 | items=$(find /usr/share/kbd/consolefonts/*.psfu.gz -printf "%f\n") 1139 | 1140 | options=() 1141 | for item in ${items}; do 1142 | options+=("${item%%.*}" "") 1143 | done 1144 | vcfont=$(dialog --backtitle "${apptitle}" --title "${txtsetfont} (${txtoptional})" --menu "" 0 0 0 \ 1145 | "${options[@]}" \ 1146 | 3>&1 1>&2 2>&3) 1147 | if [ "$?" = "0" ]; then 1148 | clear 1149 | echo "echo \"FONT=${vcfont}\" >> /mnt/etc/vconsole.conf" 1150 | echo "FONT=${vcfont}" >> /mnt/etc/vconsole.conf 1151 | pressanykey 1152 | fi 1153 | } 1154 | 1155 | archsetlocale(){ 1156 | items=$(ls /usr/share/i18n/locales) 1157 | options=() 1158 | defsel="" 1159 | for item in ${items}; do 1160 | if [ "${defsel}" == "" ]&&[ "${keymap::2}" == "${item::2}" ]; then 1161 | defsel="${item}" 1162 | fi 1163 | options+=("${item}" "") 1164 | done 1165 | locale=$(dialog --backtitle "${apptitle}" --title "${txtsetlocale}" --default-item "${defsel}" --menu "" 0 0 0 \ 1166 | "${options[@]}" \ 1167 | 3>&1 1>&2 2>&3) 1168 | if [ "$?" = "0" ]; then 1169 | clear 1170 | echo "echo \"LANG=${locale}.UTF-8\" > /mnt/etc/locale.conf" 1171 | echo "LANG=${locale}.UTF-8" > /mnt/etc/locale.conf 1172 | echo "echo \"LC_COLLATE=C\" >> /mnt/etc/locale.conf" 1173 | echo "LC_COLLATE=C" >> /mnt/etc/locale.conf 1174 | echo "sed -i '/#${locale}.UTF-8/s/^#//g' /mnt/etc/locale.gen" 1175 | sed -i '/#'${locale}'.UTF-8/s/^#//g' /mnt/etc/locale.gen 1176 | archchroot setlocale 1177 | pressanykey 1178 | fi 1179 | } 1180 | archsetlocalechroot(){ 1181 | echo "locale-gen" 1182 | locale-gen 1183 | exit 1184 | } 1185 | 1186 | archsettime(){ 1187 | items=$(ls -l /mnt/usr/share/zoneinfo/ | grep '^d' | gawk -F':[0-9]* ' '/:/{print $2}') 1188 | options=() 1189 | for item in ${items}; do 1190 | options+=("${item}" "") 1191 | done 1192 | 1193 | timezone=$(dialog --backtitle "${apptitle}" --title "${txtsettime}" --menu "" 0 0 0 \ 1194 | "${options[@]}" \ 1195 | 3>&1 1>&2 2>&3) 1196 | if [ ! "$?" = "0" ]; then 1197 | return 1 1198 | fi 1199 | 1200 | 1201 | items=$(ls /mnt/usr/share/zoneinfo/${timezone}/) 1202 | options=() 1203 | for item in ${items}; do 1204 | options+=("${item}" "") 1205 | done 1206 | 1207 | timezone=${timezone}/$(dialog --backtitle "${apptitle}" --title "${txtsettime}" --menu "" 0 0 0 \ 1208 | "${options[@]}" \ 1209 | 3>&1 1>&2 2>&3) 1210 | if [ ! "$?" = "0" ]; then 1211 | return 1 1212 | fi 1213 | 1214 | clear 1215 | echo "ln -sf /mnt/usr/share/zoneinfo/${timezone} /mnt/etc/localtime" 1216 | ln -sf /usr/share/zoneinfo/${timezone} /mnt/etc/localtime 1217 | pressanykey 1218 | 1219 | options=() 1220 | options+=("UTC" "") 1221 | options+=("Local" "") 1222 | sel=$(dialog --backtitle "${apptitle}" --title "${txtsettime}" --menu "${txthwclock}" 0 0 0 \ 1223 | "${options[@]}" \ 1224 | 3>&1 1>&2 2>&3) 1225 | if [ ! "$?" = "0" ]; then 1226 | return 1 1227 | fi 1228 | 1229 | clear 1230 | case ${sel} in 1231 | "${txthwclockutc}") 1232 | archchroot settimeutc 1233 | ;; 1234 | "${txthwclocklocal}") 1235 | archchroot settimelocal 1236 | ;; 1237 | esac 1238 | 1239 | # if (dialog --backtitle "${apptitle}" --title "${txtsettime}" --yesno "${txtuseutcclock}" 0 0) then 1240 | # clear 1241 | # archchroot settimeutc 1242 | # else 1243 | # clear 1244 | # archchroot settimelocal 1245 | # fi 1246 | 1247 | pressanykey 1248 | 1249 | } 1250 | archsettimeutcchroot(){ 1251 | echo "hwclock --systohc --utc" 1252 | hwclock --systohc --utc 1253 | exit 1254 | } 1255 | archsettimelocalchroot(){ 1256 | echo "hwclock --systohc --localtime" 1257 | hwclock --systohc --localtime 1258 | exit 1259 | } 1260 | 1261 | archsetrootpassword(){ 1262 | clear 1263 | archchroot setrootpassword 1264 | pressanykey 1265 | } 1266 | archsetrootpasswordchroot(){ 1267 | echo "passwd root" 1268 | passed=1 1269 | while [[ ${passed} != 0 ]]; do 1270 | passwd root 1271 | passed=$? 1272 | done 1273 | exit 1274 | } 1275 | 1276 | archgenfstabmenu(){ 1277 | options=() 1278 | options+=("UUID" "genfstab -U") 1279 | options+=("LABEL" "genfstab -L") 1280 | options+=("PARTUUID" "genfstab -t PARTUUID") 1281 | options+=("PARTLABEL" "genfstab -t PARTLABEL") 1282 | sel=$(dialog --backtitle "${apptitle}" --title "${txtgenerate//%1/fstab}" --cancel-button "${txtback}" --default-item "${nextitem}" --menu "" 0 0 0 \ 1283 | "${options[@]}" \ 1284 | 3>&1 1>&2 2>&3) 1285 | if [ "$?" = "0" ]; then 1286 | case ${sel} in 1287 | "UUID") 1288 | clear 1289 | echo "genfstab -U -p /mnt > /mnt/etc/fstab" 1290 | genfstab -U -p /mnt > /mnt/etc/fstab 1291 | ;; 1292 | "LABEL") 1293 | clear 1294 | echo "genfstab -L -p /mnt > /mnt/etc/fstab" 1295 | genfstab -L -p /mnt > /mnt/etc/fstab 1296 | ;; 1297 | "PARTUUID") 1298 | clear 1299 | echo "genfstab -t PARTUUID -p /mnt > /mnt/etc/fstab" 1300 | genfstab -t PARTUUID -p /mnt > /mnt/etc/fstab 1301 | ;; 1302 | "PARTLABEL") 1303 | clear 1304 | echo "genfstab -t PARTLABEL -p /mnt > /mnt/etc/fstab" 1305 | genfstab -t PARTLABEL -p /mnt > /mnt/etc/fstab 1306 | ;; 1307 | esac 1308 | fi 1309 | pressanykey 1310 | } 1311 | 1312 | archgencrypttab(){ 1313 | clear 1314 | echo "echo -e \"${crypttab}\" >> /mnt/etc/crypttab" 1315 | echo -e "${crypttab}" >> /mnt/etc/crypttab 1316 | pressanykey 1317 | } 1318 | 1319 | archgenmkinitcpioluks(){ 1320 | clear 1321 | echo "sed -i \"s/block filesystems/block encrypt filesystems/g\" /mnt/etc/mkinitcpio.conf" 1322 | sed -i "s/block filesystems/block encrypt filesystems/g" /mnt/etc/mkinitcpio.conf 1323 | archchroot genmkinitcpio 1324 | pressanykey 1325 | } 1326 | archgenmkinitcpionvme(){ 1327 | clear 1328 | echo "sed -i \"s/MODULES=()/MODULES=(nvme)/g\" /mnt/etc/mkinitcpio.conf" 1329 | sed -i "s/MODULES=()/MODULES=(nvme)/g" /mnt/etc/mkinitcpio.conf 1330 | archchroot genmkinitcpio 1331 | pressanykey 1332 | } 1333 | 1334 | archeditmkinitcpio(){ 1335 | ${EDITOR} /mnt/etc/mkinitcpio.conf 1336 | if (dialog --backtitle "${apptitle}" --title "${txtedit//%1/mkinitcpio.conf}" --yesno "${txtgenerate//%1/mkinitcpio} ?" 0 0) then 1337 | clear 1338 | archchroot genmkinitcpio 1339 | pressanykey 1340 | fi 1341 | } 1342 | archgenmkinitcpiochroot(){ 1343 | echo "mkinitcpio -p linux" 1344 | mkinitcpio -p linux 1345 | exit 1346 | } 1347 | 1348 | 1349 | archbootloadermenu(){ 1350 | options=() 1351 | options+=("grub" "") 1352 | if [ "${efimode}" == "1" ]; then 1353 | options+=("systemd-boot" "") 1354 | options+=("refind" "") 1355 | fi 1356 | if [ "${efimode}" != "2" ]; then 1357 | options+=("syslinux" "") 1358 | fi 1359 | sel=$(dialog --backtitle "${apptitle}" --title "${txtbootloadermenu}" --cancel-button "${txtback}" --menu "" 0 0 0 \ 1360 | "${options[@]}" \ 1361 | 3>&1 1>&2 2>&3) 1362 | if [ "$?" = "0" ]; then 1363 | case ${sel} in 1364 | "grub") archbootloadergrubmenu;; 1365 | "systemd-boot")archbootloadersystemdbmenu;; 1366 | "refind") archbootloaderrefindmenu;; 1367 | "syslinux")archbootloadersyslinuxbmenu;; 1368 | esac 1369 | fi 1370 | } 1371 | 1372 | 1373 | archbootloadergrubmenu(){ 1374 | if [ "${1}" = "" ]; then 1375 | nextblitem="." 1376 | else 1377 | nextblitem=${1} 1378 | fi 1379 | options=() 1380 | options+=("${txtinstall//%1/grub}" "pacstrap grub (efibootmgr), grub-mkconfig") 1381 | options+=("${txtedit//%1/grub}" "(${txtoptional})") 1382 | options+=("${txtinstall//%1/bootloader}" "grub-install") 1383 | sel=$(dialog --backtitle "${apptitle}" --title "${txtbootloadergrubmenu}" --cancel-button "${txtback}" --default-item "${nextblitem}" --menu "" 0 0 0 \ 1384 | "${options[@]}" \ 1385 | 3>&1 1>&2 2>&3) 1386 | if [ "$?" = "0" ]; then 1387 | case ${sel} in 1388 | "${txtinstall//%1/grub}") 1389 | archgrubinstall 1390 | nextblitem="${txtinstall//%1/bootloader}" 1391 | ;; 1392 | "${txtedit//%1/grub}") 1393 | ${EDITOR} /mnt/etc/default/grub 1394 | if (dialog --backtitle "${apptitle}" --title "${txtedit//%1/grub}" --yesno "${txtrungrubmakeconfig}" 0 0) then 1395 | clear 1396 | archchroot grubinstall 1397 | pressanykey 1398 | fi 1399 | nextblitem="${txtinstall//%1/bootloader}" 1400 | ;; 1401 | "${txtinstall//%1/bootloader}") 1402 | archgrubinstallbootloader 1403 | nextblitem="${txtinstall//%1/bootloader}" 1404 | ;; 1405 | esac 1406 | archbootloadergrubmenu "${nextblitem}" 1407 | fi 1408 | } 1409 | 1410 | archgrubinstall(){ 1411 | clear 1412 | echo "pacstrap /mnt grub" 1413 | pacstrap /mnt grub 1414 | pressanykey 1415 | 1416 | if [ "${eficomputer}" == "1" ]; then 1417 | if [ "${efimode}" == "1" ]||[ "${efimode}" == "2" ]; then 1418 | if (dialog --backtitle "${apptitle}" --title "${txtinstall//%1/efibootmgr}" --yesno "${txtefibootmgr}" 0 0) then 1419 | clear 1420 | echo "pacstrap /mnt efibootmgr" 1421 | pacstrap /mnt efibootmgr 1422 | pressanykey 1423 | fi 1424 | else 1425 | if (dialog --backtitle "${apptitle}" --title "${txtinstall//%1/efibootmgr}" --defaultno --yesno "${txtefibootmgr}" 0 0) then 1426 | clear 1427 | echo "pacstrap /mnt efibootmgr" 1428 | pacstrap /mnt efibootmgr 1429 | pressanykey 1430 | fi 1431 | fi 1432 | fi 1433 | 1434 | if [ "${luksroot}" = "1" ]; then 1435 | if (dialog --backtitle "${apptitle}" --title "${txtinstall//%1/grub}" --yesno "${txtgrubluksdetected}" 0 0) then 1436 | clear 1437 | echo "sed -i /GRUB_CMDLINE_LINUX=/c\GRUB_CMDLINE_LINUX=\\\"cryptdevice=/dev/disk/by-uuid/${luksrootuuid}:root\\\" /mnt/etc/default/grub" 1438 | sed -i /GRUB_CMDLINE_LINUX=/c\GRUB_CMDLINE_LINUX=\"cryptdevice=/dev/disk/by-uuid/${luksrootuuid}:root\" /mnt/etc/default/grub 1439 | pressanykey 1440 | fi 1441 | fi 1442 | 1443 | clear 1444 | archchroot grubinstall 1445 | pressanykey 1446 | } 1447 | archgrubinstallchroot(){ 1448 | echo "mkdir /boot/grub" 1449 | echo "grub-mkconfig -o /boot/grub/grub.cfg" 1450 | mkdir /boot/grub 1451 | grub-mkconfig -o /boot/grub/grub.cfg 1452 | exit 1453 | } 1454 | 1455 | archgrubinstallbootloader(){ 1456 | device=$( selectdisk "${txtinstall//%1/bootloader}" ) 1457 | if [ "$?" = "0" ]; then 1458 | if [ "${eficomputer}" == "1" ]; then 1459 | options=() 1460 | if [ "${efimode}" = "1" ]; then 1461 | options+=("EFI" "") 1462 | options+=("BIOS" "") 1463 | options+=("BIOS+EFI" "") 1464 | elif [ "${efimode}" = "2" ]; then 1465 | options+=("BIOS+EFI" "") 1466 | options+=("BIOS" "") 1467 | options+=("EFI" "") 1468 | else 1469 | options+=("BIOS" "") 1470 | options+=("EFI" "") 1471 | options+=("BIOS+EFI" "") 1472 | fi 1473 | sel=$(dialog --backtitle "${apptitle}" --title "${txtinstall//%1/bootloader}" --cancel-button "${txtback}" --menu "" 0 0 0 \ 1474 | "${options[@]}" \ 1475 | 3>&1 1>&2 2>&3) 1476 | if [ "$?" = "0" ]; then 1477 | clear 1478 | case ${sel} in 1479 | "BIOS") archchroot grubbootloaderinstall ${device};; 1480 | "EFI") archchroot grubbootloaderefiinstall ${device};; 1481 | "BIOS+EFI") archchroot grubbootloaderefiusbinstall ${device};; 1482 | esac 1483 | pressanykey 1484 | fi 1485 | else 1486 | clear 1487 | archchroot grubbootloaderinstall ${device} 1488 | pressanykey 1489 | fi 1490 | fi 1491 | } 1492 | archgrubinstallbootloaderchroot(){ 1493 | if [ ! "${1}" = "none" ]; then 1494 | echo "grub-install --target=i386-pc --recheck ${1}" 1495 | grub-install --target=i386-pc --recheck ${1} 1496 | fi 1497 | exit 1498 | } 1499 | archgrubinstallbootloaderefichroot(){ 1500 | if [ ! "${1}" = "none" ]; then 1501 | echo "grub-install --target=x86_64-efi --efi-directory=/boot --recheck ${1}" 1502 | grub-install --target=x86_64-efi --efi-directory=/boot --recheck ${1} 1503 | isvbox=$(lspci | grep "VirtualBox G") 1504 | if [ "${isvbox}" ]; then 1505 | echo "VirtualBox detected, creating startup.nsh..." 1506 | echo "\EFI\arch\grubx64.efi" > /boot/startup.nsh 1507 | fi 1508 | fi 1509 | exit 1510 | } 1511 | archgrubinstallbootloaderefiusbchroot(){ 1512 | if [ ! "${1}" = "none" ]; then 1513 | echo "grub-install --target=i386-pc --recheck ${1}" 1514 | grub-install --target=i386-pc --recheck ${1} 1515 | echo "grub-install --target=x86_64-efi --efi-directory=/boot --removable --recheck ${1}" 1516 | grub-install --target=x86_64-efi --efi-directory=/boot --removable --recheck ${1} 1517 | isvbox=$(lspci | grep "VirtualBox G") 1518 | if [ "${isvbox}" ]; then 1519 | echo "VirtualBox detected, creating startup.nsh..." 1520 | echo "\EFI\arch\grubx64.efi" > /boot/startup.nsh 1521 | fi 1522 | fi 1523 | exit 1524 | } 1525 | 1526 | 1527 | archbootloadersyslinuxbmenu(){ 1528 | if [ "${1}" = "" ]; then 1529 | nextblitem="." 1530 | else 1531 | nextblitem=${1} 1532 | fi 1533 | options=() 1534 | options+=("${txtinstall//%1/syslinux}" "pacstrap syslinux (gptfdisk,mtools)") 1535 | options+=("${txtedit//%1/syslinux}" "(${txtoptional})") 1536 | options+=("${txtinstall//%1/bootloader}" "syslinux-install_update") 1537 | sel=$(dialog --backtitle "${apptitle}" --title "${txtbootloadersyslinuxmenu}" --cancel-button "${txtback}" --default-item "${nextblitem}" --menu "" 0 0 0 \ 1538 | "${options[@]}" \ 1539 | 3>&1 1>&2 2>&3) 1540 | if [ "$?" = "0" ]; then 1541 | case ${sel} in 1542 | "${txtinstall//%1/syslinux}") 1543 | archsyslinuxinstall 1544 | nextblitem="${txtinstall//%1/bootloader}" 1545 | ;; 1546 | "${txtedit//%1/syslinux}") 1547 | ${EDITOR} /mnt/boot/syslinux/syslinux.cfg 1548 | nextblitem="${txtinstall//%1/bootloader}" 1549 | ;; 1550 | "${txtinstall//%1/bootloader}") 1551 | archsyslinuxinstallbootloader 1552 | nextblitem="${txtinstall//%1/bootloader}" 1553 | ;; 1554 | esac 1555 | archbootloadersyslinuxbmenu "${nextblitem}" 1556 | fi 1557 | } 1558 | archsyslinuxinstall(){ 1559 | clear 1560 | 1561 | if [ "${efimode}" == "1" ]||[ "${efimode}" == "2" ]; then 1562 | echo "${txtsyslinuxaddefibootmgr}" 1563 | additionalpkg=${additionalpkg}"efibootmgr " 1564 | fi 1565 | 1566 | if [ "${isnvme}" = "1" ]; then 1567 | if [ "$(parted ${realrootdev::(-2)} print|grep gpt)" != "" ]; then 1568 | echo "${txtsyslinuxaddgptfdisk}" 1569 | additionalpkg=${additionalpkg}"gptfdisk " 1570 | fi 1571 | else 1572 | if [ "$(parted ${realrootdev::8} print|grep gpt)" != "" ]; then 1573 | echo "${txtsyslinuxaddgptfdisk}" 1574 | additionalpkg=${additionalpkg}"gptfdisk " 1575 | fi 1576 | fi 1577 | 1578 | if [ "${bootdev}" != "" ]; then 1579 | if [ "$(parted ${bootdev} print|grep fat)" != "" ]; then 1580 | echo "${txtsyslinuxaddmtools}" 1581 | additionalpkg=${additionalpkg}"mtools " 1582 | fi 1583 | fi 1584 | 1585 | echo "pacstrap /mnt syslinux ${additionalpkg}" 1586 | pacstrap /mnt syslinux ${additionalpkg} 1587 | pressanykey 1588 | 1589 | clear 1590 | echo "Updating /boot/syslinux/syslinux.cfg" 1591 | if [ "${luksroot}" = "1" ]; then 1592 | echo "sed -i \"/APPEND\ root=/c\ APPEND root=/dev/mapper/root cryptdevice=${realrootdev}:root rw\" /mnt/boot/syslinux/syslinux.cfg" 1593 | sed -i "/APPEND\ root=/c\ APPEND root=/dev/mapper/root cryptdevice=${realrootdev}:root\ rw" /mnt/boot/syslinux/syslinux.cfg 1594 | else 1595 | echo "sed -i \"/APPEND\ root=/c\ APPEND root=${rootdev} rw\" /mnt/boot/syslinux/syslinux.cfg" 1596 | sed -i "/APPEND\ root=/c\ APPEND root=${rootdev}\ rw" /mnt/boot/syslinux/syslinux.cfg 1597 | fi 1598 | 1599 | pressanykey 1600 | } 1601 | archsyslinuxinstallbootloader(){ 1602 | clear 1603 | if [ "${efimode}" == "1" ]||[ "${efimode}" == "2" ]; then 1604 | archchroot syslinuxbootloaderefiinstall ${bootdev} 1605 | else 1606 | archchroot syslinuxbootloaderinstall ${bootdev} 1607 | fi 1608 | pressanykey 1609 | } 1610 | archsyslinuxinstallbootloaderchroot(){ 1611 | if [ ! "${1}" = "none" ]; then 1612 | echo "syslinux-install_update -i -a -m" 1613 | syslinux-install_update -i -a -m 1614 | fi 1615 | exit 1616 | } 1617 | archsyslinuxinstallbootloaderefichroot(){ 1618 | if [ ! "${1}" = "none" ]; then 1619 | echo "cp -r /usr/lib/syslinux/efi64/* /boot/syslinux" 1620 | cp -r /usr/lib/syslinux/efi64/* /boot/syslinux 1621 | if [ "${1::8}" == "/dev/nvm" ]; then 1622 | echo "efibootmgr --create --disk ${1::(-2)} --part ${1:(-1)} --loader /syslinux/syslinux.efi --label "Syslinux" --verbose" 1623 | efibootmgr --create --disk ${1::(-2)} --part ${1:(-1)} --loader /syslinux/syslinux.efi --label "Syslinux" --verbose 1624 | else 1625 | echo "efibootmgr --create --disk ${1::8} --part ${1:(-1)} --loader /syslinux/syslinux.efi --label "Syslinux" --verbose" 1626 | efibootmgr --create --disk ${1::8} --part ${1:(-1)} --loader /syslinux/syslinux.efi --label "Syslinux" --verbose 1627 | fi 1628 | isvbox=$(lspci | grep "VirtualBox G") 1629 | if [ "${isvbox}" ]; then 1630 | echo "VirtualBox detected, creating startup.nsh..." 1631 | echo "\syslinux\syslinux.efi" > /boot/startup.nsh 1632 | fi 1633 | fi 1634 | exit 1635 | } 1636 | 1637 | 1638 | archbootloadersystemdbmenu(){ 1639 | if [ "${1}" = "" ]; then 1640 | nextblitem="." 1641 | else 1642 | nextblitem=${1} 1643 | fi 1644 | options=() 1645 | options+=("${txtinstall//%1/systemd-boot}" "bootctl install") 1646 | options+=("${txtedit//%1/loader.conf}" "(${txtoptional})") 1647 | options+=("${txtedit//%1/entries}" "(${txtoptional})") 1648 | sel=$(dialog --backtitle "${apptitle}" --title "${txtbootloadersystemdmenu}" --cancel-button "${txtback}" --default-item "${nextblitem}" --menu "" 0 0 0 \ 1649 | "${options[@]}" \ 1650 | 3>&1 1>&2 2>&3) 1651 | if [ "$?" = "0" ]; then 1652 | case ${sel} in 1653 | "${txtinstall//%1/systemd-boot}") 1654 | archsystemdinstall 1655 | nextblitem="${txtinstall//%1/loader.conf}" 1656 | ;; 1657 | "${txtedit//%1/loader.conf}") 1658 | ${EDITOR} /mnt/boot/loader/loader.conf 1659 | nextblitem="${txtedit//%1/entries}" 1660 | ;; 1661 | "${txtedit//%1/entries}") 1662 | ${EDITOR} /mnt/boot/loader/entries/* 1663 | nextblitem="${txtedit//%1/entries}" 1664 | ;; 1665 | esac 1666 | archbootloadersystemdbmenu "${nextblitem}" 1667 | fi 1668 | } 1669 | archsystemdinstall(){ 1670 | clear 1671 | archchroot systemdbootloaderinstall ${realrootdev} 1672 | 1673 | partuuid=$(blkid -s PARTUUID -o value ${realrootdev}) 1674 | parttype=$(blkid -s TYPE -o value ${rootdev}) 1675 | 1676 | echo "cp /mnt/usr/share/systemd/bootctl/arch.conf /mnt/boot/loader/entries" 1677 | echo "echo \"timeout 2\" >> /mnt/boot/loader/loader.conf" 1678 | echo "cp /mnt/usr/share/systemd/bootctl/loader.conf /mnt/boot/loader" 1679 | if [ "${luksroot}" = "1" ]; then 1680 | cryptuuid=$(blkid -s UUID -o value ${realrootdev}) 1681 | echo "sed -i \"s/PARTUUID=XXXX/\\/dev\\/mapper\\/root/\" /mnt/boot/loader/entries/arch.conf" 1682 | echo "sed -i \"s/XXXX/${parttype}/\" /mnt/boot/loader/entries/arch.conf" 1683 | echo "sed -i \"s/root=/cryptdevice=UUID=${cryptuuid}:root root=/\" /mnt/boot/loader/entries/arch.conf" 1684 | else 1685 | echo "sed -i \"s/PARTUUID=XXXX/PARTUUID=${partuuid}/\" /mnt/boot/loader/entries/arch.conf" 1686 | echo "sed -i \"s/XXXX/${parttype}/\" /mnt/boot/loader/entries/arch.conf" 1687 | fi 1688 | echo "cp /mnt/boot/loader/entries/arch.conf /mnt/boot/loader/entries/arch-fallback.conf" 1689 | echo "sed -i \"s/Arch Linux/Arch Linux Fallback/\" /mnt/boot/loader/entries/arch-fallback.conf" 1690 | echo "sed -i \"s/initramfs-linux/initramfs-linux-fallback/\" /mnt/boot/loader/entries/arch-fallback.conf" 1691 | 1692 | cp /mnt/usr/share/systemd/bootctl/loader.conf /mnt/boot/loader 1693 | echo "timeout 2" >> /mnt/boot/loader/loader.conf 1694 | cp /mnt/usr/share/systemd/bootctl/arch.conf /mnt/boot/loader/entries 1695 | 1696 | 1697 | if [ "${luksroot}" = "1" ]; then 1698 | sed -i "s/PARTUUID=XXXX/\/dev\/mapper\/root/" /mnt/boot/loader/entries/arch.conf 1699 | sed -i "s/XXXX/${parttype}/" /mnt/boot/loader/entries/arch.conf 1700 | sed -i "s/root=/cryptdevice=UUID=${cryptuuid}:root root=/" /mnt/boot/loader/entries/arch.conf 1701 | else 1702 | sed -i "s/PARTUUID=XXXX/PARTUUID=${partuuid}/" /mnt/boot/loader/entries/arch.conf 1703 | sed -i "s/XXXX/${parttype}/" /mnt/boot/loader/entries/arch.conf 1704 | fi 1705 | 1706 | cp /mnt/boot/loader/entries/arch.conf /mnt/boot/loader/entries/arch-fallback.conf 1707 | sed -i "s/Arch Linux/Arch Linux Fallback/" /mnt/boot/loader/entries/arch-fallback.conf 1708 | sed -i "s/initramfs-linux/initramfs-linux-fallback/" /mnt/boot/loader/entries/arch-fallback.conf 1709 | 1710 | pressanykey 1711 | } 1712 | archsystemdinstallchroot(){ 1713 | echo "bootctl --path=/boot install" 1714 | bootctl --path=/boot install 1715 | isvbox=$(lspci | grep "VirtualBox G") 1716 | if [ "${isvbox}" ]; then 1717 | echo "VirtualBox detected, creating startup.nsh..." 1718 | echo "\EFI\systemd\systemd-bootx64.efi" > /boot/startup.nsh 1719 | fi 1720 | } 1721 | 1722 | 1723 | archbootloaderrefindmenu(){ 1724 | if [ "${1}" = "" ]; then 1725 | nextblitem="." 1726 | else 1727 | nextblitem=${1} 1728 | fi 1729 | options=() 1730 | options+=("${txtinstall//%1/refind}" "pacstrap refind-efi") 1731 | options+=("${txtedit//%1/refind_linux.conf}" "(${txtoptional})") 1732 | sel=$(dialog --backtitle "${apptitle}" --title "${txtbootloaderrefindmenu}" --cancel-button "${txtback}" --default-item "${nextblitem}" --menu "" 0 0 0 \ 1733 | "${options[@]}" \ 1734 | 3>&1 1>&2 2>&3) 1735 | if [ "$?" = "0" ]; then 1736 | case ${sel} in 1737 | "${txtinstall//%1/refind}") 1738 | archrefindinstall 1739 | nextblitem="${txtedit//%1/refind_linux.conf}" 1740 | ;; 1741 | "${txtedit//%1/refind_linux.conf}") 1742 | ${EDITOR} /mnt/boot/refind_linux.conf 1743 | nextblitem="${txtedit//%1/refind_linux.conf}" 1744 | ;; 1745 | esac 1746 | archbootloaderrefindmenu "${nextblitem}" 1747 | fi 1748 | 1749 | } 1750 | archrefindinstall(){ 1751 | clear 1752 | 1753 | echo "pacstrap /mnt refind" 1754 | echo "archchroot refindbootloaderinstall ${realrootdev}" 1755 | echo "echo \"\\\"Arch Linux \\\" \\\"root=UUID=${rootuuid} rw add_efi_memmap\\\"\" > /mnt/boot/refind_linux.conf" 1756 | echo "echo \"\\\"Arch Linux Fallback\\\" \\\"root=UUID=${rootuuid} rw add_efi_memmap initrd=/initramfs-linux-fallback.img\\\"\" >> /mnt/boot/refind_linux.conf" 1757 | echo "echo \"\\\"Arch Linux Terminal\\\" \\\"root=UUID=${rootuuid} rw add_efi_memmap systemd.unit=multi-user.target\\\"\" >> /mnt/boot/refind_linux.conf" 1758 | 1759 | pacstrap /mnt refind-efi 1760 | archchroot refindbootloaderinstall ${realrootdev} 1761 | rootuuid=$(blkid -s UUID -o value ${realrootdev}) 1762 | echo "\"Arch Linux \" \"root=UUID=${rootuuid} rw add_efi_memmap\"" > /mnt/boot/refind_linux.conf 1763 | echo "\"Arch Linux Fallback\" \"root=UUID=${rootuuid} rw add_efi_memmap initrd=/initramfs-linux-fallback.img\"" >> /mnt/boot/refind_linux.conf 1764 | echo "\"Arch Linux Terminal\" \"root=UUID=${rootuuid} rw add_efi_memmap systemd.unit=multi-user.target\"" >> /mnt/boot/refind_linux.conf 1765 | pressanykey 1766 | } 1767 | archrefindinstallchroot(){ 1768 | #--usedefault /dev/sdXY --alldrivers 1769 | echo "refind-install" 1770 | refind-install 1771 | isvbox=$(lspci | grep "VirtualBox G") 1772 | if [ "${isvbox}" ]; then 1773 | echo "VirtualBox detected, creating startup.nsh..." 1774 | echo "\EFI\refind\refind_x64.efi" > /boot/startup.nsh 1775 | fi 1776 | } 1777 | 1778 | 1779 | archextrasmenu(){ 1780 | pkgs="" 1781 | options=() 1782 | options+=("nano" "" on) 1783 | options+=("vim" "" on) 1784 | options+=("dhcpcd" "" on) 1785 | options+=("networkmanager" "" off) 1786 | sel=$(dialog --backtitle "${apptitle}" --title "${txtextrasmenu}" --checklist "" 0 0 0 \ 1787 | "${options[@]}" \ 1788 | 3>&1 1>&2 2>&3) 1789 | if [ ! "$?" = "0" ]; then 1790 | return 1 1791 | fi 1792 | for itm in $sel; do 1793 | pkgs="$pkgs $(echo $itm | sed 's/"//g')" 1794 | done 1795 | clear 1796 | echo "pacstrap /mnt ${pkgs}" 1797 | pacstrap /mnt ${pkgs} 1798 | if [[ "${pkgs}" == *"dhcpcd"* ]]; then 1799 | archchroot enabledhcpcd 1800 | fi 1801 | if [[ "${pkgs}" == *"networkmanager"* ]]; then 1802 | archchroot enablenetworkmanager 1803 | fi 1804 | pressanykey 1805 | } 1806 | archenabledhcpcdchroot(){ 1807 | echo "systemctl enable dhcpcd" 1808 | systemctl enable dhcpcd 1809 | exit 1810 | } 1811 | 1812 | archenablenetworkmanagerchroot(){ 1813 | echo "systemctl enable NetworkManager" 1814 | systemctl enable NetworkManager 1815 | exit 1816 | } 1817 | 1818 | installarchdi(){ 1819 | dialog --backtitle "${apptitle}" --title "archdi" --msgbox "${txtinstallarchdi}" 0 0 1820 | if [ "$?" = "0" ]; then 1821 | options=() 1822 | options+=("${txtarchdiinstallandlaunch}" "") 1823 | options+=("${txtarchdilaunch}" "") 1824 | options+=("${txtarchdiinstall}" "") 1825 | sel=$(dialog --backtitle "${apptitle}" --title "${txtarchdimenu}" --cancel-button "${txtback}" --menu "" 0 0 0 \ 1826 | "${options[@]}" \ 1827 | 3>&1 1>&2 2>&3) 1828 | if [ "$?" = "0" ]; then 1829 | case ${sel} in 1830 | "${txtarchdiinstallandlaunch}") archchroot archdiinstallandlaunch;; 1831 | "${txtarchdilaunch}") archchroot archdilaunch;; 1832 | "${txtarchdiinstall}") 1833 | clear 1834 | archchroot archdiinstall 1835 | pressanykey 1836 | ;; 1837 | esac 1838 | fi 1839 | fi 1840 | } 1841 | archdidownload(){ 1842 | txtselectserver="Select source server :" 1843 | txtback="Back" 1844 | options=() 1845 | options+=("sourceforge.net" " (Recommended)") 1846 | options+=("github.com" "") 1847 | sel=$(dialog --backtitle "${apptitle}" --title "${txtselectserver}" --cancel-button "${txtback}" --menu "" 0 0 0 \ 1848 | "${options[@]}" \ 1849 | 3>&1 1>&2 2>&3) 1850 | if [ "$?" = "0" ]; then 1851 | case ${sel} in 1852 | "sourceforge.net") 1853 | archdiurl=archdi.sourceforge.net/archdi 1854 | ;; 1855 | "github.com") 1856 | archdiurl=matmoul.github.io/archdi >archdi 1857 | ;; 1858 | esac 1859 | fi 1860 | echo "curl -L ${archdiurl} >archdi" 1861 | curl -L ${archdiurl} >archdi 1862 | } 1863 | archdiinstallandlaunchchroot(){ 1864 | cd 1865 | archdidownload 1866 | sh archdi -i 1867 | archdi --chroot 1868 | exit 1869 | } 1870 | archdilaunchchroot(){ 1871 | cd 1872 | archdidownload 1873 | sh archdi --chroot 1874 | rm archdi 1875 | exit 1876 | } 1877 | archdiinstallchroot(){ 1878 | cd 1879 | archdidownload 1880 | sh archdi -i 1881 | exit 1882 | } 1883 | # -------------------------------------------------------- 1884 | 1885 | 1886 | 1887 | # -------------------------------------------------------- 1888 | pressanykey(){ 1889 | read -n1 -p "${txtpressanykey}" 1890 | } 1891 | 1892 | loadstrings(){ 1893 | 1894 | locale=en_US.UTF-8 1895 | #font= 1896 | 1897 | txtexit="Exit" 1898 | txtback="Back" 1899 | txtignore="Ignore" 1900 | 1901 | txtselectserver="Select source server :" 1902 | 1903 | txtmainmenu="Main Menu" 1904 | txtlanguage="Language" 1905 | txtsetkeymap="Set Keyboard Layout" 1906 | txteditor="Editor" 1907 | txtdiskpartmenu="Disk Partitions" 1908 | txtselectpartsmenu="Select Partitions and Install" 1909 | txthelp="Help" 1910 | txtchangelog="Changelog" 1911 | txtreboot="Reboot" 1912 | 1913 | txtautoparts="Auto Partitions" 1914 | txteditparts="Edit Partitions" 1915 | 1916 | txtautopartsconfirm="Selected device : %1\n\nAll data will be erased ! \n\nContinue ?" 1917 | 1918 | txtautopartclear="Clear all partition data" 1919 | txtautopartcreate="Create %1 partition" 1920 | txthybridpartcreate="Set hybrid MBR" 1921 | txtautopartsettype="Set %1 partition type" 1922 | 1923 | txtselectdevice="Select %1 device :" 1924 | txtselecteddevices="Selected devices :" 1925 | 1926 | txtformatmountmenu="Format and Mount" 1927 | txtformatdevices="Format Devices" 1928 | txtformatdevice="Format Device" 1929 | txtmount="Mount" 1930 | txtunmount="Unmount" 1931 | txtmountdesc="Install or Config" 1932 | 1933 | txtformatdeviceconfirm="Warning, all data on selected devices will be erased ! \nFormat devices ?" 1934 | 1935 | txtselectpartformat="Select partition format for %1 :" 1936 | txtformatingpart="Formatting partition %1 as" 1937 | txtcreateluksdevice="Create luks device :" 1938 | txtopenluksdevice="Open luks device :" 1939 | txtluksdevicecreated="luks device created !" 1940 | 1941 | txtinstallmenu="Install Menu" 1942 | 1943 | txtarchinstallmenu="Arch Install Menu" 1944 | 1945 | txtselectmirrorsbycountry="Select mirrors by country" 1946 | txtselectcountry="Select country" 1947 | txteditmirrorlist="Edit mirrorlist" 1948 | txtfiltermirrorlist="Filter mirrorlist" 1949 | txtparalleldownloads="Parallel Downloads" 1950 | txtinstallarchlinux="Install Arch Linux" 1951 | txtinstallarchlinuxkernel="Kernel" 1952 | txtinstallarchlinuxfirmwares="Firmwares" 1953 | txtinstallarchlinuxfilesystems="File Systems" 1954 | txtinstallarchlinuxcustompackagelist="Custom Package List" 1955 | txtconfigarchlinux="Config Arch Linux" 1956 | 1957 | txtparallelprompt="Number of packages to download in Parallel" 1958 | txtincorrectinput="Please enter a number greater than 0" 1959 | 1960 | txtsethostname="Set Computer Name" 1961 | txtsetfont="Set Font" 1962 | txtsetlocale="Set Locale" 1963 | txtsettime="Set Time" 1964 | txtsetrootpassword="Set root password" 1965 | 1966 | txthwclock="Hardware clock :" 1967 | txthwclockutc="UTC" 1968 | txthwclocklocal="Local" 1969 | 1970 | txtbootloader="Bootloader" 1971 | txtbootloadermenu="Choose your bootloader" 1972 | 1973 | txtefibootmgr="efibootmgr is required for EFI computers." 1974 | 1975 | txtbootloadergrubmenu="Grub Install Menu" 1976 | txtrungrubmakeconfig="Run grub-mkconfig ?" 1977 | txtgrubluksdetected="Encrypted root partion !\n\nAdd cryptdevice= to GRUB_CMDLINE_LINUX in /etc/default/grub ?" 1978 | 1979 | txtbootloadersyslinuxmenu="Syslinux Install Menu" 1980 | txtsyslinuxaddefibootmgr="EFI install require efibootmgr" 1981 | txtsyslinuxaddgptfdisk="GPT disk require gptfdisk" 1982 | txtsyslinuxaddmtools="FAT boot part require mtools" 1983 | 1984 | txtbootloadersystemdmenu="Systemd-boot Install Menu" 1985 | 1986 | txtbootloaderrefindmenu="rEFInd Install Menu" 1987 | 1988 | txtextrasmenu="Extras" 1989 | 1990 | txtoptional="Optional" 1991 | txtrecommandeasyinst="Recommanded for easy install" 1992 | txtset="Set %1" 1993 | txtgenerate="Generate %1" 1994 | txtedit="Edit %1" 1995 | txtinstall="Install %1" 1996 | txtenable="Enable %1" 1997 | 1998 | txtpressanykey="Press any key to continue." 1999 | 2000 | txtarchdidesc="Full desktop install script" 2001 | txtinstallarchdi="Arch Linux Desktop Install (archdi) is a second script who can help you to install a full workstation.\n\nYou can just launch the script or install it. Choose in the next menu." 2002 | txtarchdiinstallandlaunch="Install and run archdi" 2003 | txtarchdiinstall="Install archdi" 2004 | txtarchdilaunch="Launch archdi" 2005 | } 2006 | 2007 | # -------------------------------------------------------- 2008 | 2009 | 2010 | 2011 | # -------------------------------------------------------- 2012 | while (( "$#" )); do 2013 | case ${1} in 2014 | --help) 2015 | echo "archfi" 2016 | echo "------" 2017 | echo "-cpl | --custom-package-list url Set custom package list url" 2018 | echo "-sf | --skip-font Skip setfont from language files" 2019 | echo "-efiX -efi0 : disable EFI, -efi1 efi inst, -efi2 efi hybrid inst" 2020 | echo "-t | --test ghusername ghbranch Test archfi script and language" 2021 | exit 0 2022 | ;; 2023 | -cpl | --custom-package-list) 2024 | curl -L ${2} > /tmp/archfi-custom-package-list 2025 | if [[ "$?" != "0" ]]; then 2026 | echo "Error downloading custom package list" 2027 | exit 0 2028 | fi 2029 | cpl=1 2030 | ;; 2031 | -sf | --skip-font) skipfont=1;; 2032 | -t | --test) 2033 | curl -L https://raw.githubusercontent.com/${2}/archfi/${3}/archfi > archfi 2034 | sh archfi -tt ${2} ${3} 2035 | exit 0 2036 | ;; 2037 | -tt) baseurl="https://raw.githubusercontent.com/${2}/archfi/${3}";; 2038 | -efi0) efimode=0;; 2039 | -efi1) 2040 | eficomputer=1 2041 | efimode=1 2042 | ;; 2043 | -efi2) 2044 | eficomputer=1 2045 | efimode=2 2046 | ;; 2047 | --chroot) chroot=1 2048 | command=${2} 2049 | args=${3};; 2050 | esac 2051 | shift 2052 | done 2053 | 2054 | if [ "${chroot}" = "1" ]; then 2055 | case ${command} in 2056 | 'setrootpassword') archsetrootpasswordchroot;; 2057 | 'setlocale') archsetlocalechroot;; 2058 | 'settimeutc') archsettimeutcchroot;; 2059 | 'settimelocal') archsettimelocalchroot;; 2060 | 'genmkinitcpio') archgenmkinitcpiochroot;; 2061 | 'enabledhcpcd') archenabledhcpcdchroot;; 2062 | 'enablenetworkmanager') archenablenetworkmanagerchroot;; 2063 | 'grubinstall') archgrubinstallchroot;; 2064 | 'grubbootloaderinstall') archgrubinstallbootloaderchroot ${args};; 2065 | 'grubbootloaderefiinstall') archgrubinstallbootloaderefichroot ${args};; 2066 | 'grubbootloaderefiusbinstall') archgrubinstallbootloaderefiusbchroot ${args};; 2067 | 'syslinuxbootloaderinstall') archsyslinuxinstallbootloaderchroot ${args};; 2068 | 'syslinuxbootloaderefiinstall') archsyslinuxinstallbootloaderefichroot ${args};; 2069 | 'systemdbootloaderinstall') archsystemdinstallchroot ${args};; 2070 | 'refindbootloaderinstall') archrefindinstallchroot ${args};; 2071 | 'archdiinstallandlaunch') archdiinstallandlaunchchroot;; 2072 | 'archdiinstall') archdiinstallchroot;; 2073 | 'archdilaunch') archdilaunchchroot;; 2074 | esac 2075 | else 2076 | echo "Init pacman, please wait..." 2077 | systemctl start pacman-init.service 2078 | pacman -Sy --needed arch-install-scripts dialog 2079 | dmesg |grep efi: > /dev/null 2080 | if [ "$?" == "1" ]; then 2081 | if [ "${eficomputer}" != "1" ]; then 2082 | eficomputer=0 2083 | fi 2084 | else 2085 | eficomputer=1 2086 | if [ "${efimode}" == "" ]; then 2087 | efimode=1 2088 | fi 2089 | fi 2090 | cat << EOF > dialog.archfi 2091 | use_shadow = OFF 2092 | title_color = (BLACK,WHITE,OFF) 2093 | button_label_active_color = (WHITE,BLUE,ON) 2094 | button_label_inactive_color = (BLACK,WHITE,OFF) 2095 | tag_color = (BLACK,WHITE,OFF) 2096 | tag_selected_color = (WHITE,BLUE,ON) 2097 | tag_key_color = (BLACK,WHITE,OFF) 2098 | tag_key_selected_color = (WHITE,BLUE,ON) 2099 | check_color = tag_color 2100 | check_selected_color = tag_selected_color 2101 | EOF 2102 | export DIALOGRC="dialog.archfi" 2103 | loadstrings 2104 | EDITOR=nano 2105 | mainmenu 2106 | rm dialog.archfi 2107 | fi 2108 | 2109 | exit 0 2110 | # -------------------------------------------------------- 2111 | -------------------------------------------------------------------------------- /lng/Arabic: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : Arabic 5 | # translator : Mohammad Alawadi (https://twitter.com/MAlawadi6) 6 | # notes : تم ترجمة السكربت لتسهيل عملية تثبيت آرتش لينكس على اخواني العرب 7 | # أحث كل المهتمين بلينكس وعندهم رغبة تجربة نظام آرتش لينكس بتجربة السكربت هذا اللي يسهل 8 | # عملية تثبيت نظام التشغيل بكل سهولة وأريحية .. لأي استفسار كلموني في تويتر أو من خلال: 9 | # root@mohdalawadi.com 10 | 11 | 12 | locale=ar_SA.UTF-8 13 | font=LatArCyrHeb-14 14 | 15 | txtexit="خروج" 16 | txtback="رجوع" 17 | txtignore="تجاهل" 18 | 19 | txtselectserver="حدد الخادم (السرفر) المصدر (سورس) :" 20 | 21 | txtmainmenu="القائمة الرئيسية" 22 | txtlanguage="اللغة" 23 | txtsetkeymap="تعيين تخطيط لوحة المفاتيح" 24 | txteditor="محرر" 25 | txtdiskpartmenu="أقسام القرص" 26 | txtselectpartsmenu="حدد أقسام القرص وثبت" 27 | txthelp="مساعدة" 28 | txtchangelog="سجل التغيير" 29 | txtreboot="إعادة التشغيل" 30 | 31 | txtautoparts="أقسام تلقائية" 32 | txteditparts="تعديل الأقسام" 33 | 34 | txtautopartsconfirm="الجهاز المحدد : %1\n\nسيتم مسح جميع البيانات ! \n\nنُكمل؟" 35 | 36 | txtautopartclear="مسح جميع بيانات القسم" 37 | txtautopartcreate="إنشاء %1 قسم" 38 | txthybridpartcreate="تعيين سجل التمهيد الرئيسي المختلط" 39 | txtautopartsettype="تعيين %1 نوع القسم" 40 | 41 | txtselectdevice="اختر %1 جهاز :" 42 | txtselecteddevices="الأجهزة المختارة :" 43 | 44 | txtformatmountmenu="شطب وتثبيت" 45 | txtformatdevices="حذف الأجهزة" 46 | txtformatdevice="حذف الجهاز" 47 | txtmount="تثبيت" 48 | txtunmount="إلغاء التثبيت" 49 | txtmountdesc="تثبيت أو تعديل" 50 | 51 | txtformatdeviceconfirm="تحذير ، سيتم مسح جميع البيانات الموجودة على الأجهزة المحددة ! \nشطب الأجهزة؟" 52 | 53 | txtselectpartformat="حدد قسم شطب لـ %1 :" 54 | txtformatingpart="شطب قسم %1 كـ " 55 | txtcreateluksdevice="إنشاء جهاز luks :" 56 | txtopenluksdevice="فتح جهاز luks :" 57 | txtluksdevicecreated="تم إنشاء جهاز luks !" 58 | 59 | txtinstallmenu="قائمة التثبيت" 60 | 61 | txtarchinstallmenu="قائمة تثبيت آرتش لينكس" 62 | 63 | txteditmirrorlist="تعديل قائمة المرآة" 64 | txtinstallarchlinux="تثبيت آرتش لينكس" 65 | txtinstallfirmware="تثبيت البرامج الثابتة" 66 | txtconfigarchlinux="تعديل آرتش لينكس" 67 | 68 | txtsethostname="تعيين اسم الكمبيوتر" 69 | txtsetfont="تعيين الخط" 70 | txtsetlocale="ضبط اللغة" 71 | txtsettime="ضبط الوقت" 72 | txtsetrootpassword="تعيين كلمة المرور الروت" 73 | 74 | txtuseutcclock="هل تريد استخدام ساعة الأجهزة UTC؟" 75 | 76 | txtbootloader="محمل الإقلاع" 77 | txtbootloadermenu="اختر محمل الإقلاع" 78 | 79 | txtefibootmgr="efibootmgr مطلوب لأجهزة كمبيوتر EFI." 80 | 81 | txtbootloadergrubmenu="قائمة تثبيت Grub" 82 | txtrungrubmakeconfig="شغل grub-mkconfig ؟" 83 | txtgrubluksdetected="قسم الروت المشفر !\n\nنضيف cryptdevice= إلى GRUB_CMDLINE_LINUX في /etc/default/grub ؟" 84 | 85 | txtbootloadersyslinuxmenu="قائمة تثبيت Syslinux" 86 | txtsyslinuxaddefibootmgr="تثبيت EFI يتطلب efibootmgr" 87 | txtsyslinuxaddgptfdisk="أسطوانة GPT تتطلب gptfdisk" 88 | txtsyslinuxaddmtools="جزء FAT للتشغيل يتطلب mtools " 89 | 90 | txtbootloaderrefindmenu="قائمة تثبيت rEFInd" 91 | 92 | txtoptional="إختياري" 93 | txtrecommandeasyinst="الموصى بها لتسهيل عملية التثبيت" 94 | txtset="وضع %1" 95 | txtgenerate="إنشاء %1" 96 | txtedit="تعديل %1" 97 | txtinstall="تثبيت %1" 98 | txtenable="مكن %1" 99 | 100 | txtpressanykey="اضغط على أي زر للإستمرار" 101 | 102 | txtarchdidesc="النص الكامل لتثبيت سطح المكتب" 103 | txtinstallarchdi="Arch Linux Desktop Install (archdi) هو برنامج نصي ثاني يمكنه مساعدتك في تثبيت محطة عمل كاملة.\n\nيمكنك فقط تشغيل البرنامج النصي أو تثبيته. اختر في القائمة التالية.\n\nيحتوي Arch Linux Desktop Install على اثنين من التبعيات : wget and libnewt.\n\npacstrap wget libnewt ؟" 104 | txtarchdiinstallandlaunch="تثبيت وتشغيل archdi" 105 | txtarchdiinstall="نصب archdi" 106 | txtarchdilaunch="إطلاق archdi" 107 | -------------------------------------------------------------------------------- /lng/Brazilian: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : Brazilian Portuguese 5 | # translator : MaxWilliamJF (maxwilljf@gmail.com) 6 | # notes : Version 0.1 7 | 8 | 9 | locale=pt_BR.UTF-8 10 | font=Lat0-16 11 | 12 | 13 | txtexit="Sair" 14 | txtback="Voltar" 15 | txtignore="Ignorar" 16 | 17 | txtselectserver="Escolha um servidor de origem :" 18 | 19 | txtmainmenu="Menu Principal" 20 | txtlanguage="Linguagem" 21 | txtsetkeymap="Definir Layout do Teclado" 22 | txteditor="Editor" 23 | txtdiskpartmenu="Partições de Disco" 24 | txtselectpartsmenu="Selecionar Partições e Instalar" 25 | txthelp="Ajuda" 26 | txtchangelog="Registro de Alterações" 27 | txtreboot="Reiniciar" 28 | 29 | txtautoparts="Particionar Automaticamente" 30 | txteditparts="Editar Partições" 31 | 32 | txtautopartsconfirm="Dispositivo selecionado : %1\n\nTodos os dados serão apagados ! \n\nContinuar ?" 33 | 34 | txtautopartclear="Limpar todos os dados da partição" 35 | txtautopartcreate="Criar partição %1" 36 | txthybridpartcreate="Definir MBR híbrido" 37 | txtautopartsettype="Definir o tipo da partição %1" 38 | 39 | txtselectdevice="Selecione o dispositivo %1 :" 40 | txtselecteddevices="Dispositivos selecionados :" 41 | 42 | txtformatmountmenu="Formatar e Montar" 43 | txtformatdevices="Formatar Dispositivos" 44 | txtformatdevice="Formatar Dispositivo" 45 | txtmount="Montar" 46 | txtunmount="Desmontar" 47 | txtmountdesc="Instalar ou Configurar" 48 | 49 | txtformatdeviceconfirm="Aviso, todos os dados nas partições selecionadas serão apagados ! \nFormatar partições ?" 50 | 51 | txtselectpartformat="Defina o tipo de partição para %1 :" 52 | txtformatingpart="Formatando partição %1 como" 53 | txtcreateluksdevice="LUKS - Criar dispositivo :" 54 | txtopenluksdevice="LUKS - Abrir dispositivo :" 55 | txtluksdevicecreated="LUKS - Dispositivo criado !" 56 | 57 | txtinstallmenu="Menu de Instalação" 58 | 59 | txtarchinstallmenu="Menu de Instalação do Arch" 60 | txtrungrubmakeconfig="Executar grub-mkconfig ?" 61 | 62 | txteditmirrorlist="Editar mirrorlist" 63 | txtinstallarchlinux="Instalar Arch Linux" 64 | txtconfigarchlinux="Configurar Arch Linux" 65 | 66 | txtsethostname="Definir nome do computador" 67 | txtsetfont="Definir fonte" 68 | txtsetlocale="Definir local" 69 | txtsettime="Definir hora" 70 | txtsetrootpassword="Definir senha de root" 71 | 72 | txtuseutcclock="Utilizar relógio de hardware UTC ?" 73 | 74 | txtoptional="Opcional" 75 | txtrecommandeasyinst="Recomendado para fácil instalação" 76 | txtset="Definir %1" 77 | txtgenerate="Gerar %1" 78 | txtedit="Editar %1" 79 | txtinstall="Instalar %1" 80 | txtenable="Habilitar %1" 81 | 82 | txtgrubluksdetected="Partição root encriptada !\n\nAdicionar cryptdevice= a GRUB_CMDLINE_LINUX em /etc/default/grub ?" 83 | 84 | 85 | txtpressanykey="Pressione qualquer tecla para continuar." 86 | 87 | txtinstallosprober="os-prober é uma boa opção caso você queira usar boot múltiplo.\nInstalar os-prober ?" 88 | txtefibootmgr="efibootmgr é necessário para sistemas EFI." 89 | 90 | txtarchdidesc="Instalação completa de estação de trabalho" 91 | txtinstallarchdi="Arch Linux Desktop Install (archdi) é um segundo script que pode ajudar você a instalar uma estação de trabalho completa.\n\nVocê pode executar o script ou instalá-lo. Escolha no próximo menu.\n\nArch Linux Desktop Install possui duas dependências : wget e libnewt.\n\npacstrap wget libnewt ?" 92 | txtarchdiinstallandlaunch="Instalar e Executar archdi" 93 | txtarchdiinstall="Instalar archdi" 94 | txtarchdilaunch="Executar archdi" 95 | -------------------------------------------------------------------------------- /lng/Chinese: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : zh-cn 5 | # translator : chery (pseudo, name or e-mail.) 6 | # notes : misc text... 7 | 8 | 9 | locale=en_US.UTF-8 10 | #font= 11 | 12 | 13 | txtexit="退出" 14 | txtback="返回" 15 | txtignore="忽略" 16 | 17 | txtselectserver="设置源服务器:" 18 | 19 | txtmainmenu="主界面" 20 | txtlanguage="语言" 21 | txtsetkeymap="设置键盘布局" 22 | txteditor="编辑器" 23 | txtdiskpartmenu="分区" 24 | txtselectpartsmenu="设置分区并安装" 25 | txthelp="帮助" 26 | txtchangelog="变更日志" 27 | txtreboot="重启" 28 | 29 | txtautoparts="自动分区" 30 | txteditparts="编辑分区" 31 | 32 | txtautopartsconfirm="选择磁盘器 : %1\n\n全部数据将被擦除 ! \n\n继续 ?" 33 | 34 | txtautopartclear="Clear all partition data" 35 | txtautopartcreate="创建%1分区" 36 | txthybridpartcreate="Set hybrid MBR" 37 | txtautopartsettype="设置分区%1类型" 38 | 39 | txtselectdevice="选择%1磁盘 :" 40 | txtselecteddevices="已选 磁盘 :" 41 | 42 | txtformatmountmenu="格式化并挂载" 43 | txtformatdevices="格式化磁盘s" 44 | txtformatdevice="格式化磁盘" 45 | txtmount="挂载" 46 | txtunmount="卸载" 47 | txtmountdesc="安装并配置" 48 | 49 | txtformatdeviceconfirm="警告, 选择磁盘的数据将被全部擦除! \nFormat devices ?" 50 | 51 | txtselectpartformat="Select partition format for %1 :" 52 | txtformatingpart="Formatting partition %1 as" 53 | txtcreateluksdevice="Create luks device :" 54 | txtopenluksdevice="Open luks device :" 55 | txtluksdevicecreated="luks device created !" 56 | 57 | txtinstallmenu="安装菜单" 58 | 59 | txtarchinstallmenu="Arch安装菜单" 60 | txtrungrubmakeconfig="运行grub-mkconfig?" 61 | 62 | txteditmirrorlist="编辑源列表" 63 | txtinstallarchlinux="安装Arch Linux" 64 | txtconfigarchlinux="配置Arch Linux" 65 | 66 | txtsethostname="设置计算机名" 67 | txtsetfont="设置字体" 68 | txtsetlocale="设置区域" 69 | txtsettime="设置时区" 70 | txtsetrootpassword="设置root用户密码" 71 | 72 | txtuseutcclock="使用UTC硬盘时间?" 73 | 74 | txtoptional="可选" 75 | txtrecommandeasyinst="推荐简单安装" 76 | txtset="设置%1" 77 | txtgenerate="生成%1" 78 | txtedit="编辑%1" 79 | txtinstall="安装 %1" 80 | txtenable="开启 %1" 81 | 82 | txtgrubluksdetected="加密用户根分区 !\n\n添加加密磁盘= to GRUB_CMDLINE_LINUX in /etc/default/grub ?" 83 | 84 | 85 | txtpressanykey="任意键继续." 86 | 87 | txtinstallosprober="如果你想使用mutli-boot,os-prober是一个很好的解决方案.\n 安装os-prober吗?" 88 | txtefibootmgr="efibootmgr依赖于EFI." 89 | 90 | txtarchdidesc="图形桌面安装脚本" 91 | txtinstallarchdi="archdi 是ARCH linux 安装的第二个脚本,用于帮助我们安装完整的桌面的环境.\n\n你仅仅需要安装并运行这个脚本. 选择接下来的菜单.\n\nArch Linux Desktop 安装需要两个依赖 : wget and libnewt.\n\npacstrap wget libnewt ?" 92 | txtarchdiinstallandlaunch="安装并运行archdi" 93 | txtarchdiinstall="安装archdi" 94 | txtarchdilaunch="启动archdi" 95 | -------------------------------------------------------------------------------- /lng/Dutch: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : Dutch 5 | # translator : bowero (pseudo, name or e-mail.) 6 | # notes : misc text... 7 | 8 | 9 | locale=nl_NL.UTF-8 10 | #font= 11 | 12 | 13 | txtexit="Sluit" 14 | txtback="Terug" 15 | txtignore="Negeer" 16 | 17 | txtselectserver="Selecteer bronserver :" 18 | 19 | txtmainmenu="Hoofdmenu" 20 | txtlanguage="Taal" 21 | txtsetkeymap="Stel toetsenbordindeling in" 22 | txteditor="Editor" 23 | txtdiskpartmenu="Schijfpartities" 24 | txtselectpartsmenu="Selecteer partities en installeer" 25 | txthelp="Help" 26 | txtchangelog="Aanpassingen" 27 | txtreboot="Herstart" 28 | 29 | txtautoparts="Partitioneer automatisch" 30 | txteditparts="Partitioneer handmatig" 31 | 32 | txtautopartsconfirm="Geselecteerde schijf : %1\n\nAlle data zal worden verwijderd ! \n\nDoorgaan ?" 33 | 34 | txtautopartclear="Verwijder de data voor alle partities" 35 | txtautopartcreate="Creeer %1 partition" 36 | txthybridpartcreate="Stel hybride MBR in" 37 | txtautopartsettype="Stel %1 partitietype in" 38 | 39 | txtselectdevice="Selecteer %1 schijf :" 40 | txtselecteddevices="Geselecteerde schijven :" 41 | 42 | txtformatmountmenu="Formatteer en koppel" 43 | txtformatdevices="Formatteer schijven" 44 | txtformatdevice="Formatteer schijf" 45 | txtmount="Koppel" 46 | txtunmount="Ontkoppel" 47 | txtmountdesc="Installeer of configureer" 48 | 49 | txtformatdeviceconfirm="Waarschuwing, alle data op de geselecteerde schijven zal worden verwijderd ! \n Schijven formatteren ?" 50 | 51 | txtselectpartformat="Selecteer partitiebestandssysteem voor %1 :" 52 | txtformatingpart="Partitie %1 aan het formatteren als" 53 | txtcreateluksdevice="Creeer luks schijf :" 54 | txtopenluksdevice="Open luks schijf :" 55 | txtluksdevicecreated="luks schijf gecreeerd !" 56 | 57 | txtinstallmenu="Installatiemenu" 58 | 59 | txtarchinstallmenu="Arch installatie menu" 60 | txtrungrubmakeconfig="grub-mkconfig uitvoeren?" 61 | 62 | txteditmirrorlist="Wijzig mirrorlijst?" 63 | txtinstallarchlinux="Installeer Arch Linux" 64 | txtconfigarchlinux="Configureer Arch Linux" 65 | 66 | txtsethostname="Stel computernaam in" 67 | txtsetfont="Stel lettertype in" 68 | txtsetlocale="Stel standaardtaal in" 69 | txtsettime="Stel tijd in" 70 | txtsetrootpassword="Stel root wachtwoord in" 71 | 72 | txtuseutcclock="UTC-hardwareklok gebruiken ?" 73 | 74 | txtoptional="Optioneel" 75 | txtrecommandeasyinst="Aanbevolen voor makkelijke installatie" 76 | txtset="Stel %1 in" 77 | txtgenerate="Genereer %1" 78 | txtedit="Wijzig %1" 79 | txtinstall="Installeer %1" 80 | txtenable="Zet %1 aan" 81 | 82 | txtgrubluksdetected="Versleutelde rootpartitie !\n\nVoeg cryptdevice= to GRUB_CMDLINE_LINUX toe in /etc/default/grub ?" 83 | 84 | 85 | txtpressanykey="Druk op een knop om door te gaan" 86 | 87 | txtinstallosprober="os-prober is een goede oplossing als je een multiboot wilt gebruiken.\nos-prober installeren ?" 88 | txtefibootmgr="efibootmgr is noodzakelijk voor efi-computer." 89 | 90 | txtarchdidesc="Volledige desktop-installatiescript" 91 | txtinstallarchdi="Arch Linux Desktop Install (archdi) is een tweede script dat je kan helpen om een volledig werkstation the installeren.\n\n Je kan het script gewoon opstarten of installeren. Kies in het volgende menu.\n\nArch Linux Desktop Install heeft twee afhankelijkheden : wget and libnewt.\n\npacstrap wget libnewt ?" 92 | txtarchdiinstallandlaunch="Installeer en voer archdi uit" 93 | txtarchdiinstall="Installeer archdi" 94 | txtarchdilaunch="Start archdi" 95 | -------------------------------------------------------------------------------- /lng/English: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : English 5 | # translator : matmoul (pseudo, name or e-mail.) 6 | # notes : misc text... 7 | 8 | 9 | 10 | locale=en_US.UTF-8 11 | #font= 12 | 13 | txtexit="Exit" 14 | txtback="Back" 15 | txtignore="Ignore" 16 | 17 | txtselectserver="Select source server :" 18 | 19 | txtmainmenu="Main Menu" 20 | txtlanguage="Language" 21 | txtsetkeymap="Set Keyboard Layout" 22 | txteditor="Editor" 23 | txtdiskpartmenu="Disk Partitions" 24 | txtselectpartsmenu="Select Partitions and Install" 25 | txthelp="Help" 26 | txtchangelog="Changelog" 27 | txtreboot="Reboot" 28 | 29 | txtautoparts="Auto Partitions" 30 | txteditparts="Edit Partitions" 31 | 32 | txtautopartsconfirm="Selected device : %1\n\nAll data will be erased ! \n\nContinue ?" 33 | 34 | txtautopartclear="Clear all partition data" 35 | txtautopartcreate="Create %1 partition" 36 | txthybridpartcreate="Set hybrid MBR" 37 | txtautopartsettype="Set %1 partition type" 38 | 39 | txtselectdevice="Select %1 device :" 40 | txtselecteddevices="Selected devices :" 41 | 42 | txtformatmountmenu="Format and Mount" 43 | txtformatdevices="Format Devices" 44 | txtformatdevice="Format Device" 45 | txtmount="Mount" 46 | txtunmount="Unmount" 47 | txtmountdesc="Install or Config" 48 | 49 | txtformatdeviceconfirm="Warning, all data on selected devices will be erased ! \nFormat devices ?" 50 | 51 | txtselectpartformat="Select partition format for %1 :" 52 | txtformatingpart="Formatting partition %1 as" 53 | txtcreateluksdevice="Create luks device :" 54 | txtopenluksdevice="Open luks device :" 55 | txtluksdevicecreated="luks device created !" 56 | 57 | txtinstallmenu="Install Menu" 58 | 59 | txtarchinstallmenu="Arch Install Menu" 60 | 61 | txtselectmirrorsbycountry="Select mirrors by country" 62 | txtselectcountry="Select country" 63 | txteditmirrorlist="Edit mirrorlist" 64 | txtinstallarchlinux="Install Arch Linux" 65 | txtinstallarchlinuxkernel="Kernel" 66 | txtinstallarchlinuxfirmwares="Firmwares" 67 | txtinstallarchlinuxfilesystems="File Systems" 68 | txtinstallarchlinuxcustompackagelist="Custom Package List" 69 | txtconfigarchlinux="Config Arch Linux" 70 | 71 | txtsethostname="Set Computer Name" 72 | txtsetfont="Set Font" 73 | txtsetlocale="Set Locale" 74 | txtsettime="Set Time" 75 | txtsetrootpassword="Set root password" 76 | 77 | txthwclock="Hardware clock :" 78 | txthwclockutc="UTC" 79 | txthwclocklocal="Local" 80 | 81 | txtbootloader="Bootloader" 82 | txtbootloadermenu="Choose your bootloader" 83 | 84 | txtefibootmgr="efibootmgr is required for EFI computers." 85 | 86 | txtbootloadergrubmenu="Grub Install Menu" 87 | txtrungrubmakeconfig="Run grub-mkconfig ?" 88 | txtgrubluksdetected="Encrypted root partion !\n\nAdd cryptdevice= to GRUB_CMDLINE_LINUX in /etc/default/grub ?" 89 | 90 | txtbootloadersyslinuxmenu="Syslinux Install Menu" 91 | txtsyslinuxaddefibootmgr="EFI install require efibootmgr" 92 | txtsyslinuxaddgptfdisk="GPT disk require gptfdisk" 93 | txtsyslinuxaddmtools="FAT boot part require mtools" 94 | 95 | txtbootloadersystemdmenu="Systemd-boot Install Menu" 96 | 97 | txtbootloaderrefindmenu="rEFInd Install Menu" 98 | 99 | txtextrasmenu="Extras" 100 | 101 | txtoptional="Optional" 102 | txtrecommandeasyinst="Recommanded for easy install" 103 | txtset="Set %1" 104 | txtgenerate="Generate %1" 105 | txtedit="Edit %1" 106 | txtinstall="Install %1" 107 | txtenable="Enable %1" 108 | 109 | txtpressanykey="Press any key to continue." 110 | 111 | txtarchdidesc="Full desktop install script" 112 | txtinstallarchdi="Arch Linux Desktop Install (archdi) is a second script who can help you to install a full workstation.\n\nYou can just launch the script or install it. Choose in the next menu.\n\nArch Linux Desktop Install as two dependencies : wget and libnewt.\n\npacstrap wget libnewt ?" 113 | txtarchdiinstallandlaunch="Install and run archdi" 114 | txtarchdiinstall="Install archdi" 115 | txtarchdilaunch="Launch archdi" 116 | -------------------------------------------------------------------------------- /lng/French: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : Français 5 | # translator : matmoul (pseudo, name or e-mail.) 6 | # notes : misc text... 7 | 8 | 9 | locale=fr_FR.UTF-8 10 | font=lat1-16 11 | 12 | 13 | txtexit="Quitter" 14 | txtback="Retour" 15 | txtignore="Ignorer" 16 | 17 | txtselectserver="Sélectionnez le serveur source :" 18 | 19 | txtmainmenu="Menu Principal" 20 | txtlanguage="Language" 21 | txtsetkeymap="Disposition clavier" 22 | txteditor="Éditeur" 23 | txtdiskpartmenu="Partionner le disque" 24 | txtselectpartsmenu="Sélectionner les partitions d'installation" 25 | txthelp="Aide" 26 | txtchangelog="Changelog" 27 | txtreboot="Redémarrer" 28 | 29 | txtautoparts="Partitionnement auto" 30 | txteditparts="Éditer partitions" 31 | 32 | txtautopartsconfirm="Périphérique séléctionné : %1\n\nToutes les données vont être effacées ! \n\nContinuer ?" 33 | 34 | txtautopartclear="Suppression des partitions" 35 | txtautopartcreate="Création de la partition %1" 36 | txthybridpartcreate="Définition du MBR hybride" 37 | txtautopartsettype="Définition du type de la partition %1" 38 | 39 | txtselectdevice="Sélectionnez le périphérique %1 :" 40 | txtselecteddevices="Périphériques sélectionnés :" 41 | 42 | txtformatmountmenu="Formatter et monter" 43 | txtformatdevices="Formatter les partitions" 44 | txtformatdevice="Formatter une partition" 45 | txtmount="Monter" 46 | txtunmount="Démonter" 47 | txtmountdesc="Installation ou configuration" 48 | 49 | txtformatdeviceconfirm="Attention, toutes les données sur les partitions sélectionnées vont être effacées ! \nFormatter les partitions ?" 50 | 51 | txtselectpartformat="Sélectionnez le format de la parition %1 :" 52 | txtformatingpart="Formater la partition %1 en" 53 | txtcreateluksdevice="Création de la partition luks :" 54 | txtopenluksdevice="Ouverture de la partition luks :" 55 | txtluksdevicecreated="La partition luks à été créée !" 56 | 57 | txtinstallmenu="Menu Installation" 58 | 59 | txtarchinstallmenu="Menu Installation Arch Linux" 60 | 61 | txtselectmirrorsbycountry="Mirroir par pays" 62 | txtselectcountry="Sélectionner pays" 63 | txteditmirrorlist="Éditer mirrorlist" 64 | txtinstallarchlinux="Installer Arch Linux" 65 | txtinstallarchlinuxkernel="Noyau" 66 | txtinstallarchlinuxfirmwares="Firmwares" 67 | txtinstallarchlinuxfilesystems="Systèmes de fichier" 68 | txtinstallarchlinuxcustompackagelist="Liste de paquet personnel" 69 | txtconfigarchlinux="Configurer Arch Linux" 70 | 71 | txtsethostname="Définir le nom de l'ordinateur" 72 | txtsetfont="Définir Font" 73 | txtsetlocale="Définir Locale" 74 | txtsettime="Définir l'horloge" 75 | txtsetrootpassword="Définir le mot de passe root" 76 | 77 | txthwclock="Horloge matériel :" 78 | txthwclockutc="UTC" 79 | txthwclocklocal="Local" 80 | 81 | txtbootloader="Bootloader" 82 | txtbootloadermenu="Choisissez votre bootloader" 83 | 84 | txtefibootmgr="efibootmgr est requis pour un système EFI." 85 | 86 | txtbootloadergrubmenu="Menu Installation Grub" 87 | txtrungrubmakeconfig="Exécuter grub-mkconfig ?" 88 | txtgrubluksdetected="Partition root chiffrée !\n\nAjouter cryptdevice= to GRUB_CMDLINE_LINUX dans /etc/default/grub ?" 89 | 90 | txtbootloadersyslinuxmenu="Menu Installation Syslinux" 91 | txtsyslinuxaddefibootmgr="Une installation EFI nécessite efibootmgr" 92 | txtsyslinuxaddgptfdisk="Un disque GPT nécessite gptfdisk" 93 | txtsyslinuxaddmtools="Un partition de boot FAT nécessite mtools" 94 | 95 | txtbootloadersystemdmenu="Menu Installation Systemd-boot" 96 | 97 | txtbootloaderrefindmenu="Menu Installation rEFInd" 98 | 99 | txtextrasmenu="Extras" 100 | 101 | txtoptional="Optionnel" 102 | txtrecommandeasyinst="Recommandé pour installation rapide" 103 | txtset="Définir %1" 104 | txtgenerate="Générer %1" 105 | txtedit="Éditer %1" 106 | txtinstall="Installer %1" 107 | txtenable="Activer %1" 108 | 109 | txtpressanykey="Appuyez sur une touche pour continuer." 110 | 111 | txtarchdidesc="Installation d'un poste de travail" 112 | txtinstallarchdi="Arch Linux Desktop Install (archdi) est un second script qui peut vous aidez à installer un poste de travail complet.\n\nVous pouvez exécuter ou installer le script en choisissant dans le menu suivant.\n\nArch Linux Desktop Install possède 2 dépendences : wget et libnewt.\n\nLes installer avec pacstrap wget libnewt ?" 113 | txtarchdiinstallandlaunch="Installer et exécuter archdi" 114 | txtarchdiinstall="Installer archdi" 115 | txtarchdilaunch="Exécuter archdi" 116 | -------------------------------------------------------------------------------- /lng/German: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : German 5 | # translator : untergrundbiber (untergrundbiber@gmail.com) 6 | # notes : Version 0.1 7 | 8 | 9 | locale=de_DE.UTF-8 10 | #font= 11 | 12 | 13 | txtexit="Verlassen" 14 | txtback="Zurück" 15 | txtignore="Ignorieren" 16 | 17 | txtselectserver="Wählen Sie einen Spiegelserver:" 18 | 19 | txtmainmenu="Hauptmenü" 20 | txtlanguage="Sprache" 21 | txtsetkeymap="Tastaturbelegung auswählen" 22 | txteditor="Texteditor" 23 | txtdiskpartmenu="Laufwerk partitionieren" 24 | txtselectpartsmenu="Partitionen zuweisen" 25 | txthelp="Hilfe" 26 | txtchangelog="Änderungsprotokoll" 27 | txtreboot="System neu starten" 28 | 29 | txtautoparts="Auto-Partitionierung" 30 | txteditparts="Partitionen bearbeiten" 31 | 32 | txtautopartsconfirm="Ausgewähltes Laufwerk: %1\n\nAlle Daten werden gelöscht!\n\nFortfahren?" 33 | 34 | txtautopartclear="Alle Partitionsdaten löschen" 35 | txtautopartcreate="Erstelle %1 Partition" 36 | txthybridpartcreate="Erstelle hybriden MBR" 37 | txtautopartsettype="Setzte Partitionstyp auf %1 " 38 | 39 | txtselectdevice="%1 Partition auswählen:" 40 | txtselecteddevices="Ausgewählte Partitionen:" 41 | 42 | txtformatmountmenu="Formatieren und einbinden" 43 | txtformatdevices="Partitionen formatieren" 44 | txtformatdevice="Laufwerk formatieren" 45 | txtmount="Einhängen" 46 | txtunmount="Aushängen" 47 | txtmountdesc="Partitionen einbinden und Installation fortsetzen" 48 | 49 | txtformatdeviceconfirm="Warnung, werden alle Daten auf den ausgewählten Laufwerken werden gelöscht!\nLaufwerke wirklich formatieren?" 50 | 51 | txtselectpartformat="Partitionsformat für Laufwerk %1 wählen:" 52 | txtformatingpart="Formatiere Partition %1 als" 53 | txtcreateluksdevice="LUKS-Laufwerk erstellen:" 54 | txtopenluksdevice="LUKS-Laufwerk öffnen:" 55 | txtluksdevicecreated="LUKS-Laufwerk wurde erstellt!" 56 | 57 | txtinstallmenu="Installationsmenü" 58 | 59 | txtarchinstallmenu="Arch Installationsmenü" 60 | txtrungrubmakeconfig="grub-mkconfig ausführen?" 61 | 62 | txteditmirrorlist="Spiegelserver-Liste editieren" 63 | txtinstallarchlinux="Arch Linux installieren" 64 | txtconfigarchlinux="Arch Linux konfigurieren" 65 | 66 | txtsethostname="Computername ändern" 67 | txtsetlocale="Lokalisierung ändern" 68 | txtsettime="Uhrzeit ändern" 69 | txtsetrootpassword="Passwort von root ändern" 70 | 71 | txtuseutcclock="Hardwareuhr auf UTC stellen?" 72 | 73 | txtoptional="Optional" 74 | txtrecommandeasyinst="Empfohlen für eine einfache Installation" 75 | txtset="%1 einstellen" 76 | txtgenerate="Generiere %1" 77 | txtedit="%1 editieren" 78 | txtinstall="Installiere %1" 79 | txtenable="%1 aktivieren" 80 | 81 | txtgrubluksdetected="Verschlüsselte root-Partition!\n\nSoll cryptdevice= zur GRUB_CMDLINE_LINUX in /etc/default/grub hinzugefügt werden?" 82 | 83 | 84 | txtpressanykey="Drücken Sie eine beliebige Taste, um fortzufahren." 85 | 86 | txtinstallosprober="os-prober ist eine gute Lösung wenn Sie Mutli-Boot verwenden möchten.\nos-prober installieren?" 87 | txtefibootmgr="efibootmgr ist für EFI-Computer erforderlich." 88 | 89 | txtarchdidesc="Desktop-Installationsskript" 90 | txtinstallarchdi="Arch Linux Desktop Install (archdi) ist ein zweites Skript, das Ihnen helfen kann eine vollständige Desktopumgebung zu installieren.\n\nIm nächsten Menü können Sie wählen ob Sie das Skript nur starten oder ob Sie es installieren wollen.\n\nArch Linux Desktop Install hat zwei Abhängigkeiten: wget und libnewt.\n\nwget und libnewt jetzt installieren?" 91 | txtarchdiinstallandlaunch="Installieren und starten von archdi" 92 | txtarchdiinstall="archdi installieren" 93 | txtarchdilaunch="archdi starten" 94 | -------------------------------------------------------------------------------- /lng/Greek: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : Greek 5 | # translator : quelotic 6 | # notes : v.1.0 7 | 8 | 9 | locale=el_GR.UTF-8 10 | font=gr928-9x16 11 | 12 | txtexit="Έξοδος" 13 | txtback="Πίσω" 14 | txtignore="Αγνοήστε" 15 | 16 | txtselectserver="Επιλέξτε διακομιστή:" 17 | 18 | txtmainmenu="Βασικό μενού" 19 | txtlanguage="Γλώσσα" 20 | txtsetkeymap="Διάταξη πληκτρολογίου" 21 | txteditor="Επεξεργαστής κειμένου" 22 | txtdiskpartmenu="Διαμόρφωση δίσκου" 23 | txtselectpartsmenu="Επιλογή διαμερισμάτων και εγκατάσταση" 24 | txthelp="Βοήθεια" 25 | txtchangelog="Αρχείο καταγραφής αλλαγών" 26 | txtreboot="Επανεκκίνηση" 27 | 28 | txtautoparts="Αυτόματη διαμόρφωση δίσκου" 29 | txteditparts="Επεξεργασία διαμερισμάτων" 30 | 31 | txtautopartsconfirm="Επιλεγμένος δίσκος: %1\n\nΌλα τα δεδομένα θα διαγραφούν! \n\nΣυνέχεια;" 32 | 33 | txtautopartclear="Καθαρισμός όλων των δεδομένων διαμερισμάτων." 34 | txtautopartcreate="Δημιουργήθηκε διαμέρισμα %1." 35 | txthybridpartcreate="Ορίστηκε υβριδικό MBR." 36 | txtautopartsettype="Ορίστηκε τύπο διαμερίσματος %1." 37 | 38 | txtselectdevice="Επιλέξτε διαμέρισμα %1:" 39 | txtselecteddevices="Επιλεγμένα διαμερίσματα:" 40 | 41 | txtformatmountmenu="Μορφοποίηση και σύνδεση" 42 | txtformatdevices="Μορφοποίηση διαμερισμάτων" 43 | txtformatdevice="Μορφοποίηση διαμερίσματος" 44 | txtmount="Mount" 45 | txtunmount="Unmount" 46 | txtmountdesc="Σύνδεση διαμερισμάτων και εκκίνηση εγκατάστασης" 47 | 48 | txtformatdeviceconfirm="Προσοχή, όλα τα δεδομένα στα επιλεγμένα διαμερίσματα θα διαγραφούν! \nΜορφοποίηση διαμερίσματος;" 49 | 50 | txtselectpartformat="Επιλέξτε διαμέρισμα προς διαμόρφωση ως %1:" 51 | txtformatingpart="Διαμόρφωση διαμερίσματος %1 ως" 52 | txtcreateluksdevice="Δημιουργία διαμερίσματος luks:" 53 | txtopenluksdevice="Άνοιγμα διαμερίσματος luks:" 54 | txtluksdevicecreated="Το διαμέρισμα luks δημιουργήθηκε!" 55 | 56 | txtinstallmenu="Μενού εγκατάστασης" 57 | 58 | txtarchinstallmenu="Μενού εγκατάστασης Arch" 59 | 60 | txtselectmirrorsbycountry="Επιλογή καθρεπτών βάσει χώρας" 61 | txteditmirrorlist="Επεξεργασία λίστας καθρεπτών" 62 | txtinstallarchlinux="Εγκατάσταση Arch Linux" 63 | txtinstallfirmware="Εγκατάσταση Firmware" 64 | txtconfigarchlinux="Παραμετροποίηση Arch Linux" 65 | 66 | txtsethostname="Ορίστε όνομα υπολογιστή" 67 | txtsetfont="Ορίστε γραμματοσειρά" 68 | txtsetlocale="Ορίστε περιοχή" 69 | txtsettime="Ορίστε την ώρα" 70 | txtsetrootpassword="Ορίστε κωδικό διαχειριστή (root)" 71 | 72 | txtuseutcclock="Χρήση υλικού ρολοϊού UTC;" 73 | 74 | txtbootloader="Bootloader" 75 | txtbootloadermenu="Επιλέξτε τον bootloader" 76 | 77 | txtefibootmgr="Το πακέτο efibootmgr απαιτείται για υπολογιστές EFI." 78 | 79 | txtbootloadergrubmenu="Μενού εγκατάστασης Grub" 80 | txtrungrubmakeconfig="Εκτέλεση grub-mkconfig;" 81 | txtgrubluksdetected="Κρυπτογραφημένο διαμέρισμα root!\n\nΝα γίνει πρόσθεση του cryptdevice= στο GRUB_CMDLINE_LINUX στο /etc/default/grub;" 82 | 83 | txtbootloadersyslinuxmenu="Μενού εγκατάστασης Syslinux" 84 | txtsyslinuxaddefibootmgr="Το πακέτο efibootmgr απαιτείται για υπολογιστές EFI." 85 | txtsyslinuxaddgptfdisk="Το πακέτο gtpfdisk απαιτείται για δίσκο GPT" 86 | txtsyslinuxaddmtools="To πακέτο mtools απαιτείται για διαμόρφωση εκκίνησης από FAT" 87 | 88 | txtbootloaderrefindmenu="Μενού εγκατάστασης rEFInd" 89 | 90 | txtoptional="Προαιρετικό" 91 | txtrecommandeasyinst="Προτείνεται για εύκολη εγκατάσταση" 92 | txtset="Ορίστε %1" 93 | txtgenerate="Δημιουργήστε %1" 94 | txtedit="Επεξεργαστείτε %1" 95 | txtinstall="Εγκατάσταση %1" 96 | txtenable="Ενεργοποίηση %1" 97 | 98 | txtpressanykey="Πιέστε οποιοδήποτε πλήκτρο για να συνεχίσετε." 99 | 100 | txtarchdidesc="Script εγκατάστασης ολοκληρωμένης επιφάνειας εργασίας" 101 | txtinstallarchdi="Το Arch Linux Desktop Install (archdi) είναι ένα δεύτερο script το οποίο βοηθάει στην εγκατάσταση ενός ολοκληρωμένου σταθμού εργασίας.\n\nΜπορείτε να το εκτελέσετε ή και να το εγκαταστήσετε. Επιλέξτε στο επόμενο μενού.\n\nΤο Arch Linux Desktop Install έχει δύο εξαρτήσεις: το wget και το libnewt.\n\nΝα γίνει εγκατάσταση με: 'pacstrap wget libnewt';" 102 | txtarchdiinstallandlaunch="Εγκατάσταση και εκτέλεση archdi" 103 | txtarchdiinstall="Εγκατάσταση archdi" 104 | txtarchdilaunch="Εκτέλεση archdi" 105 | -------------------------------------------------------------------------------- /lng/Hungarian: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : Hungarian 5 | # translator : Laszlo Espadas (kardiweb@fedoraproject.org) 6 | # notes : Fejlesztés alatt! 7 | 8 | 9 | locale=hu_HU.UTF-8 10 | font=lat2-16 11 | 12 | 13 | txtexit="Kilépés" 14 | txtback="Vissza" 15 | txtignore="Mellőzés" 16 | 17 | txtselectserver="Forrás szerver kiválasztása :" 18 | 19 | txtmainmenu="Főmenü" 20 | txtlanguage="Nyelv" 21 | txtsetkeymap="Billentyűzet kiosztás" 22 | txteditor="Szerkesztő" 23 | txtdiskpartmenu="Lemezek/Partíciók" 24 | txtselectpartsmenu="Partíciók kiválasztása és telepítés" 25 | txthelp="Súgó" 26 | txtchangelog="Változásnapló" 27 | txtreboot="Újraindítás" 28 | 29 | txtautoparts="Automatikus partícionálás" 30 | txteditparts="Partíciók szerkesztése" 31 | 32 | txtautopartsconfirm="Kiválasztott lemezek : %1\n\nMinden adat el fog veszni ! \n\nFolytatjuk ?" 33 | 34 | txtautopartclear="Minden partíció adat törlése" 35 | txtautopartcreate="%1 partíció létrehozása" 36 | txthybridpartcreate="Hybrid MBR használata" 37 | txtautopartsettype="%1 partíció típus használata" 38 | 39 | txtselectdevice="%1 lemez kiválasztása :" 40 | txtselecteddevices="Kiválasztott lemezek :" 41 | 42 | txtformatmountmenu="Formázás és Csatolás" 43 | txtformatdevices="Lemezek formázása" 44 | txtformatdevice="Lemez formázása" 45 | txtmount="Csatolás" 46 | txtunmount="Lecsatolás" 47 | txtmountdesc="Telepítés vagy Beállítás" 48 | 49 | txtformatdeviceconfirm="Figyelem! Minden partíció és adat el fog veszni a lemezről ! \nFormázzuk a lemezeket ?" 50 | 51 | txtselectpartformat="%1 partíció formátum kiválasztása :" 52 | txtformatingpart="%1 partíció formázása:" 53 | txtcreateluksdevice="Luks eszköz létrehozása :" 54 | txtopenluksdevice="Luks eszköz megnyitása :" 55 | txtluksdevicecreated="Luks eszköz létrehozásra került !" 56 | 57 | txtinstallmenu="Telepítő menü" 58 | 59 | txtarchinstallmenu="Arch Telepítő menü" 60 | txtrungrubmakeconfig="grub-mkconfig futtatása ?" 61 | 62 | txteditmirrorlist="Edit mirrorlist" 63 | txtinstallarchlinux="Arch Linux telepítés" 64 | txtconfigarchlinux="Arch Linux beállítások" 65 | 66 | txtsethostname="Számítógépnév" 67 | txtsetlocale="Nyelv" 68 | txtsettime="Dátum/Idő" 69 | txtsetrootpassword="Root jelszó" 70 | 71 | txtuseutcclock=" UTC hardware óra használata ?" 72 | 73 | txtoptional="Tetszőleges" 74 | txtrecommandeasyinst="Ajánlott alkalmazások egyszerű telepítése" 75 | txtset="%1 kiválasztása" 76 | txtgenerate="%1 generálás" 77 | txtedit="%1 szerkesztés" 78 | txtinstall="%1 telepítés" 79 | txtenable="%1 engedélyezés" 80 | 81 | txtgrubluksdetected="Titkosított root partíció !\n\ncryptdevice= GRUB_CMDLINE_LINUX a következőhöz: /etc/default/grub ?" 82 | 83 | 84 | txtpressanykey="Nyomjunk meg egy gombot a folytatáshoz." 85 | 86 | txtinstallosprober="Az os-prober egy jó megoldás ha szeretnénk használni más operációs rendszert is a számítógépen.\n os-prober telepítés ?" 87 | txtefibootmgr="efibootmgr használata kötelező az efi-t használó számítógépekhez." 88 | 89 | txtarchdidesc="Teljes asztal telepítő szkript" 90 | txtinstallarchdi="Arch Linux Asztal Telepítés (archdi) egy teljes asztal telepítő szkript ami pár perc alatt segít felépíteni egy teljes asztali környezetet/munkaállomást.\n\nA szkriptet el lehet indítani és telepít is. Válasszuk ki a következő menüt.\n\nArch Linux Asztal Telepítéshez szükség van két fontos függőségre : wget és libnewt.\n\npacstrap wget libnewt ?" 91 | txtarchdiinstallandlaunch="archdi telepítés és indítás" 92 | txtarchdiinstall="archdi telepítés" 93 | txtarchdilaunch="archdi indítás" 94 | -------------------------------------------------------------------------------- /lng/Italian: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : Italian 5 | # translator : Andrea Somaini 6 | # notes : Traduzione in italiano 7 | 8 | 9 | locale=it_IT.UTF-8 10 | 11 | 12 | txtexit="Esci" 13 | txtback="Indietro" 14 | txtignore="Ignora" 15 | 16 | txtselectserver="Seleziona un server sorgente :" 17 | 18 | txtmainmenu="Menu Principale" 19 | txtlanguage="Linguaggio" 20 | txtsetkeymap="Imposta Layout di tastiera" 21 | txteditor="Editor" 22 | txtdiskpartmenu="Partizioni del disco" 23 | txtselectpartsmenu="Seleziona partizione e installa" 24 | txthelp="Aiuto" 25 | txtchangelog="Changelog" 26 | txtreboot="Riavvia" 27 | 28 | txtautoparts="Partizioni automatiche" 29 | txteditparts="Partizioni manuali" 30 | 31 | txtautopartsconfirm="Selezione dispositivo : %1\n\nTutti i dati saranno cancellati ! \n\nContinuare ?" 32 | 33 | txtautopartclear="Cancella i dati di tutte le partizioni" 34 | txtautopartcreate="Crea partizione %1" 35 | txthybridpartcreate="Imposta MBR ibrido" 36 | txtautopartsettype="Seleziona tipo partizione per %1" 37 | 38 | txtselectdevice="Seleziona dispositivo %1 :" 39 | txtselecteddevices="Seleziona dispositivi :" 40 | 41 | txtformatmountmenu="Formatta e monta" 42 | txtformatdevices="Formatta dispositivi" 43 | txtformatdevice="Formatta dispositivo" 44 | txtmount="Monta" 45 | txtunmount="Smonta" 46 | txtmountdesc="Installa o configura" 47 | 48 | txtformatdeviceconfirm="Attenzione, tutti i dati nei dispositivi selezionati saranno cancellati ! \nFormattare i dispositivi ?" 49 | 50 | txtselectpartformat="Seleziona formato dispositivo %1 :" 51 | txtformatingpart="Formattando %1 come" 52 | txtcreateluksdevice="Crea dispositivo luks :" 53 | txtopenluksdevice="Apri dispositivo luks :" 54 | txtluksdevicecreated="Dispositivo luks creato !" 55 | 56 | txtinstallmenu="Menu di installazione" 57 | 58 | txtarchinstallmenu="Menu di installazione di Arch" 59 | txtrungrubmakeconfig="Eseguire grub-mkconfig ?" 60 | 61 | txteditmirrorlist="Modifica mirrorlist" 62 | txtinstallarchlinux="Installa Arch Linux" 63 | txtconfigarchlinux="Configura Arch Linux" 64 | 65 | txtsethostname="Imposta nome computer" 66 | txtsetfont="Imposta font" 67 | txtsetlocale="Imposta locale" 68 | txtsettime="Imposta ora" 69 | txtsetrootpassword="Imposta password di root" 70 | 71 | txtuseutcclock="Usare orologo hardware UTC ?" 72 | 73 | txtoptional="Opzionale" 74 | txtrecommandeasyinst="Raccomandato per installazioni semplici" 75 | txtset="Imposta %1" 76 | txtgenerate="Genera %1" 77 | txtedit="Edit %1" 78 | txtinstall="Installa %1" 79 | txtenable="Abilita %1" 80 | 81 | txtgrubluksdetected="Partizione di root criptata !\n\nAggiungere il dispositivo criptato in GRUB_CMDLINE_LINUX in /etc/default/grub ?" 82 | 83 | txtpressanykey="Premi un tasto per continuare." 84 | 85 | txtinstallosprober="os-prober serve per le soluzioni multi-boot.\nInstallare os-prober ?" 86 | txtefibootmgr="efibootmgr e' necessario per computer efi." 87 | 88 | txtarchdidesc="Script di installazione di desktop completo" 89 | txtinstallarchdi="Arch Linux Desktop Install (archdi) e' uno script secondario che ti aiuta a installare tutti i software necessari.\n\nPuoi installare lo script o lanciarlo. Scegli nel prossimo menu.\n\nArch Linux Desktop Install ha due dipendenze : wget e libnewt.\n\npacstrap wget libnewt (vuoi installare queste dipendenze) ?" 90 | txtarchdiinstallandlaunch="Installa e lancia archdi" 91 | txtarchdiinstall="Installa archdi" 92 | txtarchdilaunch="Lancia archdi" 93 | -------------------------------------------------------------------------------- /lng/Norwegian: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : Norwegian 5 | # translator : mrboen94 (pseudo, name or e-mail.) 6 | # notes : misc text... 7 | 8 | 9 | 10 | locale=en_US.UTF-8 11 | #font= 12 | 13 | txtexit="Avslutt" 14 | txtback="Tilbake" 15 | txtignore="Ignorer" 16 | 17 | txtselectserver="Velg kilde server :" 18 | 19 | txtmainmenu="Hovedmeny" 20 | txtlanguage="Språk" 21 | txtsetkeymap="Sett tastaturlayout" 22 | txteditor="Teksteditor" 23 | txtdiskpartmenu="Disk Partisjoner" 24 | txtselectpartsmenu="Velg Partisjoner og installer" 25 | txthelp="Hjelp" 26 | txtchangelog="Endringslogg" 27 | txtreboot="Restart" 28 | 29 | txtautoparts="Auto Partisjonering" 30 | txteditparts="Endre Partisjoner" 31 | 32 | txtautopartsconfirm="Valgt Enhet : %1\n\nAlle data vil bli slettet ! \n\nFortsett ?" 33 | 34 | txtautopartclear="Fjern all partisjoneringsdata" 35 | txtautopartcreate="Sett %1 partisjon" 36 | txthybridpartcreate="Sett hybrid MBR" 37 | txtautopartsettype="Sett %1 partition type" 38 | 39 | txtselectdevice="Velg %1 Enhet :" 40 | txtselecteddevices="Velg Enheter :" 41 | 42 | txtformatmountmenu="Formater og Monter" 43 | txtformatdevices="Formater Enheter" 44 | txtformatdevice="Format Device" 45 | txtmount="Monter" 46 | txtunmount="Avmonter" 47 | txtmountdesc="Installer eller Konfigurer" 48 | 49 | txtformatdeviceconfirm="Advarsel, all data på de Valgte Enhetene vil bli Slettet ! \nFortsett Formatering ?" 50 | 51 | txtselectpartformat="Velg Partisjonsformat for %1 :" 52 | txtformatingpart="Formaterer partisjon %1 som" 53 | txtcreateluksdevice="Lag en luks Enhet :" 54 | txtopenluksdevice="Åpne luks Enhet :" 55 | txtluksdevicecreated="luks Enhet oprettet !" 56 | 57 | txtinstallmenu="Installeringsmeny" 58 | 59 | txtarchinstallmenu="Arch Installeringsmeny" 60 | 61 | txteditmirrorlist="Rediger Speillisten" 62 | txtinstallarchlinux="Installer Arch Linux" 63 | txtconfigarchlinux="Configurer Arch Linux" 64 | 65 | txtsethostname="Sett datamaskinnavn" 66 | txtsetfont="Sett Font" 67 | txtsetlocale="Sett Locale" 68 | txtsettime="Sett Tid" 69 | txtsetrootpassword="Sett root passord" 70 | 71 | txtuseutcclock="Bruk UTC Maskinvare klokke ?" 72 | 73 | txtbootloader="Bootloader" 74 | txtbootloadermenu="Velg din bootloader" 75 | 76 | txtefibootmgr="efibootmgr er nødvendig for EFI datamaskiner." 77 | 78 | txtbootloadergrubmenu="Grub Installerings Meny" 79 | txtrungrubmakeconfig="Kjør grub-mkconfig ?" 80 | txtgrubluksdetected="Kryptert root partisjon !\n\nLegg cryptdevice= til GRUB_CMDLINE_LINUX i /etc/default/grub ?" 81 | 82 | txtbootloadersyslinuxmenu="Syslinux Installerings Meny" 83 | txtsyslinuxaddefibootmgr="EFI installasjon trenger efibootmgr" 84 | txtsyslinuxaddgptfdisk="GPT disk trenger gptfdisk" 85 | txtsyslinuxaddmtools="FAT boot partisjon trenger mtools" 86 | 87 | txtbootloaderrefindmenu="rEFInd Installerings Meny" 88 | 89 | txtoptional="Valgfritt" 90 | txtrecommandeasyinst="Anbefalt for enkel installering" 91 | txtset="Sett %1" 92 | txtgenerate="Generer %1" 93 | txtedit="Endre %1" 94 | txtinstall="Installer %1" 95 | txtenable="Skru på %1" 96 | 97 | txtpressanykey="Trykk en tast for å fortsette." 98 | 99 | txtarchdidesc="Fult installerings-script" 100 | txtinstallarchdi="Arch Linux Desktop Install (archdi) er et annet script som kan hjelpe deg å installere en full arbeidsstasjon.\n\nDu kan bare kjøre scriptet eller installere det. Velg i den neste menyen.\n\nArch Linux Desktop Install som to avhengigheter : wget og libnewt.\n\npacstrap wget libnewt ?" 101 | txtarchdiinstallandlaunch="Installer og kjør archdi" 102 | txtarchdiinstall="Installer archdi" 103 | txtarchdilaunch="Kjør archdi" 104 | -------------------------------------------------------------------------------- /lng/Polish: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : Polish 5 | # translator : dawidd6 (dawidd0811@gmail.com) 6 | # notes : Version 0.1 7 | 8 | 9 | locale=pl_PL.UTF-8 10 | font=lat2-16 11 | 12 | 13 | txtexit="Wyjdź" 14 | txtback="Cofnij" 15 | txtignore="Ignoruj" 16 | 17 | txtselectserver="Wybierz serwer źródłowy :" 18 | 19 | txtmainmenu="Główne menu" 20 | txtlanguage="Język" 21 | txtsetkeymap="Ustaw układ klawiatury" 22 | txteditor="Edytor" 23 | txtdiskpartmenu="Partycje dysku" 24 | txtselectpartsmenu="Wybierz partycje i zainstaluj" 25 | txthelp="Pomoc" 26 | txtchangelog="Lista zmian" 27 | txtreboot="Restart systemu" 28 | 29 | txtautoparts="Automatyczne partycje" 30 | txteditparts="Edytuj partycje" 31 | 32 | txtautopartsconfirm="Wybrane urządzenie : %1\n\nWszystkie dane zostaną usunięte ! \n\nKontynuować ?" 33 | 34 | txtautopartclear="Wyczyść wszystkie dane partycji" 35 | txtautopartcreate="Utwórz %1 partycje" 36 | txthybridpartcreate="Ustaw hybrydowy MBR" 37 | txtautopartsettype="Ustaw %1 typ partycji" 38 | 39 | txtselectdevice="Wybierz %1 urządzenie :" 40 | txtselecteddevices="Wybrane urządzenia :" 41 | 42 | txtformatmountmenu="Sformatuj i zamontuj" 43 | txtformatdevices="Sformatuj urządzenia" 44 | txtformatdevice="Sformatuj urządzenie" 45 | txtmount="Zamontuj" 46 | txtunmount="Odmontuj" 47 | txtmountdesc="Zainstaluj lub konfiguruj" 48 | 49 | txtformatdeviceconfirm="Uwaga, wszystkie dane zapisane na wybranych urządzeniach zostaną usunięte ! \nSformatować urządzenia ?" 50 | 51 | txtselectpartformat="Wybierz format partycji dla %1 :" 52 | txtformatingpart="Formatowanie partycji %1 jako" 53 | txtcreateluksdevice="Utwórz urządzenie LUKS :" 54 | txtopenluksdevice="Otwórz urządzenie LUKS :" 55 | txtluksdevicecreated="Urządzenie LUKS utworzone !" 56 | 57 | txtinstallmenu="Menu Instalacji" 58 | 59 | txtarchinstallmenu="Menu instalacji Arch'a" 60 | txtrungrubmakeconfig="Uruchomić grub-mkconfig ?" 61 | 62 | txteditmirrorlist="Edytuj listę mirrorów" 63 | txtinstallarchlinux="Zainstaluj Arch Linuksa" 64 | txtconfigarchlinux="Skonfiguruj Arch Linuksa" 65 | 66 | txtsethostname="Ustaw nazwę komputera" 67 | txtsetfont="Ustaw czcionkę" 68 | txtsetlocale="Ustaw lokalizację" 69 | txtsettime="Ustaw czas" 70 | txtsetrootpassword="Ustaw hasło root'a" 71 | 72 | txtuseutcclock="Użyć hardware'owego zegara UTC ?" 73 | 74 | txtoptional="Opcjonalne" 75 | txtrecommandeasyinst="Zalecane dla łatwej instalacji" 76 | txtset="Ustaw %1" 77 | txtgenerate="Generuj %1" 78 | txtedit="Edytuj %1" 79 | txtinstall="Instaluj %1" 80 | txtenable="Aktywuj %1" 81 | 82 | txtgrubluksdetected="Zaszyfrowana główna partycja !\n\nDodać cryptdevice= do GRUB_CMDLINE_LINUX w /etc/default/grub ?" 83 | 84 | 85 | txtpressanykey="Wciśnij dowolny przycisk, aby kontynuować." 86 | 87 | txtinstallosprober="os-prober to dobre rozwiązanie jeśli chcesz korzystać z multi-boot'a.\nZainstalować os-prober ?" 88 | txtefibootmgr="efibootmgr jest wymagane dla komputera z EFI." 89 | 90 | txtarchdidesc="Pełny desktopowy skrypt instalacyjnyFull" 91 | txtinstallarchdi="Arch Linux Desktop Install (archdi) to drugi skrypt, który pomoże ci w instalacji pełnego środowiska pracy.\n\nMożesz po prostu uruchomić skrypt i zainstalować. Wybierz w następnym menu.\n\nArch Linux Desktop Install ma dwie zależlności : wget i libnewt.\n\nZainstalować : wget libnewt ?" 92 | txtarchdiinstallandlaunch="Zainstaluj i uruchom archdi" 93 | txtarchdiinstall="Instalacja archdi" 94 | txtarchdilaunch="Uruchom archdi" 95 | -------------------------------------------------------------------------------- /lng/Portuguese: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : Portuguese 5 | # translator : Hugo Carvalho aka hugok (hugokarvalho@gmail.com) 6 | # notes : Versão 0.1 7 | 8 | 9 | 10 | locale=pt_PT.UTF-8 11 | font=Lat0-16 12 | 13 | txtexit="Sair" 14 | txtback="Voltar" 15 | txtignore="Ignorar" 16 | 17 | txtselectserver="Selecionar servidor de origem :" 18 | 19 | txtmainmenu="Menu Principal" 20 | txtlanguage="Idioma" 21 | txtsetkeymap="Definir esquema de teclado" 22 | txteditor="Editor" 23 | txtdiskpartmenu="Partições de Disco" 24 | txtselectpartsmenu="Selecionar Partições e Instalar" 25 | txthelp="Ajuda" 26 | txtchangelog="Registo de Alterações" 27 | txtreboot="Reiniciar" 28 | 29 | txtautoparts="Particionar Automaticamente" 30 | txteditparts="Editar Partições" 31 | 32 | txtautopartsconfirm="Dispositivo selecionado : %1\n\nTodos os dados serão apagados ! \n\nContinuar ?" 33 | 34 | txtautopartclear="Limpar todos os dados da partição" 35 | txtautopartcreate="Criar partição %1" 36 | txthybridpartcreate="Definir MBR híbrido" 37 | txtautopartsettype="Definir o tipo da partição %1" 38 | 39 | txtselectdevice="Selecione o dispositivo %1 :" 40 | txtselecteddevices="Dispositivos selecionados :" 41 | 42 | txtformatmountmenu="Formatar e Montar" 43 | txtformatdevices="Formatar Dispositivos" 44 | txtformatdevice="Formatar Dispositivo" 45 | txtmount="Montar" 46 | txtunmount="Desmontar" 47 | txtmountdesc="Instalar ou Configurar" 48 | 49 | txtformatdeviceconfirm="Aviso, todos os dados nas partições selecionadas serão apagados ! \nFormatar dispositivos ?" 50 | 51 | txtselectpartformat="Selecionar o formato da partição para %1 :" 52 | txtformatingpart="A Formatar partição %1 como" 53 | txtcreateluksdevice="Criar dispositivo luks :" 54 | txtopenluksdevice="Abrir dispositivo luks :" 55 | txtluksdevicecreated="dispositivo luks criado !" 56 | 57 | txtinstallmenu="Menu de Instalação" 58 | 59 | txtarchinstallmenu="Menu de Instalação do Arch" 60 | 61 | txtselectmirrorsbycountry="Selecione espelhos por país" 62 | txtselectcountry="Selecione o país" 63 | txteditmirrorlist="Editar lista de espelhos" 64 | txtinstallarchlinux="Instalar o Arch Linux" 65 | txtinstallarchlinuxkernel="Kernel" 66 | txtinstallarchlinuxfirmwares="Firmwares" 67 | txtinstallarchlinuxfilesystems="Sistema de ficheiros" 68 | txtinstallarchlinuxcustompackagelist="Lista de pacotes personalizada" 69 | txtconfigarchlinux="Configurar o Arch Linux" 70 | 71 | txtsethostname="Definir o nome do computador" 72 | txtsetfont="Definir tipo de letra" 73 | txtsetlocale="Definir Localização" 74 | txtsettime="Definir hora" 75 | txtsetrootpassword="Definir palavra-passe de root" 76 | 77 | txthwclock="Relógio do equipamento :" 78 | txthwclockutc="UTC" 79 | txthwclocklocal="Local" 80 | 81 | txtbootloader="Carregador de arranque" 82 | txtbootloadermenu="Escolha o seu carregador de arranque" 83 | 84 | txtefibootmgr="efibootmgr é necessário para computadores com EFI." 85 | 86 | txtbootloadergrubmenu="Menu de instalação Grub" 87 | txtrungrubmakeconfig="Executar o grub-mkconfig ?" 88 | txtgrubluksdetected="Partição root encriptada !\n\nAdicionar cryptdevice= a GRUB_CMDLINE_LINUX em /etc/default/grub ?" 89 | 90 | txtbootloadersyslinuxmenu="Menu de instalação Syslinux" 91 | txtsyslinuxaddefibootmgr="A instalação da EFI requer o efibootmgr" 92 | txtsyslinuxaddgptfdisk="O disco GPT requer o gptfdisk" 93 | txtsyslinuxaddmtools="Parte do arranque FAT requer mtools" 94 | 95 | txtbootloadersystemdmenu="Menu instalação do Systemd-boot" 96 | 97 | txtbootloaderrefindmenu="Menu de instalação rEFInd" 98 | 99 | txtextrasmenu="Extras" 100 | 101 | txtoptional="Opcional" 102 | txtrecommandeasyinst="Recomendado para instalação fácil" 103 | txtset="Definir %1" 104 | txtgenerate="Gerar %1" 105 | txtedit="Editar %1" 106 | txtinstall="Instalar %1" 107 | txtenable="Ativar %1" 108 | 109 | txtpressanykey="Pressione qualquer tecla para continuar." 110 | 111 | txtarchdidesc="Instalação completa do ambiente de trabalho" 112 | txtinstallarchdi="Arch Linux Desktop Install (archdi) é um segundo script que pode ajudar-te a instalar uma estação de trabalho completa.\n\nVocê pode executar o script ou instalá-lo. Escolha no próximo menu.\n\nO Arch Linux Desktop Install possui duas dependências : wget e libnewt.\n\npacstrap wget libnewt ?" 113 | txtarchdiinstallandlaunch="Instalar e executar o archdi" 114 | txtarchdiinstall="Instalar o archdi" 115 | txtarchdilaunch="Executar o archdi" 116 | -------------------------------------------------------------------------------- /lng/README.md: -------------------------------------------------------------------------------- 1 | # Translations 2 | 3 | Translations is simple: 4 | 5 | - fork the project. 6 | - create your language file. 7 | - pull Request your change. 8 | - you can test your change with the next command: 9 | 10 | ``` 11 | sh archfi -t {githubusername} {branchname} 12 | ``` 13 | 14 | As exemple: 15 | 16 | ``` 17 | sh archfi -t matmoul master 18 | ``` 19 | -------------------------------------------------------------------------------- /lng/Russian: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : Russian 5 | # translator : anonymous_prodject 6 | # notes : v.1.1 7 | 8 | 9 | locale=ru_RU.UTF-8 10 | font=cyr-sun16 11 | 12 | 13 | #txtexit="Exit" 14 | #txtback="Back" 15 | #txtignore="Ignore" 16 | 17 | txtselectserver="Выберите сервер исходников :" 18 | 19 | txtmainmenu="Главное меню" 20 | txtlanguage="Выбор языка" 21 | txtsetkeymap="Установка раскладки клавиатуры" 22 | txteditor="Выбор редактора текста" 23 | txtdiskpartmenu="Редактирование разделов" 24 | txtselectpartsmenu="Выбор разделов для установки и установка" 25 | txthelp="Помощь" 26 | txtchangelog="Лог" 27 | txtreboot="Перезагрузка" 28 | 29 | txtautoparts="Автоматическая разметка" 30 | txteditparts="Редактирование разделов" 31 | 32 | txtautopartsconfirm="Выбранное устройство : %1\n\nВсе данные будут удалены ! \n\nПродолжить ?" 33 | 34 | txtautopartclear="Очистить все данные на разделе" 35 | txtautopartcreate="Создание раздела %1" 36 | txthybridpartcreate="Выбрать структуру MBR" 37 | txtautopartsettype="Выбрать тип раздела %1" 38 | 39 | txtselectdevice="Выберите раздел %1 :" 40 | txtselecteddevices="Выбранные разделы :" 41 | 42 | txtformatmountmenu="Форматирование и монтирование" 43 | txtformatdevices="Форматирование разделов" 44 | txtformatdevice="Форматирование раздела" 45 | txtmount="Монтирование" 46 | #txtunmount="Unmount" 47 | txtmountdesc="Установка или настройка" 48 | 49 | txtformatdeviceconfirm="Внимание, все данные на выбранных разделах будут удалены ! \nФорматировать разделы ?" 50 | 51 | txtselectpartformat="Выберите формат раздела %1 :" 52 | txtformatingpart="Форматировать раздел %1 как" 53 | txtcreateluksdevice="Создать luks устройство :" 54 | txtopenluksdevice="Открытиь luks устройство :" 55 | txtluksdevicecreated="Luks устройство создано!" 56 | 57 | txtinstallmenu="Настройка" 58 | 59 | txtarchinstallmenu="Меню настройки Arch Linux" 60 | txtrungrubmakeconfig="Создать grub-mkconfig ?" 61 | 62 | txteditmirrorlist="Редактор mirrorlist" 63 | txtinstallarchlinux="Установка Arch Linux" 64 | txtconfigarchlinux="Настройка Arch Linux" 65 | 66 | txtsethostname="Установка имени системы" 67 | txtsetlocale="Установка локации" 68 | txtsettime="Установка времени" 69 | txtsetrootpassword="Установка пароля root" 70 | 71 | txtuseutcclock="Использовать UTC в аппаратных часах ?" 72 | 73 | txtoptional="Дополнительно" 74 | txtrecommandeasyinst="Рекомендуется для быстрой установки" 75 | txtset="Установить %1" 76 | txtgenerate="Генерировать %1" 77 | txtedit="Редактировать %1" 78 | txtinstall="Установка %1" 79 | txtenable="Включить %1" 80 | 81 | txtgrubluksdetected="Раздел зашифрован !\n\nДобавить cryptdevice= в GRUB_CMDLINE_LINUX в /etc/default/grub ?" 82 | 83 | 84 | txtpressanykey="Нажмите любую клавишу для продолжения." 85 | 86 | txtinstallosprober="os-prober необходим для загрузки нескольких систем.\nУстановить os-prober ?" 87 | txtefibootmgr="efibootmgr необходим для поддержки EFI." 88 | 89 | txtarchdidesc="Установка рабочего окружения" 90 | txtinstallarchdi="Arch Linux Desktop поможет установить рабочее окружение.\n\nВы хотите запустить установщик?. \n\nУстановщик имеет следующие зависимости : wget and libnewt.\n\npacstrap wget libnewt ?" 91 | txtarchdiinstallandlaunch="Установить и запустить archdi" 92 | txtarchdiinstall="Установка archdi" 93 | txtarchdilaunch="Запуск archdi" 94 | -------------------------------------------------------------------------------- /lng/Spanish: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : Español 5 | # translator : Mystogab (gabriel.desimone@mail.com) and pebeto (joseesparza@sdf.org) 6 | # notes : Versión 0.3. Corrections and neutralization of the language. 7 | 8 | 9 | locale=es_ES.UTF-8 10 | #font= 11 | 12 | 13 | txtexit="Salir" 14 | txtback="Atrás" 15 | txtignore="Ignorar" 16 | 17 | txtselectserver="Seleccionar el servidor de origen :" 18 | 19 | txtmainmenu="Menú Principal" 20 | txtlanguage="Lenguaje" 21 | txtsetkeymap="Seleccionar disposición del teclado" 22 | txteditor="Editor" 23 | txtdiskpartmenu="Particiones del disco" 24 | txtselectpartsmenu="Seleccionar particiones e instalar" 25 | txthelp="Ayuda" 26 | txtchangelog="Registro de cambios" 27 | txtreboot="Reiniciar" 28 | 29 | txtautoparts="Particionar automáticamente" 30 | txteditparts="Editar particiones" 31 | 32 | txtautopartsconfirm="Unidad seleccionada: %1\n\n¡Todos los datos serán eliminados! \n\n¿ Continuar ?" 33 | 34 | txtautopartclear="Borrar los datos de las particiones" 35 | txtautopartcreate="Crear la partición %1" 36 | txthybridpartcreate="Establecer el MBR como híbrido" 37 | txtautopartsettype="Establecer el tipo de particion para %1" 38 | 39 | txtselectdevice="Seleccionar el dispositivo %1 :" 40 | txtselecteddevices="Dispositivos seleccionados:" 41 | 42 | txtformatmountmenu="Formatear y montar" 43 | txtformatdevices="Formatear particiones" 44 | txtformatdevice="Formatear particion" 45 | txtmount="Montar" 46 | txtunmount="Desmontar" 47 | txtmountdesc="Instalar o Configurar" 48 | 49 | txtformatdeviceconfirm="¡ Advertencia !, todos los datos en las particiones seleccionadas serán eliminados \n¿ Formatear las particiones ?" 50 | 51 | txtselectpartformat="Seleccionar formato de partición para %1 :" 52 | txtformatingpart="Formateando partición %1 como" 53 | txtcreateluksdevice="Crear partición luks:" 54 | txtopenluksdevice="Abrir partición luks:" 55 | txtluksdevicecreated="¡ La partición luks ha sido creada !" 56 | 57 | txtinstallmenu="Menú de Instalación" 58 | 59 | txtarchinstallmenu="Menú de instalación de Arch" 60 | txtrungrubmakeconfig="¿ Ejecutar grub-mkconfig ?" 61 | 62 | txteditmirrorlist="Editar mirrorlist" 63 | txtinstallarchlinux="Instalar Arch Linux" 64 | txtconfigarchlinux="Configurar Arch Linux" 65 | 66 | txtsethostname="Establecer el nombre de la computadora" 67 | txtsetlocale="Establecer localización" 68 | txtsettime="Establecer la hora" 69 | txtsetrootpassword="Establecer la contraseña del root" 70 | 71 | txtuseutcclock="¿ Utilizar el reloj UTC del hardware ? " 72 | 73 | txtoptional="Opcional" 74 | txtrecommandeasyinst="Recomendado para instalación fácil" 75 | txtset="Establecer %1" 76 | txtgenerate="Generar %1" 77 | txtedit="Editar %1" 78 | txtinstall="Instalar %1" 79 | txtenable="Activar %1" 80 | 81 | txtgrubluksdetected="Partición root encriptada\n\n¿ Agregar cryptdevice= a GRUB_CMDLINE_LINUX en /etc/default/grub ?" 82 | 83 | 84 | txtpressanykey="Presione cualquier tecla para continuar." 85 | 86 | txtinstallosprober="os-prober es una buena solución si quieres usar multi-boot.\n¿ Instalar os-prober ?" 87 | txtefibootmgr="se requiere efibootmgr para computadoras EFI." 88 | 89 | txtarchdidesc="Script de instalación completa de escritorio" 90 | txtinstallarchdi="Arch Linux Desktop Install (archdi) es un script secundario que puede ayudarte a instalar una completa estación de trabajo.\n\nPuedes ejecutar el script o instalarlo. Elige en el siguiente menú.\n\nArch Linux Desktop Install posee dos dependencias : wget y libnewt.\n\npacstrap wget libnewt ?" 91 | txtarchdiinstallandlaunch="Instalar y ejecutar archdi" 92 | txtarchdiinstall="Instalar archdi" 93 | txtarchdilaunch="Ejecutar archdi" 94 | -------------------------------------------------------------------------------- /lng/Turkish: -------------------------------------------------------------------------------- 1 | # Arch Linux Fast Install (archfi) 2 | # -------------------------------- 3 | # project : https://github.com/MatMoul/archfi 4 | # language : Turkish 5 | # translator : c0b41 (cobaimelan@protonmail.ch) 6 | # notes : current translation 7 | 8 | 9 | locale=tr_TR.UTF-8 10 | font=LatArCyrHeb-16 11 | 12 | 13 | txtexit="Çıkış" 14 | txtback="Geri" 15 | txtignore="Yoksay" 16 | 17 | txtselectserver="Kaynak için yansı sunucu seç:" 18 | 19 | txtmainmenu="Ana Menü" 20 | txtlanguage="Dil" 21 | txtsetkeymap="Klavye düzenini seç" 22 | txteditor="Düzenleyici" 23 | txtdiskpartmenu="Disk bölümleme" 24 | txtselectpartsmenu="Bölümleri seç" 25 | txthelp="Yardım" 26 | txtchangelog="Değişiklikler" 27 | txtreboot="Yeniden başlat" 28 | 29 | txtautoparts="Otomatik bölümle" 30 | txteditparts="Bölümleri düzenle" 31 | 32 | txtautopartsconfirm="Seçilen cihaz: %1\n\nTüm verileriniz silenecek! \n\nDevam?" 33 | 34 | txtautopartclear="Tüm bölüm verilerini temizle" 35 | txtautopartcreate="%1 bölümü oluştur" 36 | txthybridpartcreate="Karma MBR oluştur" 37 | txtautopartsettype="Bölüm türünü %1 olarak ayarla" 38 | 39 | txtselectdevice="%1 bölümü seç:" 40 | txtselecteddevices="Seçilen bölümler:" 41 | 42 | txtformatmountmenu="Biçimlendir ve bağla" 43 | txtformatdevices="Cihazları biçimlendir" 44 | txtformatdevice="Cihazı biçimlendir" 45 | txtmount="Bağla" 46 | txtunmount="Bağı ayır" 47 | txtmountdesc="Bölümleri bağlayıp kuruluma devam edin" 48 | 49 | txtformatdeviceconfirm="Uyarı, seçilen cihazlardaki tüm veriler silinecektir! \n Cihazları biçimlendir?" 50 | 51 | txtselectpartformat="%1 sürücüsü için bölüm biçimini seç:" 52 | txtformatingpart="%1 bölümünü biçimlendir" 53 | txtcreateluksdevice="LUKS sürücüsü oluştur:" 54 | txtopenluksdevice="LUKS sürücüsü aç:" 55 | txtluksdevicecreated="LUKS sürücüsü oluşturuldu!" 56 | 57 | txtinstallmenu="Kurulum Menüsü" 58 | 59 | txtarchinstallmenu="Arch Kurulum Menüsü" 60 | 61 | txteditmirrorlist="Sunucu yansı listesini düzenle" 62 | txtinstallarchlinux="Arch Linux Kur" 63 | txtconfigarchlinux="Arch Linux Ayalar" 64 | 65 | txtsethostname="Bilgisayar adını gir" 66 | txtsetfont="Yazı tipini seç" 67 | txtsetlocale="Konum seç" 68 | txtsettime="Zamanı seç" 69 | txtsetrootpassword="Kök parolasını belirle" 70 | 71 | txtuseutcclock="UTC donanım saatini kullan?" 72 | 73 | txtbootloader="Önyükleyici" 74 | txtbootloadermenu="Önyükleyiciyi seç" 75 | 76 | txtefibootmgr="efibootmgr UEFI bilgisayar için gereklidir." 77 | 78 | txtbootloadergrubmenu="Grub Kurulum Menüsü" 79 | txtrungrubmakeconfig="grub-mkconfig çalıştır ?" 80 | txtgrubluksdetected="Kök bölümü şifrelendi! \n\ cryptdevice= ve GRUB_CMDLINE_LINUX içerisine /etc/default/grub ekle?" 81 | 82 | txtbootloadersyslinuxmenu="Syslinux Kurulum Menüsü" 83 | txtsyslinuxaddefibootmgr="EFI kurulumu efibootmgr gerektirir" 84 | txtsyslinuxaddgptfdisk="GPT diski gptfdisk gerektirir" 85 | txtsyslinuxaddmtools="FAT önyükleme bölümü mtools gerektirir" 86 | 87 | txtbootloaderrefindmenu="rEFInd Kurulum Menüsü" 88 | 89 | txtoptional="İsteğe Bağlı" 90 | txtrecommandeasyinst="Önerilen kolay kurulum" 91 | txtset="%1 Belirle" 92 | txtgenerate="%1 Oluştur" 93 | txtedit="%1 Düzenle" 94 | txtinstall="%1 Kur" 95 | txtenable="%1 Etkinleştir" 96 | 97 | txtpressanykey="Devam etmek için bir tuşa basın..." 98 | 99 | txtarchdidesc="Masaüstü kurulum betiği yükle" 100 | txtinstallarchdi="Arch Linux Masaüstü Kurulum (archdi) çalışma ortamınızı kurmanız için kullanabileceğiniz ikinci betik.\n\nBu betiği çalıştırabilir yada kurabilirsiniz. Bir sonraki menüden seçin.\n\nArch Linux Masaüstü Kurulumu iki bağımlılık gerektirir : wget ve libnewt.\n\npacstrap wget libnewt ?" 101 | txtarchdiinstallandlaunch="Archdi Kur ve Çalıştır" 102 | txtarchdiinstall="Archdi Kur" 103 | txtarchdilaunch="Archdi Çalıştır" 104 | -------------------------------------------------------------------------------- /makerelease: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | prjname=archfi 4 | version=$(date +"%Y.%m.%d.%H.%M.%S") 5 | branch=$(git rev-parse --abbrev-ref HEAD) 6 | 7 | 8 | ssh -T git@github.com 9 | if [ ! "$?" = "1" ]; then 10 | echo "No Github ssh key loaded exiting..." 11 | exit 1 12 | fi 13 | 14 | scp "matmoul@web.sourceforge.net:/home/frs/project/$prjname/release/2018.09.04.01.26.38/README.txt" /dev/null 15 | 16 | if [ ! "$?" = "0" ]; then 17 | echo "No Sourceforge ssh key loaded exiting..." 18 | exit 1 19 | fi 20 | 21 | 22 | clear 23 | read -p "Current branch is $branch. Continue ? (y/N)" choice 24 | case "$choice" in 25 | n|N|'' ) 26 | echo "cancel build !" 27 | exit 1 28 | ;; 29 | y|Y ) echo "Begin Build Release...";; 30 | * ) 31 | echo "cancel build !" 32 | exit 1 33 | ;; 34 | esac 35 | echo "Building version $version..." 36 | echo "" 37 | 38 | echo "Finalise archfi script..." 39 | sed -i /apptitle=/c\apptitle=\""Arch Linux Fast Install (archfi) - Version: $version (GPLv3)"\" archfi 40 | sed -i /baseurl=https://raw.githubusercontent.com/c\baseurl=https://raw.githubusercontent.com/MatMoul/archfi/master archfi 41 | 42 | echo "Make last commit..." 43 | git commit -a -m "New Release : $version" 44 | 45 | if [ ! "$branch" = "master" ]; then 46 | echo "Merge branch $branch to master..." 47 | git checkout master 48 | git pull 49 | git merge $branch 50 | 51 | read -p "Delete branch $branch ? (y/N)" choice 52 | case "$choice" in 53 | y|Y ) 54 | git branch -D $branch 55 | ;; 56 | esac 57 | fi 58 | 59 | read -p "Push release ? (Y/n)" choice 60 | case "$choice" in 61 | n|N ) exit 1;; 62 | esac 63 | 64 | git checkout master 65 | echo "Push release..." 66 | git push 67 | 68 | 69 | read -p "Publish to server ? (Y/n)" choice 70 | case "$choice" in 71 | n|N ) exit 1;; 72 | esac 73 | 74 | echo "Create index.html..." 75 | fle=$(cat archfi) 76 | git checkout gh-pages 77 | git pull 78 | echo "$fle" > index.html 79 | chmod 640 index.html 80 | git commit -a -m "New Release : $version" 81 | echo "Push index.html..." 82 | git push 83 | 84 | git checkout master 85 | #Sourceforge : 86 | 87 | targetpath=.build/$version 88 | mkdir -p $targetpath 89 | cp -R * $targetpath 90 | 91 | echo "Finalise archfi script..." 92 | sed -i "/baseurl=https:\/\/raw.githubusercontent.com\/MatMoul\/archfi/c\baseurl=http://downloads.sourceforge.net/project/archfi/release/$version" $targetpath/archfi 93 | 94 | echo "Publish release..." 95 | rsync -r $targetpath matmoul@web.sourceforge.net:/home/frs/project/$prjname/release/ 96 | 97 | echo "Update redirect page..." 98 | pubfile=.build/index.php 99 | echo " $pubfile 100 | echo "header(\"Location: http://downloads.sourceforge.net/project/$prjname/release/$version/$prjname\");" >> $pubfile 101 | echo "exit;" >> $pubfile 102 | echo "?>" >> $pubfile 103 | scp $pubfile matmoul@web.sourceforge.net:/home/project-web/$prjname/htdocs/$prjname/index.php 104 | 105 | rm -R .build 106 | 107 | if [ ! "$branch" = "master" ]; then 108 | git checkout $branch 109 | git merge master 110 | git push 111 | fi 112 | -------------------------------------------------------------------------------- /samples/custompackagelist: -------------------------------------------------------------------------------- 1 | # This file is a sample of a custom package list that is available at the pacstrap step. 2 | # Each line is a package but empty line and commented line is supported. 3 | 4 | # How to use : 5 | # Store your own file on a web server 6 | # Launch archfi with : 7 | # archfi -cpl url_of_the_file 8 | 9 | # Some packages : 10 | neofetch 11 | nmon 12 | lshw 13 | # base-devel 14 | --------------------------------------------------------------------------------