[slint] Re: The upgrade process from 14.2 to 15?

  • From: Didier Spaier <didier@xxxxxxxx>
  • To: slint@xxxxxxxxxxxxx
  • Date: Tue, 31 May 2022 00:32:28 +0200

Hi Al and All,

answers inline

Le 30/05/2022 à 23:37, Al Sten-Clanton (albert.e.sten_clanton) a écrit :

Hi, Didier and all!


I've just started trying to understand btrfs.  I have a very long way to go, I
think, but here is my question for the moment.


I heard once and think I just read that btrfs uses encryption automatically.

This is not true. Actually BTRFS does not support file encryption yet.

Details here:
https://btrfs.wiki.kernel.org/index.php/FAQ#Does_Btrfs_support_encryption

The installer of Slint 15 will propose to encrypt with LUKS the disk where Slint
is installed and in that case, it will also encrypt all partitions belonging to
the drive where Slint is installed and for which a mount point has been set     
and
of type "linux" (also in case of manual partitioning before installation),
regardless of the file system type.

In case of BTRFS and of the default layout in "auto" partitioning mode only one
partition will be set up for Slint (with subvolumes inside) and it will be
encrypted.

encryption will be optional in both partitioning modes.


  If
this is true, what does it mean for reading files that I've copied onto a usb
stick for use on another device?  I'm quite sure that the devices I'm thinking
of have no relevant decryption.

When you will copy a file from/to Slint all partitions will have already been
decrypted just after booting so there will be no issue at all.

Or, to borrow from an old Jethro Tull son, do I have the whole damn thing all
wrong?  :-)

There is noting wrong in being wrong from time to time and as the saying goes
"there is no bad question, only bad answers".

Cheers

Didier


Thanks for any help.


Al


On 5/29/22 15:16, Didier Spaier wrote:
Hi David and All,

answers inline.

Le 27/05/2022 à 01:07, D.J.J. Ring, Jr. a écrit :
Will the automatic installation allow us to reuse our /home partition with 
our
Documents, Downloads, Pictures, Videos and other files and settings?
This would need that the installer asks:

Do you have a /home partition that you want to continue using in Slint 15.0?
and if yes:

"which is it?"

then instead of the default layout in auto-partitioning mode (one main btrfs
volume and sub-volumes for / and /home) set only one subvolume for / and keep
the existing partition for /home.

This is technically feasible, with two caveats:
1. /home/david includes beyond Documents, Downloads, Pictures, Videos a lot
hidden files and directories, some but not all deserving or needing to be 
kept
or restored after an upgrade as you can, check typing:
ls -a $HOME
or using a file manager.
2. You would loose the benefits of having /home and / as two sub-volumes of 
the
same btrfs volume, among which that they share the space on disk so no need 
to
set a fixed size for /home with his layout.

Reinstalling the System isn't too bad but having to copy /home can be a 
bother.
Maybe the installer can offer to move /home to a new partition?
That would mean move all files and directories, which could not be wise, as 
some
of them are associated to software, versions or settings that differ between
Slint 14.2.1 and Slint 15.0.

In my humble opinion it is preferable copy after installation files that you
almost certainly want to keep, probably inculding ~/.mozilla (if you use
firefox), ~.thunderbird (if you use thunderbird , ~/.local/.share/orca among
others.

Selectively copying files can hardly being done by he installer, so I am 
afraid
it will be up to users to do that after installation, or if they prefer to 
copy
everything just mount the old /home as for instance /mnt and type as root:

cp -a /mnt/* /home

Cheers,
Didier
===============================================================================
The Slint mailing list.
Archive: https://www.freelists.org/archive/slint
To subscribe or unsubscribe, email slint-request@xxxxxxxxxxxxx with the 
subject
'subscribe' or 'unsubscribe', then answer the email you will receive.
More: email slint-request@xxxxxxxxxxxxx with as subject 'help' or 'commands'.
===============================================================================
The Slint mailing list.
Archive: https://www.freelists.org/archive/slint
To subscribe or unsubscribe, email slint-request@xxxxxxxxxxxxx with the 
subject
'subscribe' or 'unsubscribe', then answer the email you will receive.
More: email slint-request@xxxxxxxxxxxxx with as subject 'help' or 'commands'.
===============================================================================
The Slint mailing list.
Archive: https://www.freelists.org/archive/slint
To subscribe or unsubscribe, email slint-request@xxxxxxxxxxxxx with the subject
'subscribe' or 'unsubscribe', then answer the email you will receive.
More: email slint-request@xxxxxxxxxxxxx with as subject 'help' or 'commands'.

Other related posts: