SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-08-15 21:17:14

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

HowTo: Make your own iso, with Remastersys

Ever wanted to make your own Crunchbang personal iso? Would you like an elusive CD-sized version of your favourite distro for your old hardware? Remastersys is a set of scripts that can take most of the pain out of the process.

[NB systemd users Installation method ]

Everything that follows can be done on the command line with remastersys, but let's go with the graphical version remastersys-gui

You can just follow the defaults to get something completely acceptable, or you could hack at the remastersys scripts themselves to really personalise things. For example, in my own installation I have edited some of the dialogs, so that some options have my own "branding", and I have set the distro installation procedure to have my preferred keyboard and region, without having to grind through console-setup.

You don't get as many installation options as with the Debian Live installer though, and fstab entries are in the old "/dev/" format. (My own version converts these to the UUID format, but it is quite simple to do a conversion manually later)

The compressed filesystem needs be 4GB or less  - This is a restriction imposed by genisomage which remastersys uses.

The REMASTERSYS project itself is now moribund, but is still installable with apt-get, and there are deb packages floating around as well. It isn't known for how much longer the repo will be up, so it makes sense to grab it while you can.

There is a Remastersys fork which started off with a flashy fanfare, but has now also fallen on hard times it seems. Black Lab Image Creator

You can acquire the  installation .deb and source code by donating $50.00 USD

yikes I don't think we will be going there will we?

[It shouldn't need saying, but DON'T try and get it from an Ubuntu package. It won't work!]

**********************************************************************************************************

remsys-about.jpg

Among the things it can do:

    Make a livecd/dvd system backup
    Make a distributable livecd/dvd of your system (your very own distrolet smile )
    Copy a distributable iso to a usb stick

**********************************************************************************************************

How to install Remastersys

    1)   Add the repo to your /etc/apt/sources.list
   

    ## Remastersys
    deb http://www.remastersys.com/debian wheezy main

    (or create the file /etc/apt/sources.list.d/remastersys.list and add those lines to it)


    2)  Get the gpg signing key (make sure the dashes are right)
   

$ wget -q -O - http://www.remastersys.com/debian/remastersys.gpg.key | sudo apt-key add -

   
    3)  Install remastersys and the gui
   
    The recent version of remastersys uses yad for the dialogs, so you need to have this installed as well.
   

sudo apt-get update && sudo apt-get install --no-install-recommends remastersys remastersys-gui yad

    yad is included in the remastersys repo, or you can build it from yad sourceforge

***********************************************************************************************************

Make your own distributable iso

[Big thank you to ew here for the personal HowTo that this is based on, and some of his scripts that I modified smile ]

    1)  First build your system and configure it how you want
   
    I find that the easiest way is to do a fresh install, and do your updates, configs, themes, menus etc. Then use eg bleachbit or smxi to clean out caches and /var (if you have used synaptic then /var/cache/apt-xapian-index can get quite big); logfiles and other cruft; browser data.
   
    If you are concerned about getting the iso as small as possible, eg for a sub-700MB CD, then now is the time to remove those applications which use up a lot of space.

    Run Remastersys with
   

sudo remastersys-gui

then from the Main Menu choose "Modify"
remsys-gui-modify-th.jpg
remsys-gui-modify-menu-th.jpg

    Live username           This is also the live password. "live" is the default (NB MUST be lowercase)
    Live System Name      Your chance for immortality here wink
    Live ISO filename       Don't forget ".iso" at the end. eg "cb11-amd64-damo.iso"
        Don't touch the next 3 items without doing some research first wink
    Show install icon       Unless you are using a WM with a desktop, this doesn't do anything
    Excluded files            I put /media and /mnt here, just in case I forgot to unmount them
   
    When you are happy, "Save" and "Back" to return to the main screen

   If you choose to use GRUB instead of ISOLINUX as the live boot loader, then you will need to install xorriso
   (There is an error in the dependencies in the control file in the default Remastersys. See this post)

    2)  User's /home and configuration

    This is built from /etc/skel, so the easy way is to use "SkelClean" to clear it out .
