Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Is it possible modified an ISO ?

  1. #1
    Join Date
    Aug 2017
    Location
    Montréal. Canada
    Posts
    94

    Default Is it possible modified an ISO ?

    I want modified a live OpenSuse and create a version from for new students in Ruby programming with the addition of some text editor and database editor. not part of any depos. In some case, only binaries exist. (i might need a link like RPM for dummy). The ultimate goal is a USB stick with everything pr-install and pr-configured for a Ruby programmer.
    Hard times create strong men,
    Strong men create good times,
    Good times create weak men,
    Weak men create hard times.

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,845
    Blog Entries
    14

    Default Re: Is it possible modified an ISO ?

    Then this should be your starting point: https://en.opensuse.org/Portal:Kiwi
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Aug 2017
    Location
    Montréal. Canada
    Posts
    94

    Default Re: Is it possible modified an ISO ?

    It do not seem a good solution. The comment give the impression of studio express is something like those thing build with duck tape. LOL Is it possible to added a program with zypper on a live version of Opensuse in a USB stick ?
    Hard times create strong men,
    Strong men create good times,
    Good times create weak men,
    Weak men create hard times.

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,824
    Blog Entries
    15

    Default Re: Is it possible modified an ISO ?

    Quote Originally Posted by Asimov View Post
    It do not seem a good solution. The comment give the impression of studio express is something like those thing build with duck tape. LOL Is it possible to added a program with zypper on a live version of Opensuse in a USB stick ?
    Hi
    It's pretty good duck tape since it builds that live USB your using

    To answer your question, yes you can install, however no chance to update things like the kernel etc so it can come with security issues.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,845
    Blog Entries
    14

    Default Re: Is it possible modified an ISO ?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    It's pretty good duck tape since it builds that live USB your using

    To answer your question, yes you can install, however no chance to update things like the kernel etc so it can come with security issues.
    Eh, the Live images are persistent now and AFAIK can be updated, and expanded with new packages, using an overlay fs.
    And for a good laugh: It's the first time I see non-dutch writing 'duck tape'. Where the product is called DUCT tape.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,824
    Blog Entries
    15

    Default Re: Is it possible modified an ISO ?

    Quote Originally Posted by Knurpht View Post
    Eh, the Live images are persistent now and AFAIK can be updated, and expanded with new packages, using an overlay fs.
    And for a good laugh: It's the first time I see non-dutch writing 'duck tape'. Where the product is called DUCT tape.
    It's a duct tape brand name as well (duckbrand)
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,845
    Blog Entries
    14

    Default Re: Is it possible modified an ISO ?

    Quote Originally Posted by malcolmlewis View Post
    It's a duct tape brand name as well (duckbrand)
    Always happy to learn laughing
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  8. #8
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,617
    Blog Entries
    3

    Default Re: Is it possible modified an ISO ?

    Quote Originally Posted by Knurpht View Post
    Eh, the Live images are persistent now and AFAIK can be updated, and expanded with new packages, using an overlay fs.
    I'm pretty sure that does not work for updating the kernel or the booting. The live image has to be booted with it's initial kernel before the overlay is mounted and made available.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  9. #9
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,277
    Blog Entries
    2

    Default Re: Is it possible modified an ISO ?

    If you want to create a custom ISO, then Kiwi or Studio Express can do that for you, but notice because your result is a custom install combining distro and your modifications, they're tied together. When there is a new openSUSE release or you want to modify your Ruby setup, you'll have to re-create the whole ISO all over again.

    Another more flexible approach can be to simply make a post-install script that can be run manually on an accessible server in your network, I would recommend on a website or similar so that you have maximum accessibility with minimal security restrictions.

    Your post-install script can do everything you might want to do to modify each workstation for your particular needs, like add any special Ruby repos, install tools, libraries, and even course material, perhaps install and configure a website for a particular lesson.

    So, for instance the following is an example of what you can do, all is required is any openSUSE install from ISO, the script is fully commented so it should be easy to understand...
    - The script detects whether the machine is a LEAP or TW install
    - Depending on what type of openSUSE is identified, a repository URL is built and then the repository is added to the machine
    - From those repos, the required C dependency packages are installed
    - Once the C Development environment has been properly prepared, the highly complex compilation to build the latest version of the Lc0 chess engine is kicked off and runs to completion.

    https://github.com/LeelaChessZero/lc...penSUSE_lc0.sh

    You might find many of the steps I described might be what you would do to set up your classroom's machines.
    Note that the way I wrote this script, although it was written specifically to support LEAP 15.0 and TW, it should also work for any 42.3, and would expect it to continue to work for 15.1 and beyond (well until the lc0 compile requires new or different dependencies).

    HTH,
    tSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  10. #10
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    984

    Default Re: Is it possible modified an ISO ?

    Quote Originally Posted by Asimov View Post
    I want modified a live OpenSuse and create a version from for new students in Ruby programming with the addition of some text editor and database editor. not part of any depos. In some case, only binaries exist. (i might need a link like RPM for dummy). The ultimate goal is a USB stick with everything pr-install and pr-configured for a Ruby programmer.
    I have an USB stick with an updated version of Leap 15.1:

    Code:
    erlangen:~ # lsblk -f  /dev/sdc
    NAME   FSTYPE  LABEL                       UUID                                 FSAVAIL FSUSE% MOUNTPOINT
    sdc    iso9660 openSUSE_Leap_15.1_KDE_Live 2019-08-01-16-22-40-00                              
    ├─sdc1 iso9660 openSUSE_Leap_15.1_KDE_Live 2019-08-01-16-22-40-00                     0   100% /run/media/karl/openSUSE_Leap_15.1_KDE_Live
    ├─sdc2 vfat    BOOT                        080B-F3FC                                           
    └─sdc3 ext4    cow                         cec96381-7c8a-4fe1-b809-b5b5c21f645b     53G     3% /run/media/karl/cow
    erlangen:~ #
    Changes and additions go to /dev/sdc3. And yes, there is a newer kernel version:

    Code:
    erlangen:~ # ll /run/media/karl/cow/rw/boot/
    total 19524
    -rw-r--r-- 1 root root      65 Aug 11 10:54 .vmlinuz-4.12.14-lp151.28.13-default.hmac
    -rw-r--r-- 1 root root 3654833 Aug 11 10:14 System.map-4.12.14-lp151.28.13-default
    -rw-r--r-- 1 root root  199831 Aug 11 09:46 config-4.12.14-lp151.28.13-default
    -rw-r--r-- 1 root root       0 Aug 21 16:25 do_purge_kernels
    lrwxrwxrwx 1 root root      34 Aug 21 16:25 initrd -> initrd-4.12.14-lp151.28.13-default
    -rw-r--r-- 1 root root  406394 Aug 11 10:17 symvers-4.12.14-lp151.28.13-default.gz
    -rw-r--r-- 1 root root     484 Aug 11 10:17 sysctl.conf-4.12.14-lp151.28.13-default
    -rw-r--r-- 1 root root 8367442 Aug 11 10:22 vmlinux-4.12.14-lp151.28.13-default.gz
    lrwxrwxrwx 1 root root      35 Aug 21 16:25 vmlinuz -> vmlinuz-4.12.14-lp151.28.13-default
    -rw-r--r-- 1 root root 7344240 Aug 11 10:54 vmlinuz-4.12.14-lp151.28.13-default
    erlangen:~ #
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

Page 1 of 2 12 LastLast

Posting Permissions

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