Dual booting Windows 7 and Linux: Sharing home directory
What I would like to do is move away from using VMs for running linux inside a Windows 7 host to a dual-boot setup. I know there are ways of mounting ext based partitions from windows and NTFS partitons in linux easily.
If I want to have a single "home" directory for my Windows 7 user and linux user, how would I go about this? Just create an NTFS partition and use is as a separate drive in Windows for storing files and mount it as my home dir in linux? Are there any permissions problems I might run into?
Any advice would be welcome, it's been a while since I've attempted a dual-boot setup!
windows-7 linux filesystems multi-boot
add a comment |
What I would like to do is move away from using VMs for running linux inside a Windows 7 host to a dual-boot setup. I know there are ways of mounting ext based partitions from windows and NTFS partitons in linux easily.
If I want to have a single "home" directory for my Windows 7 user and linux user, how would I go about this? Just create an NTFS partition and use is as a separate drive in Windows for storing files and mount it as my home dir in linux? Are there any permissions problems I might run into?
Any advice would be welcome, it's been a while since I've attempted a dual-boot setup!
windows-7 linux filesystems multi-boot
add a comment |
What I would like to do is move away from using VMs for running linux inside a Windows 7 host to a dual-boot setup. I know there are ways of mounting ext based partitions from windows and NTFS partitons in linux easily.
If I want to have a single "home" directory for my Windows 7 user and linux user, how would I go about this? Just create an NTFS partition and use is as a separate drive in Windows for storing files and mount it as my home dir in linux? Are there any permissions problems I might run into?
Any advice would be welcome, it's been a while since I've attempted a dual-boot setup!
windows-7 linux filesystems multi-boot
What I would like to do is move away from using VMs for running linux inside a Windows 7 host to a dual-boot setup. I know there are ways of mounting ext based partitions from windows and NTFS partitons in linux easily.
If I want to have a single "home" directory for my Windows 7 user and linux user, how would I go about this? Just create an NTFS partition and use is as a separate drive in Windows for storing files and mount it as my home dir in linux? Are there any permissions problems I might run into?
Any advice would be welcome, it's been a while since I've attempted a dual-boot setup!
windows-7 linux filesystems multi-boot
windows-7 linux filesystems multi-boot
asked Jul 30 '12 at 21:23
Daniel MurphyDaniel Murphy
1
1
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
That is almost what I do with my setup, except I make a symbolic link to the windows directory
ln -s /host/users/me/Documents windir
I am not sure it is a good idea to run the HOME directly on NTFS. After you login, you can always change the HOME variable, too.
I am using Wubi and it automatically mounts the windows partition on /host. If your Linux installation does not automatically mount the windows partition, you should set it up so it does.
Do you mount your windows drive in linux at a mount point somewhere in /mnt then symlink your home dir to it? Would you be able to go into a little bit more detail please?
– Daniel Murphy
Jul 30 '12 at 21:51
add a comment |
Perhaps this would be better as a comment than an answer, but apparently I can't comment yet.
Putting /home
on an NTFS partion is a mess. I know, I've tried it. Weird permissions issues and such, Windows wants to "own" the files and Linux throws an error about the user not owning their home folder. I'd keep the home directories of Windows and Linux separate, and use another partition for sharing data between the two OSes. It would be awesome to have a shared home directory, but in my experience it's way more trouble than it's worth.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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%2fsuperuser.com%2fquestions%2f455544%2fdual-booting-windows-7-and-linux-sharing-home-directory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
That is almost what I do with my setup, except I make a symbolic link to the windows directory
ln -s /host/users/me/Documents windir
I am not sure it is a good idea to run the HOME directly on NTFS. After you login, you can always change the HOME variable, too.
I am using Wubi and it automatically mounts the windows partition on /host. If your Linux installation does not automatically mount the windows partition, you should set it up so it does.
Do you mount your windows drive in linux at a mount point somewhere in /mnt then symlink your home dir to it? Would you be able to go into a little bit more detail please?
– Daniel Murphy
Jul 30 '12 at 21:51
add a comment |
That is almost what I do with my setup, except I make a symbolic link to the windows directory
ln -s /host/users/me/Documents windir
I am not sure it is a good idea to run the HOME directly on NTFS. After you login, you can always change the HOME variable, too.
I am using Wubi and it automatically mounts the windows partition on /host. If your Linux installation does not automatically mount the windows partition, you should set it up so it does.
Do you mount your windows drive in linux at a mount point somewhere in /mnt then symlink your home dir to it? Would you be able to go into a little bit more detail please?
– Daniel Murphy
Jul 30 '12 at 21:51
add a comment |
That is almost what I do with my setup, except I make a symbolic link to the windows directory
ln -s /host/users/me/Documents windir
I am not sure it is a good idea to run the HOME directly on NTFS. After you login, you can always change the HOME variable, too.
I am using Wubi and it automatically mounts the windows partition on /host. If your Linux installation does not automatically mount the windows partition, you should set it up so it does.
That is almost what I do with my setup, except I make a symbolic link to the windows directory
ln -s /host/users/me/Documents windir
I am not sure it is a good idea to run the HOME directly on NTFS. After you login, you can always change the HOME variable, too.
I am using Wubi and it automatically mounts the windows partition on /host. If your Linux installation does not automatically mount the windows partition, you should set it up so it does.
edited Jul 30 '12 at 22:11
answered Jul 30 '12 at 21:46
dadinckdadinck
1864
1864
Do you mount your windows drive in linux at a mount point somewhere in /mnt then symlink your home dir to it? Would you be able to go into a little bit more detail please?
– Daniel Murphy
Jul 30 '12 at 21:51
add a comment |
Do you mount your windows drive in linux at a mount point somewhere in /mnt then symlink your home dir to it? Would you be able to go into a little bit more detail please?
– Daniel Murphy
Jul 30 '12 at 21:51
Do you mount your windows drive in linux at a mount point somewhere in /mnt then symlink your home dir to it? Would you be able to go into a little bit more detail please?
– Daniel Murphy
Jul 30 '12 at 21:51
Do you mount your windows drive in linux at a mount point somewhere in /mnt then symlink your home dir to it? Would you be able to go into a little bit more detail please?
– Daniel Murphy
Jul 30 '12 at 21:51
add a comment |
Perhaps this would be better as a comment than an answer, but apparently I can't comment yet.
Putting /home
on an NTFS partion is a mess. I know, I've tried it. Weird permissions issues and such, Windows wants to "own" the files and Linux throws an error about the user not owning their home folder. I'd keep the home directories of Windows and Linux separate, and use another partition for sharing data between the two OSes. It would be awesome to have a shared home directory, but in my experience it's way more trouble than it's worth.
add a comment |
Perhaps this would be better as a comment than an answer, but apparently I can't comment yet.
Putting /home
on an NTFS partion is a mess. I know, I've tried it. Weird permissions issues and such, Windows wants to "own" the files and Linux throws an error about the user not owning their home folder. I'd keep the home directories of Windows and Linux separate, and use another partition for sharing data between the two OSes. It would be awesome to have a shared home directory, but in my experience it's way more trouble than it's worth.
add a comment |
Perhaps this would be better as a comment than an answer, but apparently I can't comment yet.
Putting /home
on an NTFS partion is a mess. I know, I've tried it. Weird permissions issues and such, Windows wants to "own" the files and Linux throws an error about the user not owning their home folder. I'd keep the home directories of Windows and Linux separate, and use another partition for sharing data between the two OSes. It would be awesome to have a shared home directory, but in my experience it's way more trouble than it's worth.
Perhaps this would be better as a comment than an answer, but apparently I can't comment yet.
Putting /home
on an NTFS partion is a mess. I know, I've tried it. Weird permissions issues and such, Windows wants to "own" the files and Linux throws an error about the user not owning their home folder. I'd keep the home directories of Windows and Linux separate, and use another partition for sharing data between the two OSes. It would be awesome to have a shared home directory, but in my experience it's way more trouble than it's worth.
answered Feb 6 at 1:15
DMJDMJ
133
133
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- 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%2fsuperuser.com%2fquestions%2f455544%2fdual-booting-windows-7-and-linux-sharing-home-directory%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