(NB one click and it is gone - be warned! Just to reassure you, it doesn't delete your /home/user files, just those in /etc/skel which were used during the original installation to build your new /home/user).

You can then copy your configs and home to /etc/skel with "DistSkel". (You can of course manually copy things across)
   
    You may now need to do some cleaning in /etc/skel to remove personal data, like accounts access via .config/chromium! If in doubt, leave it out. (This is one of the reasons for doing it with a fresh install wink )
As long as you have  the things that handle autostart, menus, rc.xml, themes, wallpapers and custom stuff like that, the rest will be installed by defaults.
   
    Wallpaper If you want this installed then it needs to be in /usr/share/backgrounds
    If you are using nitrogen to handle the backgrounds then
    ~/.config/nitrogen/bg-saved-cfg should have the line "file=/usr/share/backgrounds/wallpaper-name.jpg"
    and ~/.config/nitrogen/nitrogen-cfg should have the line "dirs=/usr/share/backgrounds;"

    cb-welcome Make sure that /etc/skel/.config/crunchbang is EMPTY before you run "Dist" to make the iso, otherwise cb-welcome won't run when you first boot your new personalised Crunchbang. Remember you can run it any time with the cb-welcome command.

    Default Groups When Remastersys creates a new user, it doesn't have sudo privileges by default, so to make sure the default user can use sudo I suggest the best method is to use the default Crunchbang groups, so edit /etc/remastersys/remastersys-installer.conf  to read

# You can set your default groups below but be very careful as errors to this can result in the installer not being able to create the new user
# DEFAULTGROUPS="audio,cdrom,dialout,floppy,video,plugdev,netdev"
DEFAULTGROUPS="sudo,audio,cdrom,dialout,fuse,scanner,bluetooth,floppy,video,plugdev,netdev,dip,cbnetwork"

   AVOID ANY TYPOS HERE!


    3)  Live menu
   
    You need to have a way to install it from a live session, so you need a menu entry in /etc/skel/.config/openbox/menu.xml, which is the menu used both in the live session and the installation. (You could always run one of the following commands in a terminal, but I haven't tried that). The distro can be installed with or without a swap option, or a script to choose between them.
    The commands to install the distro are:

remsu remastersys-installer-noswap gui
#or with swap
remsu remastersys-installer gui
    

    So add something like this to the menu:
   

    <item label="INSTALL DISTRO">
        <action name="Execute">
            <command>
                remsu remastersys-installer gui
            </command>
        </action>
    </item> 

    Or if you want a script to choose between them, use the following code.
    (NB save it as /usr/bin/install.sh, not in ~/bin)

    Then you can use <command>install.sh</command> in the menu.xml stanza instead of <command> remsu remastersys-installer gui</command>

    #!/bin/bash
    #
    # script to choose whether the remastersys installer uses swap/no swap
    # Adapted from ewx-install by @ew
    # damo - April 2014
    
    DISTRONAME='Your distro name here'
    txt="  INSTALL $DISTRONAME\n  --------------------------------------------\n\n  During the installation process you can set\n  mountpoints for '/' and '/home'\n\n  If you want additional partitions then they can be\n  created with gparted, but you will have to set them\n  yourself in 'fstab'\n\n\n\n  Choose whether to install with a 'swap' partition:"
    
    yad  --image "dialog-question" --undecorated --center \
    --text "$txt" \
    --geometry="400x240" \
    --button="Swap":2 --button="NoSwap":3 --button=gtk-cancel:1
    
    case "$?" in
    
      1)  exit 0;;
      2)  remsu remastersys-installer gui
          exit 0;;
      3)  remsu remastersys-installer-noswap gui
          exit 0
        ;;
    esac
    

   
    To remove the menu entry after installation

    Manually edit ~/.config/openbox/menu.xml after installation, or you can set the installer to swap it for a default menu by configuring the install script as follows:
   
        Copy menu.xml and call it menu.xml.install; edit menu.xml.install and remove the "INSTALL DISTRO" section (ie make it the version you want to use after installation)
       
        Edit /usr/bin/remastersys-installer, and around line 1255, after the Grub section, add the
        "# Replace Live menu" command so the file looks like
       

...
...
if [ "$GUI" != "" ]; then
progressbar "Installing and setting up grub...Please Wait\n" &
xterm -e /tmp/Remastersys-Grub-Install
sleep 1
rm -rf /tmp/Remastersys-Grub-Install
else
echo "Installing and setting up grub."
/tmp/Remastersys-Grub-Install
sleep 1
rm -rf /tmp/Remastersys-Grub-Install
fi

