Re: Debian 8 and Debian 9 Dual Boot
- Date: Mon, 13 Nov 2017 15:07:50 -0500
- From: Dan Norton <dnorton@xxxxxxxxxxxxxx>
- Subject: Re: Debian 8 and Debian 9 Dual Boot
On 11/13/2017 02:08 PM, Felix Miata wrote:
Dan Norton composed on 2017-11-13 10:26 (UTC-0500):
David Christensen wrote:
Dan Norton wrote:
My first Linux install was about one year ago. After some missteps, I
have used Debian 8 in reasonable satisfaction on the desktop during
that year. Now I want to leave 8 in place and do a network install
for Debian 9 on the same disk and switch back and forth at boot time.
I think your best bet is to migrate from Debian 8 to Debian 9:
1. Image, backup, and/or archive everything. You will especially
want to get a copy of the /etc tree onto a USB flash drive so you can
see LVM, fstab, etc., configuration settings for mounting the Debian 8
disk under Debian 9.
Please say more about the configuration settings.
All my machines are multiboot. Few have as few as 4 operating system
installations, most have more than 12, and most of those not running RAID use
only one disk.
Excellent. You have my undivided attention :-)
There's no need for separate home file systems to keep one installation from
causing corruption to another's user settings. Simply do not reuse UIDs.
On your first, your Jessie probably has a user dan with UID 1000. On the next,
don't use 1000 for user dan. Pick any other number, e.g. 1200 for user dan in
Stretch. During Stretch installation make the initial user dan8 or dan01 using
Jessie's UID (probably 1000) for dan.
In Jessie, create a new user dan2 or dan09 using the UID you picked for Stretch.
Booted to either, the homedir of the other can optionally be bind mounted as a
subdir of the current dan for more convenient data access without interference
with settings of the other. Either way you boot, you'll be user "dan", but
without risk of settings corruption.
I'm going to study this and I may have questions later.