Difference between revisions of "Larch (Italiano)"
(creata pagina italiana)
(Template:i18n is deprecated, use interlanguage links, see Help talk:I18n#"Dummy" interlanguage links and deprecation of Template:i18n)
|(One intermediate revision by one other user not shown)|
|Line 1:||Line 1:|
[[Category:Live Arch systems (
[[Category:Live Arch systems ()]]
Revision as of 10:48, 13 June 2012
Larch is a live CD construction kit for Arch Linux created in early 2006 by gradgrind (Michael Towers). Targeted at those who prefer the DIY approach, the aim is to produce an easily customizable custom installation/rescue CD that is more like a desktop environment than the stock Arch installation CD. The latest version is 8. Interesting features are the creation of USB sticks with ext4 with no journaling and a root overlay for maximum customization.
Full documentation is available on the project's website (see #External Resources below).
Install the AUR.AUR package which is found in the
Next step is to download the install script. Put this script in its own directory, and then
chmod +x it and then run it. It should automatically download the rest of larch. Running
./larch will now launch the GUI version of larch.
There are four tabs that you can use to customize your larch CD with, meant to be used in order. The first tab is "Project Settings". With "browse for Profile" you can load a saved project from a disk, Generally projects are saved as directories in
The "installation path" text box lets you customize the location of where you want a copy of the live CD installed when you are working on it. This is, in a sense, a full copy of an Arch Linux installation to be the basis of your live CD/USB stick. If you need to adapt an install guide from elsewhere on the wiki, chroot into this location.
This tab uses its own version of pacman to install an Arch system on your hard disk in the location specified previously, maintain it. "addedpacks" is a text file list of all packages you want installed. These packages HAVE to be in the official repositories and not in the AUR. "vetopacks" is a list of packages that will be prevented from being installed. There is also a button to edit local
/etc/pacman.conf options and repositories lists. When you have everything set, you may hit the install button in the lower right corner.
Adding AUR packages
Find a machine running Arch Linux, download the AUR package, and build it. Now bring it to the machine larch is running on, and install it with the button that says "Update / Add packages -U". Done AFTER install.
Once you have installed you are going to want to configure, tune, tweak and customize your install. The
edit root overlay will open a root overlay (part of your profile in
~/.config/larch/profiles/) to add config files. You will probably want to adapt things from here Beginners' Guide. Make sure all packages you need are added in the installation tab.
/home/$useron your live CD should go in
/etc/skel/in root the overlay.
Either make an ISO, or directly write to a flash disk. For a USB disk, select "writable medium", and then select a valid partition on a block device. This will format the partition with ext4, with no journal, make a master boot record (MBR) and make the partition bootable.
From this tab you may also edit the boot menu entries (extlinux4), and any files you want to add to the CD root (not in the squash file, such as your own boot menu image). in the options line using "nw" will prevent any writes to the medium, if possible when running the live CD. Arbitrary, non-defined options can be passed on to scripts via
- Version 8 ships with a now outdated version of pacman, but this is able to be fixed. To fix this, go download the package via archlinux.org website, unzip the package, and take pacman from
usr/bin/and everything in
usr/lib/in the package root and copy it to
- To get the best results, make a "dev-stick", get an otherwise unused USB flash drive, format it with two paritions—the first that will contain your live OS and the second will contain an empty FAT partition. Install larch on the boot partition, do a preliminary boot, test everything out, configure settings to your liking, then copy everything in
/home/$USERto the FAT partition, boot back into your normal OS, and then copy it into the root overlay in
/etc/skel. Now your settings are saved, forever and ever.