Vous consultez actuellement le France version du site.
Voulez-vous passer à votre site local ?
8 TEMPS DE LECTURE MIN

Answers

Got a burning question about open source or the kernel? Whatever your level, email it to lxf.answers@futurenet.com

Neil Bothwick is a man who’s in the know (taps forehead knowingly).

Q Second disk encryption

I have two SSDs in my machine running LXLE (Ubuntu 18.04). One is a boot/home drive that was encrypted at the time of install. I would now like to encrypt the second drive, which is used for data storage and VMs. I’m still a relative beginner and was wondering what’s the most user-friendly way to encrypt the second drive and access it easily to run my VMs? There seems to be many options, for example LUKS, GnuPG and VeraCrypt.

Sandeep Bappoo

A There are indeed many options, and we don’t know which has been used to encrypt your main drive. When encrypting a whole disk or partition, LUKS is the usual choice. It’s not suitable for a total novice to set up, but if you’re happy to use the command line it’s fairly straightforward. Encrypting individual directories is often done with EcryptFS. This is what Ubuntu uses if you choose an encrypted home directory when installing. VeraCrypt is different in that it runs in user space, has a GUI for set up and is crossplatform, so you can read the same encrypted data from Linux and Windows.

If you’re already using LUKS for your first disk, you’ll have a file in /dev/mapper that corresponds to your partition’s entry in the output from mount or df. In that case you may as well use LUKS for the second disk, too. Setting up a partition with LUKS needs one command to encrypt it, so if the partition is /dev/sdb1, you’d use $ sudo cryptsetup luksFormat /dev/sdb1 Now open it with

Débloquez cet article et bien plus encore avec
Vous pouvez en profiter :
Découvrez l'intégralité de cette édition
Accès instantané à plus de 600 titres
Des milliers d'anciens numéros
Pas de contrat ni d'engagement
Essayer pour €1.09
S'ABONNER
30 jours d'accès, puis seulement €11,99 / mois. Résiliation à tout moment. Nouveaux abonnés uniquement.


En savoir plus
Pocketmags Plus
Pocketmags Plus

Cet article est tiré de...


View Issues
Linux Format
September 2020
VOIR EN MAGASIN

Autres articles dans ce numéro


In This Issue
Backups are dead, long live backups!
No one needs to back up any more. Yes, after
REVIEWS
AMD Ryzen 3 3300X
We always enjoy looking back at the past with processors,
Crucial P2 500GB
On the hunt for a new SSD for your system?
EndeavourOS 7.15.2020
An intermediate, rolling release, distro for anyone wanting a taste
BunsenLabs Lithium
A lightweight Debian-based distribution that leverages OpenBox, Tint2 and Compton
Tropico 6
Tropico 6 is a great game for people watching. It’s
ROUNDUP
Privacy distributions
Specialist distributions such as the ones featured in this Roundup
BACK UP LIKE CLOCKWORK!
There are two types of people in this world: those
INTERVIEW
PRESSURE VESSEL
Simon McVittie is a Debian developer and a consultant for
IN-DEPTH
LibreOffice 7
These very words have been written with LibreOffice 7.0 and
Pi USER
KEEPING ALL CHANNELS OPEN
Cerys Lock is the organiser of the Stafford Raspberry Jam
Self-hosting Raspberry Pi cluster of Pis
We get the feeling that large sections of the population
Radio PiPi
Part of the Pi’s appeal is the physical interaction necessary
Pi in Space
We’ve mentioned multiple times over the past year the various
4tronix Picon Plus
An advanced motor controller for the Raspberry Pi that provides
How to run Arch Linux on the Pi
Jonni Bidwell thinks he can hear the unmistakable sound of
CODING ACADEMY
Recreate the Game of Life simulator
Each issue we’re building a retro video game. In this
REGULARS AT A GLANCE
LibreOffice looks to protect long-term viability
There was a brief internet drama back in July when
Tor Project under threat
You may never have heard of the US Open Technology
Encrypted Data Act
Conspiracy theorists often say governments love spying on their citizens
RING THE PLUMBER!
A key improvement that PipeWire brings over PulseAudio is that
THAT’S NO WOLF
You may think of MongoDB as a wolf hiding in
Linux Foundation to track and trace Covid-19
Ireland’s Health Service Executive (HSE) has announced that it’s donating
Proton 5.0
It’s a regular theme that we cover the latest milestone
Manjaro changes
The Treasurer of the Manjaro project has stepped down over
Distro watch
Lovers of reptile-based distros will love the latest spin of
WANTS AND NEEDS
We’ve just had an email from a client who wants
LINUX IS THE TOPS
Linux turned 29 shortly after we went to press. The
Kernel Watch
Linus Torvalds announced the release of Linux 5.8, which has
ONGOING DEVELOPMENT
Steven Price (Arm) posted a patch enabling MTE (memory tagging
Mailserver
Write to us at Linux Format, Future Publishing, Quay House, The
Symphonium
Alexander Tolstoy has an open source app for everything, not
Cadmus
Few people want background noise in their audio recordings, and
E4head
This article was written when Fedora developers were discussing the
Gromit-MPX
During a presentation in front of an audience, it’s common
Fsmon
Sometimes there’s a good reason to know a bit more
Qt-SESAM
Every once in a while there’s a study on network
Video-trimmer
Normally, few people would reach for a heavyweight video-editing application
Pillar Valley
The Pillar Valley author declares on its Github front page
Caveexpress
Most platform-style arcade games have so much in common that
Flatpak
The two main rivals in application sandboxing are Snap and
Viper Browser
Browsing the web is one computing task that’s well served
TUTORIALS
Assemble basic touch and motor controls
Les Pounder is associate editor at Tom’s Hardware and a
Scheduling tasks
Shashank Sharma is a trial lawyer in Delhi. He collects
Databases made quick and easy
Nick Peers built his first database for his computer science
Build a streaming video web service
The (fictional) Brixton Youth Sports Association (BYSA) needs a place
BASIC and demos on the Commodore 64
The Personal Computer with Professional Power was how the Commodore
Create a video game in the Godot engine
Godot is an open source video game development engine. In
Chat
X
Support Pocketmags