How to migrate from Ubuntu 18.04

10 replies [Last post]
Narcis Garcia
Offline
Joined: 04/15/2019

Hello, I need to migrate an Ubuntu 18.04 to Trisquel, I only have VNC
and SSH access to that computer, and its hard disk has a huge amount of
data (can't format ~ erase).

I've open this issue because published procedure for Ubuntu 12 is not
working (I've tried manual commands instead of running whole script):
https://devel.trisquel.info/trisquelize/trisquelize/issues/1

Thank you.

jxself
Offline
Joined: 09/13/2010

To crossgrade over you have to be using the same Ubunutu version as what Trisquel is based on. The latest version of Trisquel (8) is based on Ubuntu 16.04 LTS (Xenial Xerus.) There is no Trisquel version that corresponds to 18.04 so a crossgrade is not possible. If you want to move to Trisquel your only option is to reinstall or wait until Trisquel 9 is released. Trisquel doesn't have set release dates so there is no date for when that will come out.

Narcis Garcia
Offline
Joined: 04/15/2019

Is there a procedure to reinstall as Trisquel, without formatting root
partition?
(scenario is single partition in a single disk)

Thank you.

El 15/4/19 a les 15:06, name at domain ha escrit:
> To crossgrade over you have to be using the same Ubunutu version as what
> Trisquel is based on. The latest version of Trisquel (8) is based on
> Ubuntu 16.04 LTS (Xenial Xerus.) There is no Trisquel version that
> corresponds to 18.04 so a crossgrade is not possible. If you want to
> move to Trisquel your only option is to reinstall or wait until Trisquel
> 9 is released. Trisquel doesn't have set release dates so there is no
> date for when that will come out.

jxself
Offline
Joined: 09/13/2010

It might be, using some magic with debootstrap, but just in case I recommend that you have a backup of your data. It sounds like you don't currently have one. That would be good to make. Backups are important just in case, even if you're not doing major operating system surgery.

Ignacio.Agullo
Offline
Joined: 09/29/2009

On 15/04/19 15:06 wrote:
> To crossgrade over you have to be using the same Ubunutu version as
> what Trisquel is based on. The latest version of Trisquel (8) is based
> on Ubuntu 16.04 LTS (Xenial Xerus.) There is no Trisquel version that
> corresponds to 18.04 so a crossgrade is not possible. If you want to
> move to Trisquel your only option is to reinstall or wait until
> Trisquel 9 is released. Trisquel doesn't have set release dates so
> there is no date for when that will come out.

Just curious...what would happen if you tried to run the
"trisquelize" script on Ubuntu 18.04?

--
Ignacio Agulló · name at domain

Ignacio.Agullo
Offline
Joined: 09/29/2009

On 15/04/19 15:12, Ignacio Agulló wrote:
> Just curious...what would happen if you tried to run the "trisquelize"
> script on Ubuntu 18.04?

I'm replying to myself... I see, the answer is already documented:

|

|Calculating upgrade... Hmm, seems like the AutoRemover destroyed
something which really shouldn't happen. Please file a bug report
against apt.|

|

--
Ignacio Agulló · name at domain

nadebula.1984
Offline
Joined: 05/01/2018

Is it possible to ask someone who have physical access to that computer to do it?

Narcis Garcia
Offline
Joined: 04/15/2019

Yes, I can make this request, but that someone will be a totally
unexperienced user.

El 15/4/19 a les 16:00, name at domain ha escrit:
> Is it possible to ask someone who have physical access to that computer
> to do it?

friki64
Offline
Joined: 02/20/2019

I recommend to make a backup. If you can not or do not want, downsize said partition using GParted to release at least 5 GiB (I recommend more), turn off your computer once the resizing is complete, boot from the installation disk, select "install alongside Ubuntu" after selecting your language, after installing trisquel you will have both operating systems, move your files from the Ubuntu partition to the Trisquel partition, you can ask later how to uninstall Ubuntu.

Narcis Garcia
Offline
Joined: 04/15/2019

Thank you; I'll try to do with some strategy like this.
Each OS installer should support installing from an application, without
booting its CD/DVD.

El 16/4/19 a les 4:16, name at domain ha escrit:
> I recommend to make a backup. If you can not or do not want, downsize
> said partition using GParted to release at least 5 GiB (I recommend
> more), turn off your computer once the resizing is complete, boot from
> the installation disk, select "install alongside Ubuntu" after selecting
> your language, after installing trisquel you will have both operating
> systems, move your files from the Ubuntu partition to the Trisquel
> partition, you can ask later how to uninstall Ubuntu.

Narcis Garcia
Offline
Joined: 04/15/2019

I only succeeded by following this filesystem downgrade*:*
https://wiki.openvz.org/Installation_on_Debian_9#How_to_remove_metadata_csum_from_a_mounted_partition

After this, partition can be resized and installation can be done on
same partition:

* Removing everything but /home (or renaming such as /etc.bak /var.bak
...)
* Not formatting partition
* Using different target username or renaming old profile directory
(such as /home/user.bak)

What I was looking for was a procedure without needing to boot different
media (e.g. running Ubiquity from Trisquel media) and without making a
new /etc

El 16/4/19 a les 8:15, Narcis Garcia ha escrit:
> Thank you; I'll try to do with some strategy like this.
> Each OS installer should support installing from an application, without
> booting its CD/DVD.
>
>
> El 16/4/19 a les 4:16, name at domain ha escrit:
>> I recommend to make a backup. If you can not or do not want, downsize
>> said partition using GParted to release at least 5 GiB (I recommend
>> more), turn off your computer once the resizing is complete, boot from
>> the installation disk, select "install alongside Ubuntu" after selecting
>> your language, after installing trisquel you will have both operating
>> systems, move your files from the Ubuntu partition to the Trisquel
>> partition, you can ask later how to uninstall Ubuntu.