Trisquelize script?

6 réponses [Dernière contribution]
FernandoV
Hors ligne
A rejoint: 03/22/2019

I have read this topic: https://trisquel.info/en/forum/ubuntu-1804-and-trisquelize-script-while-trisquel-9-not-existing

Can anybody point me to directions on how to "trisquelize" ubuntu?

For myself I have installed it the normal and usual way. I'm very happy with it, but I have previously installed ubuntu 16.04 (LTS) on my girlfriend's laptop and she's now jealous for all this free "vibe". She has her Documents folder encrypted and the OS fully configured and so I just don't have the time (and actually, space) to backup her laptop and install Trisquel for her from scratch, then restore the data, configure the applications, etc...

So, if she's running Ubuntu (actually Lubuntu) 16.04 (the same base as trisquel 8), is it possible to just run some scripts and get fully working Trisquel 8 without backuping and restoring all data? Would encrypted documents folder work after this?

BTW, I already tried Trisquel 8 live usb on that laptop and confirmed that all hardware works properly with free drivers. Help me free her laptop! :)

Thanks in advance

davidpgil
Hors ligne
A rejoint: 08/26/2015
FernandoV
Hors ligne
A rejoint: 03/22/2019

Thank you, David!

Can anybody confirm me that encrypted home folder (not encrypted disk) will work after running this script on lubuntu 16.04 LTS?

I will then do it and report the results.

Thanks

davidpgil
Hors ligne
A rejoint: 08/26/2015

In case no one else responds, perhaps create a disk image using Clonezilla or similar and test this yourself. It should not take too long and would be fairly low effort. You might want to create a disk image anyway before running the Trisquelize script in case the script does anything you may not prefer.

chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

> Can anybody confirm me that encrypted home folder (not encrypted disk)
> will work after running this script on lubuntu 16.04 LTS?

I have not used the script myself, but I've looked it over to get a
sense of what it does.

First note that the script is for Ubuntu 12.04 to Trisquel 6, so you'll
first need to update it for Ubuntu 16.04/Trisquel 8 by changing this
line:

RELEASE="toutatis"

to

RELEASE="flidas"

The script appears to do three things.

(1) It modifies /etc/apt/sources.list to use the Trisquel 8 repo instead
of the Ubuntu 16.04 repos, and then then updates your system. Most
Trisquel packages are not modified from upstream, and these will be left
alone. Any Ubuntu packages that Trisquel excludes will also be left
alone (for now). Any installed Ubuntu packages to which Trisquel has
made modifications will be replaced with Trisquel's version. This is
essentially the same process by which you would upgrade to a later
version of Ubuntu, but less invasive because most packages will stay the
same.

(2) It installs some Trisquel-specific packages like artwork and the
default desktop environment, and purges some Ubuntu-specific artwork
that it replaces.

(3) It checks for some non-free packages, and if it finds any it asks
you one-by-one if you want to remove them.

I don't see any reason that these steps would mess with your encrypted
home folder. Step (1) is less risky than upgrading to a later version of
Ubuntu. Step (2) seems harmless. If you have some hardware (WiFi, GPU)
that needs non-free firmware, then removing this firmware in step (3)
could cause an issue, but it shouldn't break your system and I don't
think it would affect your encrypted home folder.

That said, as with any large change to your system, I recommend doing a
backup first.

FernandoV
Hors ligne
A rejoint: 03/22/2019

Did it as chaosmonk suggested.

Tried to run this script from lubuntu 16.04 LTS. The script is probably too old. It removed a lot of packages, but broke the system. After a reboot there was still lubuntu artwork and LXDE environment, any trace of trisquel. Lubuntu booted after this script, however non functional, because lots of packages ar gone.

If somebody is interested what went wrong, I have copied the trisquelize log here: https://pastebin.com/sk6a6p1i

It would be nice to have a working script like this.

Anyway, I need no further help, because after this failure I decided not to waste my (and yours) time and installed a fresh copy of trisquel onto that computer. It's working fine now (and, most importantly - free).

Thank you guys for support!

Loic29
Hors ligne
A rejoint: 05/03/2019

Hi Fernando,
I also has problems with the script mentioned above, this one should work fine :
https://github.com/ChiefGyk/scripts/blob/master/trisquelize.sh
Regards