Page 1 of 5 123 ... LastLast
Results 1 to 10 of 44

Thread: One Button Installer, 'OBI'

  1. #1
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    One Button Installer, 'OBI'

    One Button Installer, 'OBI'

    The One Button Installer is described at the following wiki page.

    https://help.ubuntu.com/community/OBI

    The plans are to develop that page into the main tutorial and to move it to some other location within the Ubuntu wiki. This tutorial thread will stay at its present location. I intend to keep it up to date with references to the wiki page and other links. I also intend to describe new features and systems to install.

    The One Button Installer itself can be installed from a compressed image file with terminal window commands or with the shell-script mkusb, described at the tutorial Howto make USB boot drives.

    A special version for very old computers (without PAE capability or which cannot boot from USB) is shown at this wiki page

    OBI-9w installer

    Typical cases for the One Button Installer

    Tool that is easy to use and just works

    The normal linux installers that come with iso files are complicated to use or freeze during the installation process, and you want a tool that is easier to use and just works.

    Replace Windows XP

    Replace Windows XP because you want the computer to work faster or smoother with an Ubuntu based linux operating system, or at the end of life in April 2014, when there will be no more security updates for Windows XP.

    Backup

    You want a simple method to backup (and restore) your whole installed linux system. The One Button Installer combines installation, backup and restore in one set of tools.

    Your own portable Ubuntu based linux system

    You want to make your own linux system portable and port it to a USB pendrive or to be installed in another computer to be used by yourself, or to be uploaded to the internet for sharing with other people. The One Button Installer can do it in a simpler way than to remaster the code and make an own iso file.

    General description

    Please view or download this General description file.

    How to install and run the OBI

    OBI quick start manual

    Please view or download this OBI quick start manual file with a short description how to make a boot drive with the OBI and how to use the OBI to install an Ubuntu based linux operating system.

    README

    If you want to read more, please view or download this README file, which describes with more details how to make a boot drive with the OBI and how to use the OBI to install an Ubuntu based linux operating system to your computer, to make a portable system or to make a tarball from an existing system for backup or sharing.

    Download the following files

    Select one of the compressed image files

    Code:
    dd_blank-obi_4GB_23_text.img.xz                    # if you need a really small system    (324MiB)
    dd_blank-obi_7.8GB_25_LubuntuTrusty_nonpae.img.xz  # if you need a non-pae kernel         (677MiB)
    dd_precise-obi_4GB_29_text.img.xz                  # to install tarballs made for precise (183MiB)
    dd_blank-obi_7.8GB_33_LubuntuTrusty.img.xz         # current main choice for most cases   (695MiB)
    and at least one of the tarballs (check for new tarballs at the websites for downloading).

    User: guru, Password: changeme if nothing else is stated,
    except for the One Button Installer itself, that comes with User: myself, Password: 123456

    Code:
    Bento12.04.04-oem0.tar.xz              # in OEM mode, password: 123456
    Bento12.04.04-oem1.tar.xz              # OEM: ready for the end user
    Bento12.04.04.tar.xz                   # user: guru, password: changeme
    bodhi-230-nonpae.tar.xz
    GnomeClassic1204-oem.tar.xz            # in OEM mode, password: changeme
    GnomeClassic1204.tar.xz
    Kubuntu_13.10oem-nov23.tar.xz          # OEM: ready for the end user
    KubuntuPrecise.tar.xz
    Lubuntu_14.04oem-npae5.tar.xz          # in OEM mode, password: 123456
    Lubuntu_14.04oem-npae.tar.xz           # in OEM mode, password: 123456 (old)
    Lubuntu_14.04_eu-npae.tar.xz           # OEM: ready for the end user
    Lubuntu_16.04_oem-uxa.tar.xz           # in OEM mode, password: 123456, (up to date 2016-05-08)
    Lubuntu_16.04_oem-intel.tar.xz         # in OEM mode, password: 123456, (up to date 2016-05-08)
    Lubuntu_16.04_oem-intl_amd64.tar.xz    # in OEM mode, password: 123456, (up to date 2016-05-14)
    lxle-2013-08-19.tar.xz               # tweaked, old but possible to update/upgrade
    lxle32-12.04.4-oem0.tar.xz           # in OEM mode, password: 123456
    lxle32-12.04.4-oem1.tar.xz           # OEM: ready for the end user
    OBI_noswap_07.tar.gz
    OBI_noswap_23_text.tar.xz
    OBI_noswap_27_LubuntuTrusty.tar.xz
    precise-mini-txt.tar.xz             # Ubuntu text system with portable wired network (from mini.iso)
    ToriOS-pae-OEM_prec_use-by-OBI-in-trusty-2016-may.tar.xz  # in OEM mode, password: 123456
    ToriOS-pae-OEM_trus_use-by-OBI-in-trusty-2016-may.tar.xz  # in OEM mode, password: 123456
    ToriOS-mini_trusty_use-by-OBI-in-trusty-2016-may.tar.xz   # user: guru, password: changeme
    Trusty-mini-txt6.tar.xz                # user: guru, password: changeme
    Trusty-mini-txt7.tar.xz                # user: guru, password: changeme, (up to date 2016-05-06)
    Trusty-nonpae-txt5.tar.xz              # user: guru, password: changeme
    Xenial-32-txt.tar.xz                   # user: guru, password: changeme
    Xenial-32-txt_2016-06-28_intel.tar.xz  # user: guru, password: changeme
    X32-Txt-Startx-Intl_2016-06-29.tar.xz  # user: guru, password: changeme
    xubuntu-precise.tar.xz                 # good for old systems but past end of life of desktop packages
    XubuntuTrusty-oem-feb13.tar.xz         # OEM: ready for the end user
    # good for old systems but past end of life, so there are no updates, not even security updates
    lubuntu-10.04.tar.gz                   # past end of life
    ubuntu-10.04.tar.gz                    # past end of life
    plus a script file and a signed list of the md5sums

    Code:
    mkusb
    md5sums.txt.asc
    from http://phillw.net/isos/linux-tools/one-button-installer

    Download a virtual disk for testing the OBI in Virtual Box


    Virtual Box can connect to peripheral devices and mass storage devices via USB, but not boot. Instead, the OBI can be installed to a [virtual] hard disk drive. The virtual machine will boot from the first virtual disk, so you must put it on top in the 'storage managing window'. Later, when you want to boot from the installed system, you must switch the order of the virtual disks. There are two compressed virtual disks with the OBI in

    http://phillw.net/isos/linux-tools/o...ler/vboxdisks/

    Expand the new one (with OBI version 3.3) and connect it to a virtual machine, and you can test the OBI in Virtual Box without the extra problems to get the OBI into the virtual machine and installing it.

    KVM can boot from a USB drive and even an image file

    If a 64-bit host operating system in a machine with hardware virtualization is available, install a KVM virtual machine. Otherwise Virtualbox might be more efficient.

    Install a virtual machine using KVM, qemu, and virt-manager according to this wiki page

    https://help.ubuntu.com/community/KVM/VirtManager


    It is fast and very similar to installing and running in a real system.

    You need no special virtual disk file for KVM. You can mount the OBI image file (after expansion from img.gz to img) and it can be used as a virtual SATA disk. If it is the first disk, the virtual machine will boot from it.

    And the standard tarballs can be imported via sftp, wget or lynx to this virtual SATA disk and used in order to install systems to a second virtual disk.

    Follow the instructions in the README file step by step

    Just a reminder of the README file...

    Make you own tarball


    This is a link to a detailed description how to make your own tarball

    Improvements

    OBI versions 0.7, 1.0, ... :

    1.0:

    1. The dialogue has been improved by using screens made with the linux program dialog. It means a menu style similar to that of the alternate installer and the mini.iso. See the attached pictures.

    2. The compression of the dd-image files and the tarballs is improved. The original compression was using gzip. It is still available, but now xz compression is also available, and xz compression is more than 20% more efficient, often 30% (meaning that the size of the compressed file is 20-30% smaller than a gzipped file). xz is slower and needs more memory, but not too much. During a test with low RAM, 128 MB, extracting the tarball with xz used 62 MB while extracting with gzip used 49 GB. Downloading is usually the bottleneck, so small files are preferred.

    1.1:

    1. Own directory for tarballs (plus symlink)

    Put and find the tarballs in

    Code:
    /tarballs
    ~/tarballs -> /tarballs
    2. Download tarball

    There is a new download system with a dialog menu, that you run from the main menu with

    d Download tarball

    3. Make tarball

    From version 1.1 xz is the default compression in mktbl. You can also enter a tarball name as parameter #3 when you run mktbl from the bash shell.

    1.2:

    Basic and advanced OBI level

    Most users are recommended to use the basic OBI level. This means that the OBI will install a system from a tarball into a whole device, typically an internal hard disk drive or a USB 3 pendrive. It is easy and takes only a few minutes to install a system at the basic OBI level.

    The advanced level opens the door to dual boot (mainly for internal disks) and a first FAT32 partition for access from Windows (for USB pendrives). In the advanced level the OBI will let you select the partitions. It means that you can install a system from a tarball into two partitions, one root file system partition and one swap partition. This way it is possible to create a dual boot device with an existing (already installed) operating system. It is also possible to create a separate data partition with an NTFS or FAT32 file system, that can be used by linux as well as Windows.

    The intention with the advanced level is to edit and create partitions with Gparted (booted from a 'regular' boot CD/DVD/USB device). One partition is labelled 'obi-root' and one (smaller) partition is labelled 'obi-swap'. Such partitions can be identified and selected automatically in the advanced level, but manual selection is also possible.

    Editing partitions is risky (so you need a good backup) and it takes long time (hours) to shrink an existing partition with a lot of data (Windows), so that there will be space for new partitions.

    2.2:

    In order to make it more convenient to use the advanced OBI level (introduced in version 1.2), there is now version 2.2.

    The underlying operating system is upgraded to Ubuntu version 13.10 and Lubuntu-desktop is installed and tweaked to create a graphical desktop environment with desktop icons for the main tasks during installation with the One Button Installer.

    A USB 3 pendrive with at least 8 GB is recommended for the graphical desktop environment. But there is also a flavour of version 2.2 with a text desktop environment, which is suitable for very old computers. A 4 GB pendrive is big enough for the text version.

    You can find some USB pendrives that are good booters in this link Howto help USB boot drives

    2.3:

    This version is mainly a bug-fix update from 2.2 including updated pdf documents. The operating system (13.10) is also updated/upgraded.

    New feature: the OBI will share an existing swap partition, when selected at the advanced OBI level.

    Use this link https://help.ubuntu.com/community/OBI

    2.4:

    There is a new and special version of the 9w installer, the OBI-9w installer

    This version is made for very old computers without PAE capability. The One Button Installer in run from the 9w installer's debian system. Now there is a super light-weight installer, that can

    - install from CD, DVD and USB
    - create not only single boot but also dual boot systems.

    Prepare partitions with Gparted and run the One Button Installer at the advanced level to create dual boot or multi boot system.

    There are special tarballs for the 9w installer, and these tarballs come with the iso file.

    2.5:

    This version is mainly a bug-fix update from 2.3 (and 2.4 OBI-9w) including updated pdf documents. The operating system (14.04 LTS) is also updated/upgraded.

    New feature: the starter menu will set the default item (command line) in a logical way prompting to download and select tarball, select OBI level and then install a system. Two-digit partition numbers (/dev/sda10 ...) are recognized at the advanced OBI level.

    USB 3 pendrives with at least 8 GB are recommended for this version with Lubuntu desktop. 4 GB pendrives are still possible for the text version. See also this link

    2.6:

    This version is a major improvement, implemented for ToriOS but not published here.

    • dynamic focus in the starter menu
    • improved recognition of devices (using the function list_drives)
    • final warning screen with red background
    • improved help function


    2.7:

    This version is a bug-fix and polishing update of the starter script. Current mkusb and mkusb-nox are installed and there are updated pdf documents. The operating system (14.04.1 LTS) is also updated/upgraded to the current date (2014-12-28).

    Howto help USB boot drives


    Use this link https://help.ubuntu.com/community/OBI

    2.8:

    This version number is reserved for for ToriOS.

    2.9:

    This version selects tarballs depending on the version (12.04 LTS or 14.04 LTS)

    • improved 'dltbl' - to download tarballs
      • selecting repository for tarballs depending on the version of the system underneath the OBI (12.04 LTS or 14.04 LTS)
      • some bug-fixes: modified for-loops and md5check

    • improved 'confirm-partition' - pre-selected root and swap partitions should *not* be mounted
    • a text based One Button Installer based on Ubuntu mini.iso 12.04 LTS is released


    3.0:

    • zmktbl, a graphical tool to make tarballs, is added to the OBI system
    • The host Lubuntu system is updated (2015-07-29)


    3.1:

    This is a bug-fix version:

    zmktbl, select-part2: fix for buggy(?) zenity --list in trusty: ans=${ans%|*} ...

    3.2:

    select-part2: fix to identify partitions to unmount: double-quotes (") removed from target in

    Code:
    umount ${line:0:10} 2>/dev/null
    df|grep ${line:0:10}>/dev/null
    3.3:

    • more robust syntax in the file '$partitions'
    • in the functions confirm-partition, select-part2, autoselect


    View the pictures as a slide-show

    The pictures are screen-dumps and illustrate how to use the OBI. View them with 100% resolution here!

    Here are a few of them attached.
    Attached Images Attached Images
    Last edited by sudodus; January 23rd, 2017 at 07:40 PM. Reason: changes are explained in new posts

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: One Button Installer, 'OBI'

    Update:

    Three new tarballs are uploaded and easy to try with the OBI, Bodhi, Kubuntu and Xubuntu.

    Code:
    -rw-r--r-- 728648955 sep 12 08:23 tarballs/bodhi-230-nonpae.tar.gz
    -rw-r--r-- 858806740 sep 12 18:16 tarballs/xubuntu-precise.tar.gz
    -rw-r--r-- 927991915 sep 13 16:41 tarballs/KubuntuPrecise.tar.gz
    And I should add that GnomeClassic1204.tar.gz also contains the Unity desktop (choose desktop at the log in screen). So there is a mixture of small, medium and big foot-print desktop environments, or in other words, more or less eye-candy. By the way, even KubuntuPrecise runs fairly well in an old IBM Thinkpad T42 with Pentium M and 1.25 GB RAM.

  3. #3
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: One Button Installer, 'OBI'

    The dialogue has been improved at 'the only really critical button' where to select device for the installation. Instead of something like this

    Code:
    Do you want to install Lubuntu_13.04? (y/n)
    y
    ***  WARNING: the device will be completely overwritten  *******
               Use the info from another screen (less /tmp/help-mkusb.txt)
    ***  Unmount the device if mounted  ****************************
    
    Model: ATA HTS548040M9AT00 (scsi) Disk /dev/sda: 40.0GB
    Model: Sandisk Cruzer Blade (scsi) Disk /dev/sdb: 4005MB
    Model: JetFlash Transcend 16GB (scsi)  Disk /dev/sdc: 15.8GB
    Live drive: /dev/sdb
    
    ---> 1: install to /dev/sda
         2: install to /dev/sdc
    Select another device with (+/-) or the number of the list item.
    Go ahead with (g) or quit with (q)
    each line to select contains more information (cut from the output of parted -l)

    Code:
    Do you want to install Lubuntu_13.04? (y/n)
    y
    ***  WARNING: the device will be completely overwritten  *******
               Use the info from another screen (less /tmp/help-mkusb.txt)
    ***  Unmount the device if mounted  ****************************
    
    Model: ATA HTS548040M9AT00 (scsi) Disk /dev/sda: 40.0GB
    Model: Sandisk Cruzer Blade (scsi) Disk /dev/sdb: 4005MB
    Model: JetFlash Transcend 16GB (scsi)  Disk /dev/sdc: 15.8GB
    Live drive: /dev/sdb
    
    ---> 1: install to ATA HTS548040M9AT00 (scsi) Disk /dev/sda: 40.0GB
         2: install to JetFlash Transcend 16GB (scsi) Disk /dev/sdc: 15.8GB
    Select another device with (+/-) or the number of the list item.
    Go ahead with (g) or quit with (q)
    to make it easier to select the correct target device.

    See the attached screenshot from a virtual session in KVM, qemu and virt-manager, which shows the inverted video of the real OBI. In the text above, the inverted video is replaced with bold text.
    Attached Images Attached Images

  4. #4
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: One Button Installer, 'OBI'

    Update:

    A new tarball is uploaded at http://phillw.net/isos/one-button-installer/ and easy to try with the OBI: Lubuntu Saucy beta 2 i386 with zRAM switched off.

    Code:
    -rw-r--r-- 673950602 sep 27 18:39 saucybeta2.tar.gz
    Last edited by sudodus; September 27th, 2013 at 06:48 PM.

  5. #5
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: One Button Installer, 'OBI'

    1. The dialogue has been improved by using screens made with the linux program dialog. It means a menu style similar to that of the alternate installer and the mini.iso. See the attached pictures in post #1.

    2. The compression of the dd-image files and the tarballs is improved. The original compression was using gzip. It is still available, but now xz compression is also available, and xz compression is more than 20% more efficient, often 30% (meaning that the size of the compressed file is 20-30% smaller than a gzipped file). xz is slower and needs more memory, but not too much. During a test with low RAM, 128 MB, extracting the tarball with xz used 62 MB while extracting with gzip used 49 GB. Downloading is usually the bottleneck, so small files are preferred.

    The default compression for making an own tarball is using gzip in version 1.0 and using xz in version 1.1

    You must run mktbl from the bash shell to use the other kind of compression.
    Last edited by sudodus; November 11th, 2013 at 09:00 AM. Reason: default compression changed in version 1.1

  6. #6
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: One Button Installer, 'OBI'

    Update:

    New tarballs are uploaded at http://phillw.net/isos/one-button-installer/ and easy to try with the OBI: Lubuntu 13.10 pure and tweaked versions.

    Code:
    -rw-r--r-- 1 492883108 okt 18 15:55 tarballs/Lubuntu_13.10oct18-tweaked.tar.xz
    -rw-r--r-- 1 448403032 okt 30 01:23 tarballs/Lubuntu_13.10oct30.tar.xz
    -rw-r--r-- 1 494428632 okt 28 22:31 tarballs/Lubuntu_13.10oem-oct28-tweaked.tar.xz
    -rw-r--r-- 1 477114724 okt 30 00:45 tarballs/Lubuntu_13.10oem-oct30.tar.xz
    -rw-r--r-- 1 396702796 nov  2 12:47 tarballs/LubuntuCoreSaucy.tar.xz
    Last edited by sudodus; November 11th, 2013 at 11:10 AM. Reason: added LubuntuCoreSaucy

  7. #7
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: One Button Installer, 'OBI'

    I have tied some new bits and pieces together to the OBI version 1.1

    dd_blank-obi_4GB_11.img.xz


    Own directory for tarballs (plus symlink)

    When running the OBI, you put and find the tarballs in

    Code:
    /tarballs
    ~/tarballs -> /tarballs
    and when mounted in another system, you put and find the tarballs in

    Code:
    /media/OneButtonInstall/tarballs
    # not /media/OneButtonInstall/home/myself/tarballs -> /tarballs
    Download tarball

    There is a new download system with a dialog menu, that you run from the main menu with

    d Download tarball

    This is intended to be an easy alternative to downloading tarballs into another system and copying to the One Button Installer.

    Make tarball

    From version 1.1 xz is the default compression in mktbl. You can also enter a tarball name as parameter #3 when you run mktbl from the bash shell.

    See the attached pictures.
    Attached Images Attached Images
    Last edited by sudodus; November 20th, 2013 at 03:07 PM.

  8. #8
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: One Button Installer, 'OBI'

    OBI quick start manual

    Users have requested a shorter manual, so I made this OBI quick start manual file with a short description how to make a boot drive with the OBI and how to use the OBI to install an Ubuntu based linux operating system.

  9. #9
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: One Button Installer, 'OBI'

    Update:

    New tarballs created by Federico Leoni are uploaded at http://phillw.net/isos/one-button-installer/ and easy to try with the OBI: Kubuntu, Ubuntu, Ubuntu Gnome and Xubuntu 13.10 in the final stage of an OEM installation, corresponding to
    Code:
    Lubuntu_13.10oct30.tar.xz

    Code:
    Kubuntu_13.10oem-nov23.tar.xz
    Ubuntu_13.10oem-nov22.tar.xz
    Ubuntu_Gnome_13.10oem-nov25.tar.xz
    Xubuntu_13.10oem-nov22.tar.xz
    Last edited by sudodus; November 28th, 2013 at 06:22 AM. Reason: added Ubuntu Gnome

  10. #10
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: One Button Installer, 'OBI'

    I have realized that many of you who are active at the Ubuntu Forums need dual- or multi-boot for your linux distro/flavour. So I made version 1.2 of the OBI, that can do it, not by itself, but together with gparted.

    1 - Edit and create partitions with gparted

    2 - Install a tarball with the OBI to partitions, that are selected automatically or manually.

    Basic and advanced OBI level

    Most users are recommended to use the basic OBI level. This means that the OBI will install a system from a tarball into a whole device, typically an internal hard disk drive or a USB 3 pendrive. This is easy and fast.

    In the advanced level the OBI will let you select the partitions. It means that you can install a system from a tarball into two partitions, one root file partition and one swap partition. This way it is possible to create a dual boot device with an existing (already installed) operating system. It is also possible to create a separate data partition, that can be used by linux as well as Windows.

    The intention with the advanced level is to edit and create partitions with Gparted (booted from a 'regular' boot CD/DVD/USB device). One partition is labelled 'obi-root' and one (smaller) partition is labelled 'obi-swap'. Such partitions can be identified and selected automatically in the advanced level, but manual selection is also possible.

    Code:
    cat autoselect
    #!/bin/bash
    
    LC_ALL=C;LANG=C
    
    echo "--- Use Gparted and prepare the device for the OBI ---"
    echo "1. Put the label obi-root to one partition and format it to FAT32"
    echo "2. Put the label obi-swap to one partition and format it to FAT32"
    echo "(It is fast to format to FAT32, and it will be overwritten by the
    OBI)"
    echo "*. The other partitions 'can be anything else'"
    echo
    "----------------------------------------------------------------------"
    
    rootpart=$(sudo blkid|grep -i obi|grep -im1 root|cut -d: -f1)
    swappart=$(sudo blkid|grep -i obi|grep -im1 swap|cut -d: -f1)
    
    echo "$rootpart $swappart" | tee partitions
    read -p "Press Enter to return to the menu"
    So please test it when you have some time. You find it here:

    http://phillw.net/isos/one-button-installer

    dd_blank-obi_4GB_12.img.xz
    OneButtonInstaller_blank-noswap_12.tar.xz

    New versions of the documents are also uploaded.

    The intention is to make it easy to use. If you test the advanced OBI level, please tell me what is bad or confusing!
    Last edited by sudodus; December 18th, 2013 at 04:59 PM. Reason: RC ---> version 1.2

Page 1 of 5 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •