Remastering SolydXK [adapted: 26 July 2019]

Post your tutorials and howtos here.
User avatar
Arjen Balfoort
Site Admin
Posts: 9280
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Remastering SolydXK [adapted: 26 July 2019]

Postby Arjen Balfoort » 16 Jun 2013 12:32

If you have the need to create a SolydXK iso with some extra programs or custom configuration that you can use on a USB stick, or even plan to build a CE of SolydXK, this is the thing for you.

Disclaimer
SolydXK Constructor was created for maintaining the current SolydXK ISO's, and is provided as-is: support is not provided.

Source: https://github.com/SolydXK/solydxk-constructor

Installation
Make sure you're sources.list looks like this:

Code: Select all

deb https://repository.solydxk.com solydxk-10 main upstream import
deb http://deb.debian.org/debian buster main contrib non-free
deb http://security.debian.org buster/updates main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free
You can replace 'buster' with another name if this one is out-dated.
Upgrade your system, and install solydxk-constructor:

Code: Select all

sudo apt update
sudo apt upgrade
sudo apt install solydxk-constructor
SolydXK Constructor Help
SolydXK Constructor comes with a small help file to get you started. Below you find a description of minimal steps to start building your customized SolydXK ISO.

SolydXK Constructor helps building your custom SolydXK ISO, and was solely created for maintaining the current SolydXK ISO's, but it might benefit those who want to build their custom SolydXK ISO.

You can download SolydXK's nightly builds here: http://downloads.solydxk.nl/nightly

Before you start, take a good look at the Help page.

Example build: SolydK
  1. Add the ISO with the constructor (see the Help file on how to do that).
  2. Edit root/etc/apt/sources.list if needed
  3. Hit "Upgrade"
  4. Hit "Edit in terminal" and install any package you need.
  5. Edit boot/isolinux/splash.png if you don't have a Grub theme installed.
    If you are building with a SolydXK-10 or higher host, it will have a Grub theme.
  6. Hit "Build"
Use Debian live as base
As said above: the SolydXK Constructor was built to maintain the SolydXK ISOs. However, theoretically it should also work with a Debian Live ISO: http://www.debian.org/CD/live
If you use Debian, you'll need the "isolinux" directory (and its contents) to replace the "isolinux" directory in the Debian unpack directory.
After that you'll need to configure the distribution from scratch.


SolydXK needs you!
Development | Testing | Translations

User avatar
tuktuk22
Posts: 105
Joined: 20 Mar 2013 08:54

Re: Remastering SolydXK

Postby tuktuk22 » 27 Aug 2013 12:52

hello schoelje, i have tried this in Solydx but it only created empty folders : remaster and root.

what did i do wrong?

Code: Select all

$ solydxk-constructor 

Setting up the GUI...


INFO: Saving working directory information...
Custom Directory: /home/klutuk/solyd
Create New Project: True
ISO Filename: /media/TOSHIBA/linux/solydx32-201308.iso
INFO: Setting up working directory...
Using ISO for remastering...
Copying files...
Finished copying files...
umount: /media/cdrom0: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
Using ISO for squashfs root...
mount: according to mtab /media/TOSHIBA/linux/solydx32-201308.iso is already mounted on /media/cdrom as loop
Mounting squashfs...
Extracting squashfs root...
Unmounting tmpsquash...
umount2: Invalid argument
umount: /home/klutuk/solyd/tmpsquash: not mounted
Unmounting cdrom...
Removing tmpsquash...
Setting proper permissions...
chmod: cannot access `/home/klutuk/solyd/root/usr/bin/sudo': No such file or directory
chmod: cannot access `/home/klutuk/solyd/root/etc/sudoers': No such file or directory
Finished extracting squashfs root...
Playing WAVE '/usr/lib/solydxk/constructor/done.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
Finished setting up working directory...
 
Copying DNS info...
cp: cannot create regular file `/home/klutuk/solyd/root/etc/resolv.conf': No such file or directory
Stop Apache, MySQL, and Webmin services
umount: /home/klutuk/solyd/root/proc/: not found
umount: /home/klutuk/solyd/root/dev/: not found
umount: /home/klutuk/solyd/root/dev/pts/: not found
Mounting /proc /dev /dev/pts filesystems...
mount: mount point /home/klutuk/solyd/root/proc does not exist
mount: mount point /home/klutuk/solyd/root/dev does not exist
mount: mount point /home/klutuk/solyd/root/dev/pts does not exist
Copying wgetrc configuration...
mv: cannot stat `/home/klutuk/solyd/root/etc/wgetrc': No such file or directory
cp: cannot create regular file `/home/klutuk/solyd/root/etc/wgetrc': No such file or directory
Launching Xterm for advanced customization...
Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Restoring wgetrc configuration...
mv: cannot stat `/home/klutuk/solyd/root/etc/wgetrc.orig': No such file or directory
Removing DNS info...
Umounting /proc  /dev /dev/pts ...
umount: /home/klutuk/solyd/root/proc/: not found
umount: /home/klutuk/solyd/root/dev/: not found
umount: /home/klutuk/solyd/root/dev/pts/: not found
umount: /home/klutuk/solyd/root/proc/: not found
umount: /home/klutuk/solyd/root/dev/: not found
umount: /home/klutuk/solyd/root/dev/pts/: not found
Start Apache, MySQL, and Webmin services

- solydk64
- debian testing

User avatar
Arjen Balfoort
Site Admin
Posts: 9280
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK

Postby Arjen Balfoort » 27 Aug 2013 13:35

Did you use a SolydXK iso (not the Multi DVD) as a base?
For me it works...daily.


SolydXK needs you!
Development | Testing | Translations

User avatar
tuktuk22
Posts: 105
Joined: 20 Mar 2013 08:54

Re: Remastering SolydXK

Postby tuktuk22 » 27 Aug 2013 14:00

i have try this on 2 system,
first one on solydx installed at PC using (maybe) april iso (old system-but updated)
and the second one fresh install solydx 201308 on vbox :?

same output
- solydk64
- debian testing

User avatar
Arjen Balfoort
Site Admin
Posts: 9280
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK

Postby Arjen Balfoort » 27 Aug 2013 15:11

I'd like to look into it further, but it has no high priority at the moment, I'm afraid.
If you know Python (or any sort of coding), you can look into it, but I don't have much time :(


SolydXK needs you!
Development | Testing | Translations

User avatar
tuktuk22
Posts: 105
Joined: 20 Mar 2013 08:54

Re: Remastering SolydXK

Postby tuktuk22 » 28 Aug 2013 06:55

Schoelje wrote: If you know Python (or any sort of coding), you can look into it...
not yet :lol:
- solydk64
- debian testing

User avatar
Arjen Balfoort
Site Admin
Posts: 9280
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK

Postby Arjen Balfoort » 01 Sep 2013 11:24

A new version is now in testing, and should come with the next UP.
That'll probably fix your issue.


SolydXK needs you!
Development | Testing | Translations

NGIB
Posts: 31
Joined: 30 Aug 2013 10:41
Location: Hinesville GA, USA

Re: Remastering SolydXK

Postby NGIB » 05 Sep 2013 11:00

Rather than reinvent the wheel in terms of remastering an installed system, perhaps this will give the developer a leg up:

http://system-imaging.blogspot.com/2013 ... -code.html

The remastersys package was/is used by many debian/ubuntu based systems and it works. Not having the ability to remaster an installed installation (I have no interest in creating my own "spin") limits SolydXK. Many of us with multiple computers to manage use this capability to do an install/update/add software/customize on one computer and then deploy the remastered system to other computers. I have 3 machines at home and this capability is critically important to me and I suspect others...

cristy78
Posts: 33
Joined: 21 Jul 2013 10:50

Re: Remastering SolydXK

Postby cristy78 » 05 Sep 2013 11:36

the remastersys package was/is used by many debian/ubuntu based systems and it works. Not having the ability to remaster an installed installation (I have no interest in creating my own "spin") limits SolydXK. Many of us with multiple computers to manage use this capability to do an install/update/add software/customize on one computer and then deploy the remastered system to other computers. I have 3 machines at home and this capability is critically important to me and I suspect others...

+ 1 ...subscribe to this..

NGIB
Posts: 31
Joined: 30 Aug 2013 10:41
Location: Hinesville GA, USA

Re: Remastering SolydXK

Postby NGIB » 05 Sep 2013 11:48

I like SolidX but until it has a remaster capability it remains on the "waiting list" for me. I have to have installable backups as I just have a lot of computers I take care of. Right now my main system is PCLinuxOS as it has an extremely smooth and functional remaster capability. In 10 minutes (on a Core I7 CPU), I can create an ISO of my installed system and write it to a USB drive - all from inside PCLOS. SparkyLinux has integrated this capability (so I know it works with debian testing) but sadly this distro is just not "polished" enough to deploy on multiple computers...

User avatar
tuktuk22
Posts: 105
Joined: 20 Mar 2013 08:54

Re: Remastering SolydXK

Postby tuktuk22 » 09 Sep 2013 04:49

Schoelje wrote:A new version is now in testing, and should come with the next UP.
That'll probably fix your issue.
my issue has been fixed after the update :mrgreen:
thanks schoelje.. i will play with it a little
- solydk64
- debian testing

User avatar
Arjen Balfoort
Site Admin
Posts: 9280
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK

Postby Arjen Balfoort » 08 Dec 2013 20:56

I'm testing out a new version of solydxk-constructor: http://forums.solydxk.nl/viewtopic.php?f=33&t=2242


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9280
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK

Postby Arjen Balfoort » 15 Jan 2014 09:06

I've updated the OP.
SolydXK Constructor has had some major reconstruction. This small tutorial is also included in the solydxk-constructor package.

Please, post any bugs/findings here.


SolydXK needs you!
Development | Testing | Translations

Deleted User 2763

Re: Remastering SolydXK

Postby Deleted User 2763 » 15 Jan 2014 13:57

(looking for the "Like" button)
Cool.
-Hinto

tux-world
Posts: 31
Joined: 22 Jan 2014 19:34

Re: Remastering SolydXK

Postby tux-world » 23 Jan 2014 10:49

this remaster can create installer for new remastering distro?

User avatar
Arjen Balfoort
Site Admin
Posts: 9280
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK

Postby Arjen Balfoort » 23 Jan 2014 11:22

tux-world wrote:this remaster can create installer for new remastering distro?
I'm sorry, I don't know what you mean, but solydxk-creator makes it possible to change a downloaded SolydXK iso, and build a new iso from that.


SolydXK needs you!
Development | Testing | Translations

tux-world
Posts: 31
Joined: 22 Jan 2014 19:34

Re: Remastering SolydXK

Postby tux-world » 23 Jan 2014 11:44

my means is can i install new created distro? that have installer distro wizard?

User avatar
Arjen Balfoort
Site Admin
Posts: 9280
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK

Postby Arjen Balfoort » 23 Jan 2014 11:47

tux-world wrote:my means is can i install new created distro? that have installer distro wizard?
Yes, the iso that you create with solydxk-creator can be installed like any SolydXK iso.


SolydXK needs you!
Development | Testing | Translations

tux-world
Posts: 31
Joined: 22 Jan 2014 19:34

Re: Remastering SolydXK

Postby tux-world » 23 Jan 2014 21:54

how to startup kde in chroot and installing apache2 on that?
after installing that. i get error to start service

User avatar
Arjen Balfoort
Site Admin
Posts: 9280
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Remastering SolydXK

Postby Arjen Balfoort » 23 Jan 2014 22:14

Did you follow the tutorial?
After unpacking the ISO (step 1), you simply check the checkbox of the ISO in the list, and click on the "Edit in terminal" (step 4). In the terminal you install the packages you need:

Code: Select all

apt-get install apache2
After that you build the new ISO (step 6), and test that ISO in VB. I did so for SolydK Back Office today.


SolydXK needs you!
Development | Testing | Translations


Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 3 guests