Moving /var from separate partition to /
I've got /var mounted as a separate partition and although it's 2Gb it keeps filling up quite often. Using something like apt clean only frees 100m at best. So I would like to move it to the root partition. I wonder what is the easiest method to do it? I know that I can boot from a USB and do it (although not sure how) but I wonder if it is possible to avoid it and do it just from the current installation?
partitioning filesystem fstab mountpoint
add a comment |
I've got /var mounted as a separate partition and although it's 2Gb it keeps filling up quite often. Using something like apt clean only frees 100m at best. So I would like to move it to the root partition. I wonder what is the easiest method to do it? I know that I can boot from a USB and do it (although not sure how) but I wonder if it is possible to avoid it and do it just from the current installation?
partitioning filesystem fstab mountpoint
add a comment |
I've got /var mounted as a separate partition and although it's 2Gb it keeps filling up quite often. Using something like apt clean only frees 100m at best. So I would like to move it to the root partition. I wonder what is the easiest method to do it? I know that I can boot from a USB and do it (although not sure how) but I wonder if it is possible to avoid it and do it just from the current installation?
partitioning filesystem fstab mountpoint
I've got /var mounted as a separate partition and although it's 2Gb it keeps filling up quite often. Using something like apt clean only frees 100m at best. So I would like to move it to the root partition. I wonder what is the easiest method to do it? I know that I can boot from a USB and do it (although not sure how) but I wonder if it is possible to avoid it and do it just from the current installation?
partitioning filesystem fstab mountpoint
partitioning filesystem fstab mountpoint
edited 11 hours ago
Justin
32
32
asked May 7 '18 at 14:02
foxy123foxy123
6425
6425
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You should be able to move the contents from the /var partition to the / position on the fly. There is no special lock on it.
sudo cp -pr /var /var2
sudo umount /var
sudo rm -R /var
sudo mv /var2 /var
Then remove the line that mounts /var from /etc/fstab.
sudo nano /etc/fstab
If you receive an error /var: target is busy, you need to find out which processes are preventing unmounting of the device and stop them.
Disclaimer: I would still recommend doing this on a live system or from grub rescue. It should be safer.
Hi, thanks a lot, but I've got umount: /var: target is busy, when I try to umount var.
– foxy123
May 7 '18 at 14:45
use a live sesson to do that or do it from grub rescue, not on a live system. Or make sure you are not currently in /var if you do, and have all services stopped that could use /var (apache, mysql, logging etc).
– Rinzwind
May 7 '18 at 14:47
See How do I find out which processes are preventing unmounting of a device?
– RoVo
May 7 '18 at 14:50
But yes, of course it's safer to do it from a live system. OP just asked for a way how to do it from the current session.
– RoVo
May 7 '18 at 14:54
@xiota note that your edit actually now creates a/var/var2directory.
– muru
May 7 '18 at 14:56
|
show 9 more comments
I don't think moving var will help you with your problem in the long run, in your particular case you might need to look at logrotate and the like, filling up your rootfs is a much bigger problem than filling up /var. I think that is a reason some people have a separate partition. Since the one tool you'd think could handle that, quotas, is user / filesystem specific, and doesn't allow for specification of a particular directory.
In my case, it just is perturbing to see error messages from systemd during shutdown becuase it can't unmount /var because it is in use by itelf / the system log. Way more valid imo.
In general it is insane to move a fs that is actively in use, making a copy while files are being written is bound to not work. And while linux will let you delete files that are open, so called "anonymous files"... see https://stackoverflow.com/questions/4171713/relinking-an-anonymous-unlinked-but-open-file for more on that... you won't be getting those writes. So be sure to check lsof and ensure as much as you care about is not writting to the fs. Some default users that come to mind, databases (mysql, mongo, postgres, probably others), /var/log by like everything, /var/run especially on systemd systems. There is probably lots of important sh!t in /var. So be careful. DO NOT follow the other answers suggestion to immediately rm -rf /var it and assume all is good. You can simply comment out the /var entry in fstab, so that it no longer mounts and add one that binds /newvar to /var. When you reboot and verify everything is still working, then you might consider deleting it, but really, check that stuff work. If you don't desperately need the disk space, leave it around for awhile, what is the harm? Make a backup? Whatever you do, don't immediately delete it unless you're a masochist, then I guess you would want to.
That being said, I empathize... I know it is crazy, but I rather google for ways to do it and wind up here telling you what I'm about to do instead of just rebooting hitting f12 and starting up a live cd, or just dropping to the rescue shell by appending rescue to my kernel command lines... probably because I am not using a bootloader, but still... efi shell is a thing, so lets just admit it is laziness, we both would rather spend 16 hours fixing the system we broke than do that.
# Probably completely pointless
sync
# Make a copy, but realize it is as of right now and thing are still being written, record the errors, so you have a better idea of what will be broken.
cp -avPR /var /varnew 2>varnew.errs
mount -o bind /varnew /var
/etc/fstab
#/dev/mapper/vgX-oldvar /var ext4 defaults 0 0
/newvar /var none bind
May the flying spaghetti monster have mercy on your soul
reboot
# Check stuff and if you must format/lvremove whatever your old var
Gripe: I would've added this a a comment but there are arbitrary reputation requirements. Someone plz give me 50 reps
New contributor
Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Incidentally, does anyone know why the heck mv doesn't have an option to merge with existing, or any sort of useful functionality?
– Justin
12 hours ago
add a comment |
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%2f1033170%2fmoving-var-from-separate-partition-to%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
You should be able to move the contents from the /var partition to the / position on the fly. There is no special lock on it.
sudo cp -pr /var /var2
sudo umount /var
sudo rm -R /var
sudo mv /var2 /var
Then remove the line that mounts /var from /etc/fstab.
sudo nano /etc/fstab
If you receive an error /var: target is busy, you need to find out which processes are preventing unmounting of the device and stop them.
Disclaimer: I would still recommend doing this on a live system or from grub rescue. It should be safer.
Hi, thanks a lot, but I've got umount: /var: target is busy, when I try to umount var.
– foxy123
May 7 '18 at 14:45
use a live sesson to do that or do it from grub rescue, not on a live system. Or make sure you are not currently in /var if you do, and have all services stopped that could use /var (apache, mysql, logging etc).
– Rinzwind
May 7 '18 at 14:47
See How do I find out which processes are preventing unmounting of a device?
– RoVo
May 7 '18 at 14:50
But yes, of course it's safer to do it from a live system. OP just asked for a way how to do it from the current session.
– RoVo
May 7 '18 at 14:54
@xiota note that your edit actually now creates a/var/var2directory.
– muru
May 7 '18 at 14:56
|
show 9 more comments
You should be able to move the contents from the /var partition to the / position on the fly. There is no special lock on it.
sudo cp -pr /var /var2
sudo umount /var
sudo rm -R /var
sudo mv /var2 /var
Then remove the line that mounts /var from /etc/fstab.
sudo nano /etc/fstab
If you receive an error /var: target is busy, you need to find out which processes are preventing unmounting of the device and stop them.
Disclaimer: I would still recommend doing this on a live system or from grub rescue. It should be safer.
Hi, thanks a lot, but I've got umount: /var: target is busy, when I try to umount var.
– foxy123
May 7 '18 at 14:45
use a live sesson to do that or do it from grub rescue, not on a live system. Or make sure you are not currently in /var if you do, and have all services stopped that could use /var (apache, mysql, logging etc).
– Rinzwind
May 7 '18 at 14:47
See How do I find out which processes are preventing unmounting of a device?
– RoVo
May 7 '18 at 14:50
But yes, of course it's safer to do it from a live system. OP just asked for a way how to do it from the current session.
– RoVo
May 7 '18 at 14:54
@xiota note that your edit actually now creates a/var/var2directory.
– muru
May 7 '18 at 14:56
|
show 9 more comments
You should be able to move the contents from the /var partition to the / position on the fly. There is no special lock on it.
sudo cp -pr /var /var2
sudo umount /var
sudo rm -R /var
sudo mv /var2 /var
Then remove the line that mounts /var from /etc/fstab.
sudo nano /etc/fstab
If you receive an error /var: target is busy, you need to find out which processes are preventing unmounting of the device and stop them.
Disclaimer: I would still recommend doing this on a live system or from grub rescue. It should be safer.
You should be able to move the contents from the /var partition to the / position on the fly. There is no special lock on it.
sudo cp -pr /var /var2
sudo umount /var
sudo rm -R /var
sudo mv /var2 /var
Then remove the line that mounts /var from /etc/fstab.
sudo nano /etc/fstab
If you receive an error /var: target is busy, you need to find out which processes are preventing unmounting of the device and stop them.
Disclaimer: I would still recommend doing this on a live system or from grub rescue. It should be safer.
edited May 7 '18 at 14:56
answered May 7 '18 at 14:13
RoVoRoVo
7,7691943
7,7691943
Hi, thanks a lot, but I've got umount: /var: target is busy, when I try to umount var.
– foxy123
May 7 '18 at 14:45
use a live sesson to do that or do it from grub rescue, not on a live system. Or make sure you are not currently in /var if you do, and have all services stopped that could use /var (apache, mysql, logging etc).
– Rinzwind
May 7 '18 at 14:47
See How do I find out which processes are preventing unmounting of a device?
– RoVo
May 7 '18 at 14:50
But yes, of course it's safer to do it from a live system. OP just asked for a way how to do it from the current session.
– RoVo
May 7 '18 at 14:54
@xiota note that your edit actually now creates a/var/var2directory.
– muru
May 7 '18 at 14:56
|
show 9 more comments
Hi, thanks a lot, but I've got umount: /var: target is busy, when I try to umount var.
– foxy123
May 7 '18 at 14:45
use a live sesson to do that or do it from grub rescue, not on a live system. Or make sure you are not currently in /var if you do, and have all services stopped that could use /var (apache, mysql, logging etc).
– Rinzwind
May 7 '18 at 14:47
See How do I find out which processes are preventing unmounting of a device?
– RoVo
May 7 '18 at 14:50
But yes, of course it's safer to do it from a live system. OP just asked for a way how to do it from the current session.
– RoVo
May 7 '18 at 14:54
@xiota note that your edit actually now creates a/var/var2directory.
– muru
May 7 '18 at 14:56
Hi, thanks a lot, but I've got umount: /var: target is busy, when I try to umount var.
– foxy123
May 7 '18 at 14:45
Hi, thanks a lot, but I've got umount: /var: target is busy, when I try to umount var.
– foxy123
May 7 '18 at 14:45
use a live sesson to do that or do it from grub rescue, not on a live system. Or make sure you are not currently in /var if you do, and have all services stopped that could use /var (apache, mysql, logging etc).
– Rinzwind
May 7 '18 at 14:47
use a live sesson to do that or do it from grub rescue, not on a live system. Or make sure you are not currently in /var if you do, and have all services stopped that could use /var (apache, mysql, logging etc).
– Rinzwind
May 7 '18 at 14:47
See How do I find out which processes are preventing unmounting of a device?
– RoVo
May 7 '18 at 14:50
See How do I find out which processes are preventing unmounting of a device?
– RoVo
May 7 '18 at 14:50
But yes, of course it's safer to do it from a live system. OP just asked for a way how to do it from the current session.
– RoVo
May 7 '18 at 14:54
But yes, of course it's safer to do it from a live system. OP just asked for a way how to do it from the current session.
– RoVo
May 7 '18 at 14:54
@xiota note that your edit actually now creates a
/var/var2 directory.– muru
May 7 '18 at 14:56
@xiota note that your edit actually now creates a
/var/var2 directory.– muru
May 7 '18 at 14:56
|
show 9 more comments
I don't think moving var will help you with your problem in the long run, in your particular case you might need to look at logrotate and the like, filling up your rootfs is a much bigger problem than filling up /var. I think that is a reason some people have a separate partition. Since the one tool you'd think could handle that, quotas, is user / filesystem specific, and doesn't allow for specification of a particular directory.
In my case, it just is perturbing to see error messages from systemd during shutdown becuase it can't unmount /var because it is in use by itelf / the system log. Way more valid imo.
In general it is insane to move a fs that is actively in use, making a copy while files are being written is bound to not work. And while linux will let you delete files that are open, so called "anonymous files"... see https://stackoverflow.com/questions/4171713/relinking-an-anonymous-unlinked-but-open-file for more on that... you won't be getting those writes. So be sure to check lsof and ensure as much as you care about is not writting to the fs. Some default users that come to mind, databases (mysql, mongo, postgres, probably others), /var/log by like everything, /var/run especially on systemd systems. There is probably lots of important sh!t in /var. So be careful. DO NOT follow the other answers suggestion to immediately rm -rf /var it and assume all is good. You can simply comment out the /var entry in fstab, so that it no longer mounts and add one that binds /newvar to /var. When you reboot and verify everything is still working, then you might consider deleting it, but really, check that stuff work. If you don't desperately need the disk space, leave it around for awhile, what is the harm? Make a backup? Whatever you do, don't immediately delete it unless you're a masochist, then I guess you would want to.
That being said, I empathize... I know it is crazy, but I rather google for ways to do it and wind up here telling you what I'm about to do instead of just rebooting hitting f12 and starting up a live cd, or just dropping to the rescue shell by appending rescue to my kernel command lines... probably because I am not using a bootloader, but still... efi shell is a thing, so lets just admit it is laziness, we both would rather spend 16 hours fixing the system we broke than do that.
# Probably completely pointless
sync
# Make a copy, but realize it is as of right now and thing are still being written, record the errors, so you have a better idea of what will be broken.
cp -avPR /var /varnew 2>varnew.errs
mount -o bind /varnew /var
/etc/fstab
#/dev/mapper/vgX-oldvar /var ext4 defaults 0 0
/newvar /var none bind
May the flying spaghetti monster have mercy on your soul
reboot
# Check stuff and if you must format/lvremove whatever your old var
Gripe: I would've added this a a comment but there are arbitrary reputation requirements. Someone plz give me 50 reps
New contributor
Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Incidentally, does anyone know why the heck mv doesn't have an option to merge with existing, or any sort of useful functionality?
– Justin
12 hours ago
add a comment |
I don't think moving var will help you with your problem in the long run, in your particular case you might need to look at logrotate and the like, filling up your rootfs is a much bigger problem than filling up /var. I think that is a reason some people have a separate partition. Since the one tool you'd think could handle that, quotas, is user / filesystem specific, and doesn't allow for specification of a particular directory.
In my case, it just is perturbing to see error messages from systemd during shutdown becuase it can't unmount /var because it is in use by itelf / the system log. Way more valid imo.
In general it is insane to move a fs that is actively in use, making a copy while files are being written is bound to not work. And while linux will let you delete files that are open, so called "anonymous files"... see https://stackoverflow.com/questions/4171713/relinking-an-anonymous-unlinked-but-open-file for more on that... you won't be getting those writes. So be sure to check lsof and ensure as much as you care about is not writting to the fs. Some default users that come to mind, databases (mysql, mongo, postgres, probably others), /var/log by like everything, /var/run especially on systemd systems. There is probably lots of important sh!t in /var. So be careful. DO NOT follow the other answers suggestion to immediately rm -rf /var it and assume all is good. You can simply comment out the /var entry in fstab, so that it no longer mounts and add one that binds /newvar to /var. When you reboot and verify everything is still working, then you might consider deleting it, but really, check that stuff work. If you don't desperately need the disk space, leave it around for awhile, what is the harm? Make a backup? Whatever you do, don't immediately delete it unless you're a masochist, then I guess you would want to.
That being said, I empathize... I know it is crazy, but I rather google for ways to do it and wind up here telling you what I'm about to do instead of just rebooting hitting f12 and starting up a live cd, or just dropping to the rescue shell by appending rescue to my kernel command lines... probably because I am not using a bootloader, but still... efi shell is a thing, so lets just admit it is laziness, we both would rather spend 16 hours fixing the system we broke than do that.
# Probably completely pointless
sync
# Make a copy, but realize it is as of right now and thing are still being written, record the errors, so you have a better idea of what will be broken.
cp -avPR /var /varnew 2>varnew.errs
mount -o bind /varnew /var
/etc/fstab
#/dev/mapper/vgX-oldvar /var ext4 defaults 0 0
/newvar /var none bind
May the flying spaghetti monster have mercy on your soul
reboot
# Check stuff and if you must format/lvremove whatever your old var
Gripe: I would've added this a a comment but there are arbitrary reputation requirements. Someone plz give me 50 reps
New contributor
Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Incidentally, does anyone know why the heck mv doesn't have an option to merge with existing, or any sort of useful functionality?
– Justin
12 hours ago
add a comment |
I don't think moving var will help you with your problem in the long run, in your particular case you might need to look at logrotate and the like, filling up your rootfs is a much bigger problem than filling up /var. I think that is a reason some people have a separate partition. Since the one tool you'd think could handle that, quotas, is user / filesystem specific, and doesn't allow for specification of a particular directory.
In my case, it just is perturbing to see error messages from systemd during shutdown becuase it can't unmount /var because it is in use by itelf / the system log. Way more valid imo.
In general it is insane to move a fs that is actively in use, making a copy while files are being written is bound to not work. And while linux will let you delete files that are open, so called "anonymous files"... see https://stackoverflow.com/questions/4171713/relinking-an-anonymous-unlinked-but-open-file for more on that... you won't be getting those writes. So be sure to check lsof and ensure as much as you care about is not writting to the fs. Some default users that come to mind, databases (mysql, mongo, postgres, probably others), /var/log by like everything, /var/run especially on systemd systems. There is probably lots of important sh!t in /var. So be careful. DO NOT follow the other answers suggestion to immediately rm -rf /var it and assume all is good. You can simply comment out the /var entry in fstab, so that it no longer mounts and add one that binds /newvar to /var. When you reboot and verify everything is still working, then you might consider deleting it, but really, check that stuff work. If you don't desperately need the disk space, leave it around for awhile, what is the harm? Make a backup? Whatever you do, don't immediately delete it unless you're a masochist, then I guess you would want to.
That being said, I empathize... I know it is crazy, but I rather google for ways to do it and wind up here telling you what I'm about to do instead of just rebooting hitting f12 and starting up a live cd, or just dropping to the rescue shell by appending rescue to my kernel command lines... probably because I am not using a bootloader, but still... efi shell is a thing, so lets just admit it is laziness, we both would rather spend 16 hours fixing the system we broke than do that.
# Probably completely pointless
sync
# Make a copy, but realize it is as of right now and thing are still being written, record the errors, so you have a better idea of what will be broken.
cp -avPR /var /varnew 2>varnew.errs
mount -o bind /varnew /var
/etc/fstab
#/dev/mapper/vgX-oldvar /var ext4 defaults 0 0
/newvar /var none bind
May the flying spaghetti monster have mercy on your soul
reboot
# Check stuff and if you must format/lvremove whatever your old var
Gripe: I would've added this a a comment but there are arbitrary reputation requirements. Someone plz give me 50 reps
New contributor
Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I don't think moving var will help you with your problem in the long run, in your particular case you might need to look at logrotate and the like, filling up your rootfs is a much bigger problem than filling up /var. I think that is a reason some people have a separate partition. Since the one tool you'd think could handle that, quotas, is user / filesystem specific, and doesn't allow for specification of a particular directory.
In my case, it just is perturbing to see error messages from systemd during shutdown becuase it can't unmount /var because it is in use by itelf / the system log. Way more valid imo.
In general it is insane to move a fs that is actively in use, making a copy while files are being written is bound to not work. And while linux will let you delete files that are open, so called "anonymous files"... see https://stackoverflow.com/questions/4171713/relinking-an-anonymous-unlinked-but-open-file for more on that... you won't be getting those writes. So be sure to check lsof and ensure as much as you care about is not writting to the fs. Some default users that come to mind, databases (mysql, mongo, postgres, probably others), /var/log by like everything, /var/run especially on systemd systems. There is probably lots of important sh!t in /var. So be careful. DO NOT follow the other answers suggestion to immediately rm -rf /var it and assume all is good. You can simply comment out the /var entry in fstab, so that it no longer mounts and add one that binds /newvar to /var. When you reboot and verify everything is still working, then you might consider deleting it, but really, check that stuff work. If you don't desperately need the disk space, leave it around for awhile, what is the harm? Make a backup? Whatever you do, don't immediately delete it unless you're a masochist, then I guess you would want to.
That being said, I empathize... I know it is crazy, but I rather google for ways to do it and wind up here telling you what I'm about to do instead of just rebooting hitting f12 and starting up a live cd, or just dropping to the rescue shell by appending rescue to my kernel command lines... probably because I am not using a bootloader, but still... efi shell is a thing, so lets just admit it is laziness, we both would rather spend 16 hours fixing the system we broke than do that.
# Probably completely pointless
sync
# Make a copy, but realize it is as of right now and thing are still being written, record the errors, so you have a better idea of what will be broken.
cp -avPR /var /varnew 2>varnew.errs
mount -o bind /varnew /var
/etc/fstab
#/dev/mapper/vgX-oldvar /var ext4 defaults 0 0
/newvar /var none bind
May the flying spaghetti monster have mercy on your soul
reboot
# Check stuff and if you must format/lvremove whatever your old var
Gripe: I would've added this a a comment but there are arbitrary reputation requirements. Someone plz give me 50 reps
New contributor
Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 11 hours ago
New contributor
Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 12 hours ago
JustinJustin
32
32
New contributor
Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Justin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Incidentally, does anyone know why the heck mv doesn't have an option to merge with existing, or any sort of useful functionality?
– Justin
12 hours ago
add a comment |
Incidentally, does anyone know why the heck mv doesn't have an option to merge with existing, or any sort of useful functionality?
– Justin
12 hours ago
Incidentally, does anyone know why the heck mv doesn't have an option to merge with existing, or any sort of useful functionality?
– Justin
12 hours ago
Incidentally, does anyone know why the heck mv doesn't have an option to merge with existing, or any sort of useful functionality?
– Justin
12 hours ago
add a comment |
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.
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%2f1033170%2fmoving-var-from-separate-partition-to%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