oem-install howto

Questions about SolydX and SolydK installation.
User avatar
albatrosdk
Posts: 12
Joined: 07 Apr 2018 06:37

oem-install howto

Postby albatrosdk » 07 Apr 2018 06:53

guys,
I'm having problems figuring out how to use the live-installer -o option, is it documented somewhere?

What I'd like to do is the following:
1. take an old PC, remove everything from it
2. install solydx on it
3. reset the configuration so that on first startup it asks for localization, timezone, user name etc. etc.

How do I accomplish this?

In Solaris we used to use sys-unconfig, which removed all modifications to the system except installed packages. So something like that would be cool.
see http://www.oracle.com/technetwork/artic ... html#close

Thanks,

/A

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

Re: oem-install howto

Postby Arjen Balfoort » 07 Apr 2018 07:52

The -o/--oem argument has not been documented. Simply because I was the only one testing it and it seemed that there was no need for it. So, using it might or might not work.

In theory you should install the system as usual but you run the installer from the terminal with the above mentioned argument. I don't know if it still works. I developed it quite some time ago and haven't looked at it since.


SolydXK needs you!
Development | Testing | Translations

User avatar
albatrosdk
Posts: 12
Joined: 07 Apr 2018 06:37

Re: oem-install howto

Postby albatrosdk » 10 Apr 2018 05:08

Ah, ok.

So, if it works the steps should be:
1. Do normal install.
2. Boot into installed system.
3. Add necessary extra software and patches.
4. Run live-installer -o
5. Reboot
6. Set up system locales etc. again add new user etc.

Is this correct?

/A

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

Re: oem-install howto

Postby Arjen Balfoort » 10 Apr 2018 06:11

No:
  1. Boot live
  2. Run the Live Installer.
  3. Install as usual but make sure your user name ends in "-oem", e.g.: solydxk-oem
  4. Reboot
  5. The user will be presented with a simplified Live Installer to ask for user information.
  6. When done, the live-installer is removed and the system is rebooted and the user can login.
Again, I haven't used it in a very long time. So, I don't know if it still works after all the changes I made.


SolydXK needs you!
Development | Testing | Translations

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

Re: oem-install howto

Postby Arjen Balfoort » 10 Apr 2018 06:38

I just found out in VB that it doesn't work anymore :(
Unfortunately, I haven't got time to look into this.

[Edit]
I see that /etc/xdg/autostart/oem-setup.desktop is created but not executed.
Perhaps the -oem user doesn't have the right permissions

I also edited step 2 in my previous post: you don't have to start the Live Installer with the -o argument. You only need to create a user with -oem at the end.


SolydXK needs you!
Development | Testing | Translations

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

Re: oem-install howto

Postby Arjen Balfoort » 10 Apr 2018 11:48

I've uploaded an updated live-installer-3 package to our repository.

When live:

Code: Select all

apt update
apt install live-installer-3
Follow the steps in my other post.
Tested with SolydX and I'm uploading new nightlies with the new installer.


SolydXK needs you!
Development | Testing | Translations

User avatar
albatrosdk
Posts: 12
Joined: 07 Apr 2018 06:37

Re: oem-install howto

Postby albatrosdk » 13 Apr 2018 06:33

Wow!

Thank you so much, I really appreciate you taking the time to do this.

I'm going to try it out asap.

/A

User avatar
albatrosdk
Posts: 12
Joined: 07 Apr 2018 06:37

Re: oem-install howto

Postby albatrosdk » 13 Apr 2018 08:58

Seems the updated live-installer-3 doesn't have the danish translation.

well -not completely, but after boot it looks right. Yup..

Ok, to summarize:
Normal install: choose danish keyboard and danish language. The installer is in danish, but the slideshow is in english.
Firstboot: everything works as expected and the installer is now all in danish.

Thanks!

/A

User avatar
albatrosdk
Posts: 12
Joined: 07 Apr 2018 06:37

Re: oem-install howto

Postby albatrosdk » 13 Apr 2018 09:07

Hmm. I just noticed that SolydXK Welcome doesn't run on first login as the new user. You might have missed that.

/A

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

Re: oem-install howto

Postby Arjen Balfoort » 13 Apr 2018 09:09

Did you do a OEM install (with user name ending in "-oem")?

Welcome screen skips if ~/.sws.flag exists. That usually happens after a fresh install where you choose not to format /home.


SolydXK needs you!
Development | Testing | Translations

User avatar
albatrosdk
Posts: 12
Joined: 07 Apr 2018 06:37

Re: oem-install howto

Postby albatrosdk » 13 Apr 2018 12:36

Yes, after I started cleaning out partition and wiping the drive after every try, it seems to work.

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

Re: oem-install howto

Postby Arjen Balfoort » 13 Apr 2018 13:06

Good to hear!

Now, if you add "[Solved]" to the subject line of your opening post, people will know there's a solution.


SolydXK needs you!
Development | Testing | Translations


Return to “Installation”

Who is online

Users browsing this forum: No registered users and 2 guests