Web lists-archives.com

Re: Debian 8 and Debian 9 Dual Boot




On Mon, Nov 13, 2017 at 11:01:27AM -0500, Dan Norton wrote:
> 
> Although I didn't say so, each install would have its own set of
> directories. Please say more about how to mount the other installation and
> share data. How to mount things in another volume group?
> 
That would be as simple as creating a logical volume, call it "data,"
and then configuring it to mount in each installation with a line in
/etc/fstab:

/dev/vg00/data /data .....

Since you are talking about installing more than one version of Debian
and switching back and forth between them I assume that you are the only
user of the machine.  You would need to make sure that the assigned user
ID for your username matches in both installations and then just make
sure that /data has the appropriate permissions for your user account to
be able to write to it.

This is generally preferrable to directly mounting directories of the
other installation just to share data, as the dedicated data sharing
directory approach reduces the likelihood that a mistake will cause
problems in the other installation.

Regards,

-Roberto

-- 
Roberto C. Sánchez