##########  Add this section ############################################
# Replace Live menu  
cp $TARGET/etc/skel/.config/openbox/menu.xml.install $TARGET/home/$USER/.config/openbox/menu.xml

###################################################################

echo "Post-install has completed."
echo
echo "Unmounting the TARGET partition."
...
...

*************************************************************************************************************

  Remastersys iso

    The compressed filesystem needs to be 4GB or less, or the process will fail
    You also need to ensure there is enough space on the drive to hold everything during the process.

    After running "Dist" a new user will have been created as /home/remastersys - in there is the new iso and md5checksum.

    On the main menu "Clear" will clean out this working directory (but doesn't remove the remastersys user)


*************************************************************************************************************   

    Your very own "cb-welcome" post-install scripts

    Make sure that /etc/skel/.config/crunchbang is EMPTY before you run "Dist" to make the iso, otherwise cb-welcome won't run when you first boot your new personalised Crunchbang.
   
    This could also be the time to edit the cb-welcome screens if you want to be presented with choices to install particular applications. My version runs a couple of extra README screens, followed by other personal post-install choices:
welcome-1-th.jpg
welcome-2-th.jpg

    To do something like that then edit /usr/bin/cb-welcome (Your own screens can be files saved in /usr/lib/lib-cb-welcome)
   
    Around line 70 I removed the original "intro" step, then added a couple of steps before the network connection test
   

    # Run through steps
    
    STEP=$((STEP+1))
    . $LIBDIR/README
    
    STEP=$((STEP+1))
    . $LIBDIR/README2
    
    connectiontest
    

    The README file looks like this:
   

    clear
    
    echo "  -----------------------------[ screen $STEP of $STEPS ]----------------------------
    
      CB11-GRAFIX-LITE INTRO
      ______________________
    
      This is a stripped version of Crunchbang, which can fit on a CD.
      
      The themeing is my personal preference, but can easily be changed with obconf
      and lxappearance. This installation uses a slightly modified \"inblue\" for 
      Openbox windows and menus, and \"crunchy-dark-grey\" for the gtk.
    
      Many of the post-install options have instead been added as pipemenus in the
      main menu, especially for applications that won't fit on the sub-700MB iso.
      This leans mainly towards 2D/3D graphics apps.
    
      Printer support can be installed from the menu.
    
      I have included several extra utilities I consider very useful (and should be
      on the default Crunchbang!) - most notably mlocate and smxi. 
    
      There is a menu item to display keybinds, for easy reference.
    
      ----------------------------------------------------------------------
      
      This re-spin of Crunchbang Linux was configured and remastered by damo
    
    
    
                      continue, or \"q\" to quit........."
    read -n1 a
    a=`echo $a | tr '[A-Z]' '[a-z]'`
    if [ "$a" = "q" ]; then
        clear
        exit 0
    fi
    

   
    Obviously you could have your own post-install scripts here as well. It should be fairly obvious how they are structured - use  one of the /usr/lib/lib-cb-welcome/ files as a template, and add a STEP to the cb-welcome script.

    Remove the live tools

    Lastly you may want an option to remove the live tools you used to remaster the iso.
   
    Create the script to do the job: /usr/bin/livetools-remove

    
    #!/bin/bash
    ## Remove remastering software and live tools
    ## EW -feb.2014
    ## modified by damo - April 2014
    
    
    sudo apt-get --purge remove dialog genisoimage hwdata laptop-detect libcrypt-passwdmd5-perl live-boot live-boot-doc live-boot-initramfs-tools live-config live-config-doc live-config-sysvinit live-tools memtest86+ mtools read-edid squashfs-tools syslinux syslinux-common xresprobe
    
    sudo rm /usr/bin/remaster* && sudo rm -rf /etc/remastersys && sudo rm /etc/remastersys.conf
    
    sudo rm /usr/share/pixmaps/remastersys*
    
    sudo rm /var/log/remastersys-installer.log
    
    sudo rm /usr/bin/install.sh
    
    sudo apt-get autoremove
    
    exit 0
    
    

    Create the post-install screen: /usr/lib/lib-cb-welcome/remove-live-tools

   

    # EW -feb.2014
    # modified by damo - April 2014
    clear
    
    echo "  -----------------------------[ screen $STEP of $STEPS ]----------------------------
    
      REMOVE LIVE TOOLS 
      -----------------
      Remastersys is installed together with live-tools used to remaster
      and make this distro.  
      
      Note: These tools aren't needed unless you want to make your own iso!
    
      If you run this script, the live-tools collection will be uninstalled
      and the remastersys directories and config files deleted.
    
      YAD (\"Zenity on steroids\"!) will remain, because it is useful :)
    
      ---------------------------------------------------------------------"
         
    if prompt "  Would you like to remove the live tools?"; then
           livetools-remove
    fi
    

    and add the entry to cb-welcome as the last step, just before ". $LIBDIR/fini"
   

    STEP=$((STEP+1))
    . $LIBDIR/remove-live-tools
    

**************************************************************************************************************

USB copy tool

I haven't used this, but looking at the script it uses dd which is the recommended crunchbang method, so you should be good to go with that.

**************************************************************************************************************

fstab entries

If you want to convert the default /etc/fstab entries manually after installation, then get the UUID's using the blkid command, and substitute the /dev entries.

(If you are unsure, then don't do this! There is plenty of help on the forums or fstab tutorials if you need it)

It should end up similar to this (root section from my fstab)

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=f0c2c1f7-2c8e-4f03-805f-a329aee94fda /               ext4    errors=remount-ro 0       1

To do it automatically, then you need to edit /usr/bin/remastersys-installer. Around about line 1028 is the "#create the new fstab" section, so add the following code to the end (immediately before the "#remove diverted update-initramfs..." section)

# Convert /dev fstab entries to UUID ---------------------------------------------------

FSTAB="/TARGET/etc/fstab"
TEMPFILE="/TARGET/tmp/fstab-temp"
# Get /dev entries and store in temp file
sed -n 's|^/dev/\([sh]d[a-z][a0-9]\).*|\1|p' <$FSTAB >$TEMPFILE

# change fstab entries to UUID format
while read LINE; do
    UUID=`ls -l /dev/disk/by-uuid | grep "$LINE" | sed -n 's/^.* \([^ ]*\) -> .*$/\1/p'`
    echo $UUID
    sed -i "s|^/dev/${LINE}|UUID=${UUID}|" $FSTAB
done < $TEMPFILE

cat $FSTAB                      # output new fstab file
rm $TEMPFILE                    # remove temp file

#----------------------------------------------------------------------------------------

(This could be saved as a separate script to use after installation. Edit out the "/TARGET" part of the paths in that case, and make it executable)

************************************************************************************************************

I learned a lot about how Crunchbang was put together by doing this, and it makes my installations extremely simple. What a joy to boot for the first time to see your own wallpaper, menu, tint2, conkys on screen smile

Enjoy your new toy wink

[Thanks to ew for the original iso and HowTo he gave me; and Sector11 for advice and proof-reading smile ]

Last edited by damo (2014-12-15 14:21:30)


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

Be excellent to each other!

#2 2014-08-15 21:18:16

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: HowTo: Make your own iso, with Remastersys

A method to install Remastersys if you are running systemd:

As always - do this at your own risk!!
If you are using systemd, and try to install remastersys then...

The following packages will be REMOVED:
  systemd-sysv
The following NEW packages will be installed:
  cgmanager dialog genisoimage grub-pc hwdata laptop-detect libcgmanager0 libnih-dbus1 libnih1 live-boot
  live-boot-initramfs-tools live-config live-config-sysvinit memtest86+ remastersys squashfs-tools systemd-shim
  sysvinit-core

You could manually unpack the Remastersys package and copy the files into /etc and /usr/bin, then apt-get all the dependencies. Or do the following, which is easier and safer:

The idea is to get the deb package and open it up, change the dependencies file, then repackage it and install with dpkg/gdebi. So...

Download the deb package only, and extract (with some sample output to liven it up smile )

$ cd tmp
$ aptitude download remastersys
    Get: 1 http://www.remastersys.com/debian/ wheezy/main remastersys all 3.0.0-1 [642 kB]
    Fetched 642 kB in 1s (539 kB/s) 
$ mkdir -p extract/DEBIAN
$ mkdir build
$ dpkg-deb -x remastersys_3.0.0-1_all.deb extract/
$ dpkg-deb -e remastersys_3.0.0-1_all.deb extract/DEBIAN/

In the DEBIAN directory is the control file. You need to edit the Depends: section to read:

Depends: coreutils, dialog, memtest86+, mkisofs | genisoimage, findutils, syslinux, xorriso, os-prober, bash, passwd, sed, squashfs-tools, live-config-systemd | live-config-sysvinit, live-boot, live-config, live-boot-initramfs-tools, rsync, mount, laptop-detect, util-linux, syslinux-utils, hwdata

Don't change the order of the items - it is important for some of them to be read by dpkg before others!!!

Now we can repackage with

$ dpkg-deb -b extract/ build/
    dpkg-deb: building package `remastersys' in `build//remastersys_3.0.0-1_all.deb'.

In the build directory will be your remastersys deb, which you can then install with gdebi or dpkg -i.
You may get a warning that the package should be installed "from a software channel", but you can let that go smile

Last edited by damo (2014-12-16 14:52:51)


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#3 2014-08-15 21:19:27

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: HowTo: Make your own iso, with Remastersys

Placeholder for future requirements if needed

Last edited by damo (2014-08-15 21:21:44)


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#4 2014-08-15 21:29:22

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: HowTo: Make your own iso, with Remastersys

Epic guide, thanks damo!
Always wondered how to do that...
big_smile

Offline

#5 2014-08-15 23:18:29

antsunrise
#! CrunchBanger
Registered: 2014-06-11
Posts: 153

Re: HowTo: Make your own iso, with Remastersys

This is something I always wanted. Figured there would be some sort of way to get your distro perfect and to be able to make an ISO for future

Offline

#6 2014-08-16 07:29:43

1002richards
#! CrunchBanger
From: Sussex, UK.
Registered: 2009-08-17
Posts: 135

Re: HowTo: Make your own iso, with Remastersys

smile  Many thanks damo!
I'd used Remastersys in the past but thought it was gone.

Richard.

Offline

#7 2014-08-16 09:21:30

hrnn187
Member
Registered: 2014-07-29
Posts: 20

Re: HowTo: Make your own iso, with Remastersys

excellent! I've been trying to do something like this (just to fool around) but with remastersys out I found myself hopeless. I'll give it a try soon.

thanks!!

Offline

#8 2014-08-17 22:41:39

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: HowTo: Make your own iso, with Remastersys

OH yea!!!!  Now I can really fry my HDD  big_smile

That's a BIG thank you damo!


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#9 2014-09-03 10:59:30

photonucleon
Quantum Geek
From: Hogwarts
Registered: 2013-06-10
Posts: 952

Re: HowTo: Make your own iso, with Remastersys

So I've not been on the forums for a while, and I come back to find this. Epic!  big_smile


- Ai! Aníron Undómiel. -
- Some things are certain. -
- Et Eärello Endorenna utúlien. Sinome maruvan ar Hildinyar tenn' Ambar-metta. -

Offline

#10 2014-09-03 21:42:22

wagmic1
#! CrunchBanger
Registered: 2013-11-15
Posts: 119

Re: HowTo: Make your own iso, with Remastersys

thanks a lot! smile


I need to learn how to speak/write English big_smile
latest Firefox on #! handylinux

Offline

#11 2014-09-04 19:54:30

vlax
#! CrunchBanger
From: Alcatraz
Registered: 2012-12-25
Posts: 101
Website

Re: HowTo: Make your own iso, with Remastersys

really great guide to replicate my #! all over! tongue thank you damo


'_[=]_'

Offline

#12 2014-09-09 22:27:46

SecBang
New Member
Registered: 2014-09-02
Posts: 5

Re: HowTo: Make your own iso, with Remastersys

Really nice, I've been planning to do this and finding this guide made me really want to try it now!

Offline

#13 2014-09-10 03:11:39

HisVirusness
#! Member
From: The Wastes
Registered: 2014-09-03
Posts: 56

Re: HowTo: Make your own iso, with Remastersys

This guide is perfect for a "writer's distro" I had in mind...


I have tasted the flesh of fallen angels...

Offline

#14 2014-09-10 20:57:54

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: HowTo: Make your own iso, with Remastersys

Thanks for the encouraging responses guys smile

If you have any constructive comments, criticisms etc about the HowTo, then PM me please


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#15 2014-10-19 03:28:59

seraphtrend
#! CrunchBanger
From: Florida
Registered: 2011-12-03
Posts: 100

Re: HowTo: Make your own iso, with Remastersys

just what I was looking for, thanks damo.

Offline

#16 2014-10-22 20:12:40

Dragynn
Member
Registered: 2013-09-25
Posts: 24

Re: HowTo: Make your own iso, with Remastersys

Awesome helpful post, came here yesterday looking for this specific info, and got more than I hoped for, thanks damo! smile

Offline

#17 2014-10-22 20:16:39

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: HowTo: Make your own iso, with Remastersys

^ Thanks  :8


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#18 2014-10-23 00:02:51

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

Re: HowTo: Make your own iso, with Remastersys

I haven't went through the how-to in detail, but thank you for the effort and time you put into this.  You mentioned that Remastersys is no longer being developed, which I also discovered awhile back when I researched it.  Because of the lack of current development, I  decided not to spend time learning and using it.  I'll wait for something else to come along.


Linux User #586672
Come and Die -- Kyle Idleman

Offline

#19 2014-10-31 16:46:44

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: HowTo: Make your own iso, with Remastersys

WARNING for those running systemd

The following packages will be REMOVED:
  systemd-sysv
The following NEW packages will be installed:
  cgmanager dialog genisoimage grub-pc hwdata laptop-detect libcgmanager0 libnih-dbus1 libnih1 live-boot
  live-boot-initramfs-tools live-config live-config-sysvinit memtest86+ remastersys squashfs-tools systemd-shim
  sysvinit-core

sad


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#20 2014-12-12 12:08:04

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: HowTo: Make your own iso, with Remastersys


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#21 2014-12-12 12:14:46

Alad
Software Satan
Registered: 2014-02-20
Posts: 1,512

Re: HowTo: Make your own iso, with Remastersys

Nice to see someone work around systemd being removed  ]:D Great work btw  wink

Offline

#22 2014-12-15 14:20:25

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: HowTo: Make your own iso, with Remastersys

I've found an error in the dependencies in the control file of the default Remastersys:

If you decide to use grub instead of isolinux as the bootloader for the live iso, you need to apt-get xorriso, otherwise the build of the iso fails.

This doesn't affect the bootloader for the installed distro, just the live disc/usb, so you can still personalize grub for the installation if you want, and go with the default ISOLINUX option in the Modify menu.

[Updated the HowTo]

Last edited by damo (2014-12-15 14:45:53)


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#23 2014-12-29 00:42:09

Viomi
Member
Registered: 2014-12-24
Posts: 48
Website

Re: HowTo: Make your own iso, with Remastersys

Wow. Thanks tons for this, damo. Worked flawlessly, and now I have my own little distrolet for future installs on my machines.

Yay for backport kernels!

Last edited by Viomi (2014-12-29 00:42:29)

Offline

#24 2015-02-03 19:35:27

freistil
#! Member
Registered: 2014-12-16
Posts: 66

Re: HowTo: Make your own iso, with Remastersys

Sounds amazing!
That makes modifying the distro a lot easier if you want to bring your stylized system to other machines.

I have a question though:
Is it somehow possible to bring in or 'create' own versions of tint2rc and conkyrc?
I played around a lot there and I just have it how I like it - it would be cool if I could include these into the ISO.
Is that possible?

Offline

Help fund CrunchBang, donate to the project!

#25 2015-02-03 19:50:50

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: HowTo: Make your own iso, with Remastersys

freistil wrote:

Sounds amazing!
That makes modifying the distro a lot easier if you want to bring your stylized system to other machines.

I have a question though:
Is it somehow possible to bring in or 'create' own versions of tint2rc and conkyrc?
I played around a lot there and I just have it how I like it - it would be cool if I could include these into the ISO.
Is that possible?

The iso will include whatever you have on your system, apart from $USER data and anything you have specifically excluded. Read the guide for the answer to your question! (...add configs to /etc/skel, which will create the default new user configuration)


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo