The Chakra Project

Create a Chakra-LiveMedia(Larch7)

From The Chakra Project - Wiki

Jump to: navigation, search

This tutorial shows you how to create a chakra-live-media using Larch7.

(C) 2010 Phil Miller

Contents

Introduction

Notice: Only chakra-minimal-(i686/x86_64)-testing profile is 100% working atm"

Always read the README file first !!! Live-Scripts2 are under heavy development but usable. Visit the LiveCD Development Forum to ask questions or get further answers.

Get the sourcecode

First you have to download our live-scripts2

   git clone git://git.chakra-project.org/chakra/live-scripts2.git

cd into the folder.

Install needed extra pkgs

Install followed pkgs to get larch7 running:

  sudo pacman -Sy aufs2 aufs2-util cdrkit python-pexpect
  sudo pacman -U http://chakra-project.org/repo/chakra/i686/uipi-1.11-2-any.pkg.tar.gz

Get propertary drivers

Now it is time to get the propertary drivers. So run ...

For Minimal-Edtition:

   ./1-minimal-update-overlay.sh

For Minimal-Edtition (Testing):

   ./1-testing-minimal-update-overlay.sh

For DVD-Edition:

   ./1-update-overlay.sh

When finnished you'll see this:

small Bigger screenshot

Larch7

Now we are ready to run our next script:

    sudo ./2-build-gui.sh

You'll see this window:

small Bigger screenshot

Click on Browse for profile to get to this window:

small Bigger screenshot

Select the profile and click on Choose.

Now click on Installation-tab to get here:

small Bigger screenshot

Edit 'addedpacks' is our next goal:

small Bigger screenshot

Recheck if all fits and click on OK

Next is the Edit 'pacman.conf repositories button:

small Bigger screenshot

Normally all should be fine here ...

Now we can click on the Install button to get here:

small Bigger screenshot

... maybe you need to write down your root password ...

small Bigger screenshot

You can follow the progress now. When finished click on Done

Next is the Larchify-tab:

small Bigger screenshot

Click on Edit supported locales to change them:

small Bigger screenshot

When finished click on Done and on Larchify.

small Bigger screenshot

This time it takes longer. Get a coffee ;) When finished click on Done

We're almost done ;) Click on the Prepare Medium-tab.

small Bigger screenshot

Select syslinux/isolinux and hit Create larch medium

small Bigger screenshot

After couple of mins you'll get presented with the last message:

small Bigger screenshot

Larch7 (CLI)

... well there is also a CLI but I didn't test it yet. 4-build-iso.sh and 4-minimal-build-iso.sh should work theoratically

-- to be done --

Hybrid ISO creation

Now you can patch your created iso for USB-Stick usage:

How to start our LiveCD.isos from USB

Tweaks

Setup larch-config for i686 build on a x86_64 host

Save this as ~/.config/larch/larch-config if you want to build a i686-disc on a x86_64 host:

    [chakra-mini-i686-testing]
    profile = /home/phil/.config/larch/working_dir/MyProfiles/chakra-minimal-i686-testing
    pacman_cache = /var/cache/pacman/pkg32
    medium_iso = yes
    install_path = /home/larchtesting32
    medium_btldr = syslinux
    platform = i686
    medium_search = label
    
    [chakra-mini-x86_64-testing]
    profile = /home/phil/.config/larch/working_dir/MyProfiles/chakra-minimal-x86_64-testing
    medium_iso = yes
    install_path = /home/larchtesting
    medium_btldr = syslinux
    platform = x86_64
    medium_search = label
    
    [_]
    project = chakra-mini-i686-testing

Edit profile, install_path and pacman_cache lines. Create those folders:

    mkdir -p /home/larchtesting
    mkdir -p /home/larchtesting32
    mkdir -p /var/cache/pacman/pkg32

... you can call them different if you like.

Personal tools