'~' location & file system question - virtual machine

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
User avatar
markfilipak
Level 5
Level 5
Posts: 540
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio, USA

'~' location & file system question - virtual machine

Post by markfilipak » Wed Jan 17, 2018 10:55 pm

Hello penguins!

I just read that putting '/' and '~' on different drives is not only possible, it's preferable.

Can '~' be a shared directory between a Mint Guest and a Win-7 Host? Can '~' be resident on the Host? Can the file system be NTFS?

Thanks!

Mark.
Windows 7 [ VirtualBox [ Linux Mint 18 ] ]

User avatar
catweazel
Level 12
Level 12
Posts: 4214
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: '~' location & file system question - virtual machine

Post by catweazel » Thu Jan 18, 2018 1:54 am

markfilipak wrote:Can '~' be a shared directory between a Mint Guest and a Win-7 Host? Can '~' be resident on the Host? Can the file system be NTFS?
Yes, yes and yes. You will need to use what's called a hard link if you plan to move your home location but it is fraught with potential issues. If you're not too familiar with linux, a backup is recommended, followed by a reinstall using the 'something else' option. You create a / and a home partition in the installer and set the mount points accordingly.

The only issue with using an NTFS partition is that you'll lose the ability to manage linux permissions on your files.

The better option might be to make some room for a shared partition, format it as NTFS and use it to transfer files between your two OSen.
There is no spoon.

User avatar
markfilipak
Level 5
Level 5
Posts: 540
Joined: Sun Mar 10, 2013 8:08 pm
Location: Ohio, USA

Re: '~' location & file system question - virtual machine

Post by markfilipak » Thu Jan 18, 2018 4:27 pm

catweazel wrote:
markfilipak wrote:Can '~' be a shared directory between a Mint Guest and a Win-7 Host? Can '~' be resident on the Host? Can the file system be NTFS?
Yes, yes and yes. You will need to use what's called a hard link if you plan to move your home location but it is fraught with potential issues. If you're not too familiar with linux, a backup is recommended, followed by a reinstall using the 'something else' option. You create a / and a home partition in the installer and set the mount points accordingly.

The only issue with using an NTFS partition is that you'll lose the ability to manage linux permissions on your files.
That doesn't sound too good.
The better option might be to make some room for a shared partition, format it as NTFS and use it to transfer files between your two OSen.
That is what I already have. To wit:

'/media/sf_Data/' <==> 'C:\Data\'.

But backing up 'C:\Data\' doesn't back up '/home/mark/'. I can create more shared directories, as needed.

Basically, I want to put '/home/mark/' on a drive that I can back up. Right now, if something in MInt goes south, I don't have any way to recover. Most of what I want, I put into '/media/sf_Data/' and use a Windows-based backup to maintain a backup copy. That even works for my email:

'/media/sf_Data/email/0ysydkep.default' <==> 'C:\Data\email\0ysydkep.default',

but I have not discovered a way to put my Pale Moon profile in 'sf_Data'. My Pale Moon profile is here:

'/home/mark/.moonchild productions/pale moon/1oyhyp4u.default'.

The developer of Pale Moon says that my profile can't be moved elsewhere. I thought I could do it with a hard link that redirected to somewhere in 'sf_Data', but I haven't figured out how to create a hard link ... Nemo doesn't help with that, I guess. I just carry on and hold my breath.
Windows 7 [ VirtualBox [ Linux Mint 18 ] ]

User avatar
catweazel
Level 12
Level 12
Posts: 4214
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: '~' location & file system question - virtual machine

Post by catweazel » Fri Jan 19, 2018 1:44 am

markfilipak wrote:I haven't figured out how to create a hard link ...
type man ln in a terminal.
There is no spoon.

Post Reply

Return to “Newbie Questions”