Tutorial

Create personalized iso based on GoBang

Help: Link

In this tutorial I will present several scenarios for rebuilding an iso gobang for their own purposes.
It is a very broad topic, I introduced the basic issues related to the construction of an image using Remastersys.
This guide is aimed at persons willing to convert easily GoBang ISO image, for their own purposes.
I will try where possible to expand tutorial. People willing to take the focus can count on my help.
Images created by users will be added to the list of alternative images for the download.
Kindly please contact the person interested in and information about their productions:
– Description of the changes
– Homepage
– The address for download
– Author
The first scenario represents the total change of language in the image.
Procedure and stores paths to configuration files when building the ISO image with the defined language.
The description applies to build the Polish version of the ISO image.
Procedures can be used to change the language to any.
And so we begin !!!

1. Installation of the system of virtual machine.
– Downloaded the iso image in the English language version.
– Install the system in a virtual machine in accordance with this guide.
(User name „gobang”, password „gobang”)
– Do not perform procedures post-installation script.
(Close the terminal window after restarting the system installed)
2. Basic important files:
/etc/environment
/etc/default/locale
/etc/default/keyboard
/etc/default/keyboard.pre-ubiquity
/etc/skel
/home/$USER
/root
These are the places worth a look.
– File Contents (/etc/environment) Live CD version
PATH=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games”
RUNNING_UNDER_GDM=”yes”
LANG=”en_US.UTF-8″
– File Contents (/etc/default/locale) Live CD version
LANG=”en_US.UTF-8″
– File Contents (/etc/default/keyboard) Live CD version
# Check /usr/share/doc/keyboard-configuration/README.Debian for
# documentation on what to do after having modified this file.

# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.

XKBMODEL=”pc105″
XKBLAYOUT=”us”
XKBVARIANT=””
XKBOPTIONS=””

# If you don’t want to use the XKB layout on the console, you can
# specify an alternative keymap. Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz
– File Contents (/etc/default/keyboard.pre-ubiquity) Live CD version
# Check /usr/share/doc/keyboard-configuration/README.Debian for
# documentation on what to do after having modified this file.

# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.

XKBMODEL=”pc105″
XKBLAYOUT=”us”
XKBVARIANT=””
XKBOPTIONS=””

# If you don’t want to use the XKB layout on the console, you can
# specify an alternative keymap. Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz
– File Contents (/etc/skel/.dmrc) Live CD version
[Desktop]
Session=openbox
– File Contents (/etc/root/.dmrc) Live CD version
[Desktop]
Session=openbox
The contents of these files may vary, depending on how you install the system.
3. Installation of the selected language and removing unnecessary translations.
(Example based on the Polish language)
– Open a terminal and issue the command [sudo gnome-language-selector]
(Complete the installation of the Polish language, remove unnecessary language English)
– After the completion, issue the command [gnome-language-selector]
(Make sure the language setting of the user’s system)
4. Edit files that the content was consistent with the model.
– /home/gobang/.pam_environment
LANGUAGE=pl_PL.UTF-8
LANG=pl_PL.UTF-8
LC_NUMERIC=pl_PL.UTF-8
LC_TIME=pl_PL.UTF-8
LC_MONETARY=pl_PL.UTF-8
LC_PAPER=pl_PL.UTF-8
LC_NAME=pl_PL.UTF-8
LC_ADDRESS=pl_PL.UTF-8
LC_TELEPHONE=pl_PL.UTF-8
LC_MEASUREMENT=pl_PL.UTF-8
LC_IDENTIFICATION=pl_PL.UTF-8
– /etc/environment
PATH=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games”
RUNNING_UNDER_GDM=”yes”
LANG=”pl_PL.UTF-8″
LANGUAGE=”pl_PL.UTF-8″
LC_NUMERIC=”pl_PL.UTF-8″
LC_TIME=”pl_PL.UTF-8″
LC_MONETARY=”pl_PL.UTF-8″
LC_PAPER=”pl_PL.UTF-8″
LC_NAME=”pl_PL.UTF-8″
LC_ADDRESS=”pl_PL.UTF-8″
LC_TELEPHONE=”pl_PL.UTF-8″
LC_MEASUREMENT=”pl_PL.UTF-8″
LC_IDENTIFICATION=”pl_PL.UTF-8″
– /etc/default/locale
LANG=”pl_PL.UTF-8″
LANGUAGE=”pl_PL.UTF-8″
LC_NUMERIC=”pl_PL.UTF-8″
LC_TIME=”pl_PL.UTF-8″
LC_MONETARY=”pl_PL.UTF-8″
LC_PAPER=”pl_PL.UTF-8″
LC_NAME=”pl_PL.UTF-8″
LC_ADDRESS=”pl_PL.UTF-8″
LC_TELEPHONE=”pl_PL.UTF-8″
LC_MEASUREMENT=”pl_PL.UTF-8″
LC_IDENTIFICATION=”pl_PL.UTF-8″
– /etc/default/keyboard
# Check /usr/share/doc/keyboard-configuration/README.Debian for
# documentation on what to do after having modified this file.

# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.

XKBMODEL=”pc105″
XKBLAYOUT=”pl”
XKBVARIANT=””
XKBOPTIONS=””

# If you don’t want to use the XKB layout on the console, you can
# specify an alternative keymap. Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz
– /etc/default/keyboard.pre-ubiquity
# Check /usr/share/doc/keyboard-configuration/README.Debian for
# documentation on what to do after having modified this file.

# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.

XKBMODEL=”pc105″
XKBLAYOUT=”pl”
XKBVARIANT=””
XKBOPTIONS=””

# If you don’t want to use the XKB layout on the console, you can
# specify an alternative keymap. Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz
5. Edit the login screen [MENU -> Config -> Edit the login screen]
– Security
(Disable automatic login, disable automatic login from the delay)
6. Restart the machine.
– The login screen [language selection and session]. Logging on
– Copy the file (/home/gobang/.dmrc, /home/gobang/.pam_environment) to /etc/skel/ , /root
(Content dmrc in the Polish language version of the default Openbox session)
[Desktop]
Session=openbox
Language=pl_PL.UTF-8
– Final entries starting with [# Path LC_ALL =] on file: /home/gobang/.bashrc , .profile
must be removed
# Path LC_ALL=
LANG=$( cat ~/.dmrc | grep Language | cut -d= -f2 | cut -c 1-11 )
export LC_ALL=$LANG
export LANG=$LANG
export LANGUAGE=$LANG
7. Install Remastersys and final setting
– [Menu -> GUI -> System -> Backup -> Install Remastersys]
– Edit the login screen [MENU -> Config -> Edit the login screen -> Security]
(Enable automatic login, enable automatic login from the delay)
8. Restart the system to save the settings, cleaning
– Checking files copied and edited for rights [owner: root, group: root]
– Cleaning items from the clipboard manager Parcellite.
– remove entries in the file (/root/.config/geany/geany.conf) everything is located under the line ([files])
– Quick way to clean, run [Menu -> GUI -> System -> BleachBit]
(select all items, except [Locations language, memory])
– rmove /root/.bash_history
– Open a terminal and enter
[sudo aptitude purge]
[sudo aptitude autoclean]
[sudo aptitude clean]
[sudo apt-get clean]
[sudo remastersys clean]
[sudo remastersys dist]
9. After the process of our ISO image can be found in /home/remastersys/
10. Why not check out:
/etc/skel/.config/openbox
/usr/bin/gb-start
man xgo
man obprofile
man remastersys

Referring to what I said earlier , this is a quick and easy way for converting ISO images and prepare a personalized system .
I am not able to predict all the scenarios and the vision of the finished product .
There are many tricks and configuration files , you should take the time to describe .
For my part, I will try to provide information and help solve problems.
Every new idea will be described and supported .
In the near future I will try to make a video tutorial in which consideration of other target image GoBang .
I encourage you to contact people who want to modify the ISO , to your own personal goals , educational …

Advertisements

Skomentuj

Wprowadź swoje dane lub kliknij jedną z tych ikon, aby się zalogować:

Logo WordPress.com

Komentujesz korzystając z konta WordPress.com. Log Out / Zmień )

Zdjęcie z Twittera

Komentujesz korzystając z konta Twitter. Log Out / Zmień )

Facebook photo

Komentujesz korzystając z konta Facebook. Log Out / Zmień )

Google+ photo

Komentujesz korzystając z konta Google+. Log Out / Zmień )

Connecting to %s