Mounting home folder of one Ubuntu inside home folder of another
I have a system which has Ubuntu 18.04 installed. It has a home folder of size around 500 GB. Now, I am in need of Ubuntu 16.04. I have a space of around 180 GB in the hard disk. Due to the nature of the project I am working on, splitting up the available space for 16.04 OS installation and its home is not a good idea. At the same time, I no longer require a larger home folder for 18.04. So, I am planning to install 16.04 in the available 180 GB and then use a large portion of 18.04’s home as 16.04’s home.
Can I simply create a new folder inside 18.04’s home and mount it as 16.04’s home? The reason why I don’t want to use 18.04’s home directly is that both these OS are going to have some conflicting software and I don’t want to have issues with any of the configuration files in the home folder.
My plan is to not pick a home folder while installing 16.04 and then later edit
/etc/fstab
. How should I edit the file in this scenario?What are the possible drawbacks with this approach?
16.04 dual-boot 18.04 fstab home-directory
add a comment |
I have a system which has Ubuntu 18.04 installed. It has a home folder of size around 500 GB. Now, I am in need of Ubuntu 16.04. I have a space of around 180 GB in the hard disk. Due to the nature of the project I am working on, splitting up the available space for 16.04 OS installation and its home is not a good idea. At the same time, I no longer require a larger home folder for 18.04. So, I am planning to install 16.04 in the available 180 GB and then use a large portion of 18.04’s home as 16.04’s home.
Can I simply create a new folder inside 18.04’s home and mount it as 16.04’s home? The reason why I don’t want to use 18.04’s home directly is that both these OS are going to have some conflicting software and I don’t want to have issues with any of the configuration files in the home folder.
My plan is to not pick a home folder while installing 16.04 and then later edit
/etc/fstab
. How should I edit the file in this scenario?What are the possible drawbacks with this approach?
16.04 dual-boot 18.04 fstab home-directory
add a comment |
I have a system which has Ubuntu 18.04 installed. It has a home folder of size around 500 GB. Now, I am in need of Ubuntu 16.04. I have a space of around 180 GB in the hard disk. Due to the nature of the project I am working on, splitting up the available space for 16.04 OS installation and its home is not a good idea. At the same time, I no longer require a larger home folder for 18.04. So, I am planning to install 16.04 in the available 180 GB and then use a large portion of 18.04’s home as 16.04’s home.
Can I simply create a new folder inside 18.04’s home and mount it as 16.04’s home? The reason why I don’t want to use 18.04’s home directly is that both these OS are going to have some conflicting software and I don’t want to have issues with any of the configuration files in the home folder.
My plan is to not pick a home folder while installing 16.04 and then later edit
/etc/fstab
. How should I edit the file in this scenario?What are the possible drawbacks with this approach?
16.04 dual-boot 18.04 fstab home-directory
I have a system which has Ubuntu 18.04 installed. It has a home folder of size around 500 GB. Now, I am in need of Ubuntu 16.04. I have a space of around 180 GB in the hard disk. Due to the nature of the project I am working on, splitting up the available space for 16.04 OS installation and its home is not a good idea. At the same time, I no longer require a larger home folder for 18.04. So, I am planning to install 16.04 in the available 180 GB and then use a large portion of 18.04’s home as 16.04’s home.
Can I simply create a new folder inside 18.04’s home and mount it as 16.04’s home? The reason why I don’t want to use 18.04’s home directly is that both these OS are going to have some conflicting software and I don’t want to have issues with any of the configuration files in the home folder.
My plan is to not pick a home folder while installing 16.04 and then later edit
/etc/fstab
. How should I edit the file in this scenario?What are the possible drawbacks with this approach?
16.04 dual-boot 18.04 fstab home-directory
16.04 dual-boot 18.04 fstab home-directory
edited Dec 6 at 8:22
Zanna
50k13131238
50k13131238
asked Dec 6 at 0:34
skr_robo
1397
1397
add a comment |
add a comment |
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1098807%2fmounting-home-folder-of-one-ubuntu-inside-home-folder-of-another%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1098807%2fmounting-home-folder-of-one-ubuntu-inside-home-folder-of-another%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown