How to reinstall ubuntu using same partitioning system

Multi tool use
I recently installed Ubuntu 16.04 using the instructions here.
I am a novice at the operating system and was trying to set up a VPN using the instructions from here.
But I messed up mid-way and now I have no idea how to continue or go back. I changed some system files during the process and I couldn't find a way to restore them. Neither do I know which specific ones I changed. However, it has only been 3 days since I installed the OS and I wanted to re-install it so I can get back the default files.
My question is: Will I be able to use the same partitioning system I created the first time for the swap area, root and home space? And if so, how?
Also, if you have any way I can restore the files I changed, it would be very much appreciated.
dual-boot partitioning reinstalling
add a comment |
I recently installed Ubuntu 16.04 using the instructions here.
I am a novice at the operating system and was trying to set up a VPN using the instructions from here.
But I messed up mid-way and now I have no idea how to continue or go back. I changed some system files during the process and I couldn't find a way to restore them. Neither do I know which specific ones I changed. However, it has only been 3 days since I installed the OS and I wanted to re-install it so I can get back the default files.
My question is: Will I be able to use the same partitioning system I created the first time for the swap area, root and home space? And if so, how?
Also, if you have any way I can restore the files I changed, it would be very much appreciated.
dual-boot partitioning reinstalling
Good lesson here for new user. Edit sys files sparingly and only after backup. Emacs will create a backup file, but I always do manually, 'cp X.conf X.conf.20160717'. If you tack on date, you easily find your changes 'find / -name "*20160717"'
– pauljohn32
Jul 19 '16 at 4:56
3
Possible duplicate of How to use manual partitioning during installation?
– David Foerster
Jul 19 '16 at 9:18
Yeah, lesson learnt. I will install a backup software as soon as I re-install it.
– Lemon
Jul 19 '16 at 11:14
2
Possible duplicate of Reinstalling Ubuntu with a dual boot
– Melebius
Oct 11 at 8:11
add a comment |
I recently installed Ubuntu 16.04 using the instructions here.
I am a novice at the operating system and was trying to set up a VPN using the instructions from here.
But I messed up mid-way and now I have no idea how to continue or go back. I changed some system files during the process and I couldn't find a way to restore them. Neither do I know which specific ones I changed. However, it has only been 3 days since I installed the OS and I wanted to re-install it so I can get back the default files.
My question is: Will I be able to use the same partitioning system I created the first time for the swap area, root and home space? And if so, how?
Also, if you have any way I can restore the files I changed, it would be very much appreciated.
dual-boot partitioning reinstalling
I recently installed Ubuntu 16.04 using the instructions here.
I am a novice at the operating system and was trying to set up a VPN using the instructions from here.
But I messed up mid-way and now I have no idea how to continue or go back. I changed some system files during the process and I couldn't find a way to restore them. Neither do I know which specific ones I changed. However, it has only been 3 days since I installed the OS and I wanted to re-install it so I can get back the default files.
My question is: Will I be able to use the same partitioning system I created the first time for the swap area, root and home space? And if so, how?
Also, if you have any way I can restore the files I changed, it would be very much appreciated.
dual-boot partitioning reinstalling
dual-boot partitioning reinstalling
edited Jul 20 '16 at 3:57
Kevin Bowen
14.2k145969
14.2k145969
asked Jul 18 '16 at 23:48
Lemon
111
111
Good lesson here for new user. Edit sys files sparingly and only after backup. Emacs will create a backup file, but I always do manually, 'cp X.conf X.conf.20160717'. If you tack on date, you easily find your changes 'find / -name "*20160717"'
– pauljohn32
Jul 19 '16 at 4:56
3
Possible duplicate of How to use manual partitioning during installation?
– David Foerster
Jul 19 '16 at 9:18
Yeah, lesson learnt. I will install a backup software as soon as I re-install it.
– Lemon
Jul 19 '16 at 11:14
2
Possible duplicate of Reinstalling Ubuntu with a dual boot
– Melebius
Oct 11 at 8:11
add a comment |
Good lesson here for new user. Edit sys files sparingly and only after backup. Emacs will create a backup file, but I always do manually, 'cp X.conf X.conf.20160717'. If you tack on date, you easily find your changes 'find / -name "*20160717"'
– pauljohn32
Jul 19 '16 at 4:56
3
Possible duplicate of How to use manual partitioning during installation?
– David Foerster
Jul 19 '16 at 9:18
Yeah, lesson learnt. I will install a backup software as soon as I re-install it.
– Lemon
Jul 19 '16 at 11:14
2
Possible duplicate of Reinstalling Ubuntu with a dual boot
– Melebius
Oct 11 at 8:11
Good lesson here for new user. Edit sys files sparingly and only after backup. Emacs will create a backup file, but I always do manually, 'cp X.conf X.conf.20160717'. If you tack on date, you easily find your changes 'find / -name "*20160717"'
– pauljohn32
Jul 19 '16 at 4:56
Good lesson here for new user. Edit sys files sparingly and only after backup. Emacs will create a backup file, but I always do manually, 'cp X.conf X.conf.20160717'. If you tack on date, you easily find your changes 'find / -name "*20160717"'
– pauljohn32
Jul 19 '16 at 4:56
3
3
Possible duplicate of How to use manual partitioning during installation?
– David Foerster
Jul 19 '16 at 9:18
Possible duplicate of How to use manual partitioning during installation?
– David Foerster
Jul 19 '16 at 9:18
Yeah, lesson learnt. I will install a backup software as soon as I re-install it.
– Lemon
Jul 19 '16 at 11:14
Yeah, lesson learnt. I will install a backup software as soon as I re-install it.
– Lemon
Jul 19 '16 at 11:14
2
2
Possible duplicate of Reinstalling Ubuntu with a dual boot
– Melebius
Oct 11 at 8:11
Possible duplicate of Reinstalling Ubuntu with a dual boot
– Melebius
Oct 11 at 8:11
add a comment |
2 Answers
2
active
oldest
votes
Make a backup of any wanted personal files before you begin.
Install from iso media such as a USB or DVD.
If you want to use the same partitions, select "something else" when it asks if you want to install ubuntu "along side" your current operating system.
Then, click on the main ubuntu partition (make sure you know which one it is!) and set the "type" as "ext4" (assuming you previously used ext4 which is the default). Then, set the mount point as /
.
If you used separate partitions for /home etc, set the mount point for each partition as such. The default is to only use one partition with a mount point of /
and the swap partition will automatically set itself.
I was having some trouble installing it at first, but I formatted my usb and re-copied the iso. I have been able to succesfully follow the steps and my machine is back to default.Thanks
– Lemon
Jul 19 '16 at 11:19
add a comment |
Assuming that you have no user files that you wish to save and considering the fact that this is a recent install --- start over.
After re-loading Ubuntu visit this site: Partitioning/Home/Moving which will provide guidance so that you can use the same partition system you previously established.
I don't have any advice on restoring the files that were changed. Since things aren't working, starting over may be the best bet.
Prior to changing a file, make a back-up copy of it. As an alternative, copy a line that will be changed and "#" out the original line so that if the modified line does not work, you can restore the original line.
Alright, thanks for the advice. I have been able to re-install it
– Lemon
Jul 19 '16 at 11:15
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%2f800263%2fhow-to-reinstall-ubuntu-using-same-partitioning-system%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
Make a backup of any wanted personal files before you begin.
Install from iso media such as a USB or DVD.
If you want to use the same partitions, select "something else" when it asks if you want to install ubuntu "along side" your current operating system.
Then, click on the main ubuntu partition (make sure you know which one it is!) and set the "type" as "ext4" (assuming you previously used ext4 which is the default). Then, set the mount point as /
.
If you used separate partitions for /home etc, set the mount point for each partition as such. The default is to only use one partition with a mount point of /
and the swap partition will automatically set itself.
I was having some trouble installing it at first, but I formatted my usb and re-copied the iso. I have been able to succesfully follow the steps and my machine is back to default.Thanks
– Lemon
Jul 19 '16 at 11:19
add a comment |
Make a backup of any wanted personal files before you begin.
Install from iso media such as a USB or DVD.
If you want to use the same partitions, select "something else" when it asks if you want to install ubuntu "along side" your current operating system.
Then, click on the main ubuntu partition (make sure you know which one it is!) and set the "type" as "ext4" (assuming you previously used ext4 which is the default). Then, set the mount point as /
.
If you used separate partitions for /home etc, set the mount point for each partition as such. The default is to only use one partition with a mount point of /
and the swap partition will automatically set itself.
I was having some trouble installing it at first, but I formatted my usb and re-copied the iso. I have been able to succesfully follow the steps and my machine is back to default.Thanks
– Lemon
Jul 19 '16 at 11:19
add a comment |
Make a backup of any wanted personal files before you begin.
Install from iso media such as a USB or DVD.
If you want to use the same partitions, select "something else" when it asks if you want to install ubuntu "along side" your current operating system.
Then, click on the main ubuntu partition (make sure you know which one it is!) and set the "type" as "ext4" (assuming you previously used ext4 which is the default). Then, set the mount point as /
.
If you used separate partitions for /home etc, set the mount point for each partition as such. The default is to only use one partition with a mount point of /
and the swap partition will automatically set itself.
Make a backup of any wanted personal files before you begin.
Install from iso media such as a USB or DVD.
If you want to use the same partitions, select "something else" when it asks if you want to install ubuntu "along side" your current operating system.
Then, click on the main ubuntu partition (make sure you know which one it is!) and set the "type" as "ext4" (assuming you previously used ext4 which is the default). Then, set the mount point as /
.
If you used separate partitions for /home etc, set the mount point for each partition as such. The default is to only use one partition with a mount point of /
and the swap partition will automatically set itself.
answered Jul 19 '16 at 0:34


mchid
22.6k25082
22.6k25082
I was having some trouble installing it at first, but I formatted my usb and re-copied the iso. I have been able to succesfully follow the steps and my machine is back to default.Thanks
– Lemon
Jul 19 '16 at 11:19
add a comment |
I was having some trouble installing it at first, but I formatted my usb and re-copied the iso. I have been able to succesfully follow the steps and my machine is back to default.Thanks
– Lemon
Jul 19 '16 at 11:19
I was having some trouble installing it at first, but I formatted my usb and re-copied the iso. I have been able to succesfully follow the steps and my machine is back to default.Thanks
– Lemon
Jul 19 '16 at 11:19
I was having some trouble installing it at first, but I formatted my usb and re-copied the iso. I have been able to succesfully follow the steps and my machine is back to default.Thanks
– Lemon
Jul 19 '16 at 11:19
add a comment |
Assuming that you have no user files that you wish to save and considering the fact that this is a recent install --- start over.
After re-loading Ubuntu visit this site: Partitioning/Home/Moving which will provide guidance so that you can use the same partition system you previously established.
I don't have any advice on restoring the files that were changed. Since things aren't working, starting over may be the best bet.
Prior to changing a file, make a back-up copy of it. As an alternative, copy a line that will be changed and "#" out the original line so that if the modified line does not work, you can restore the original line.
Alright, thanks for the advice. I have been able to re-install it
– Lemon
Jul 19 '16 at 11:15
add a comment |
Assuming that you have no user files that you wish to save and considering the fact that this is a recent install --- start over.
After re-loading Ubuntu visit this site: Partitioning/Home/Moving which will provide guidance so that you can use the same partition system you previously established.
I don't have any advice on restoring the files that were changed. Since things aren't working, starting over may be the best bet.
Prior to changing a file, make a back-up copy of it. As an alternative, copy a line that will be changed and "#" out the original line so that if the modified line does not work, you can restore the original line.
Alright, thanks for the advice. I have been able to re-install it
– Lemon
Jul 19 '16 at 11:15
add a comment |
Assuming that you have no user files that you wish to save and considering the fact that this is a recent install --- start over.
After re-loading Ubuntu visit this site: Partitioning/Home/Moving which will provide guidance so that you can use the same partition system you previously established.
I don't have any advice on restoring the files that were changed. Since things aren't working, starting over may be the best bet.
Prior to changing a file, make a back-up copy of it. As an alternative, copy a line that will be changed and "#" out the original line so that if the modified line does not work, you can restore the original line.
Assuming that you have no user files that you wish to save and considering the fact that this is a recent install --- start over.
After re-loading Ubuntu visit this site: Partitioning/Home/Moving which will provide guidance so that you can use the same partition system you previously established.
I don't have any advice on restoring the files that were changed. Since things aren't working, starting over may be the best bet.
Prior to changing a file, make a back-up copy of it. As an alternative, copy a line that will be changed and "#" out the original line so that if the modified line does not work, you can restore the original line.
edited Jul 19 '16 at 0:40
answered Jul 19 '16 at 0:24


Steve R.
3531517
3531517
Alright, thanks for the advice. I have been able to re-install it
– Lemon
Jul 19 '16 at 11:15
add a comment |
Alright, thanks for the advice. I have been able to re-install it
– Lemon
Jul 19 '16 at 11:15
Alright, thanks for the advice. I have been able to re-install it
– Lemon
Jul 19 '16 at 11:15
Alright, thanks for the advice. I have been able to re-install it
– Lemon
Jul 19 '16 at 11:15
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.
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%2f800263%2fhow-to-reinstall-ubuntu-using-same-partitioning-system%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
35NTTyF8bGZ2gVlvn16fMc22FRbHfr,ySSw,0zkLJ vl,A
Good lesson here for new user. Edit sys files sparingly and only after backup. Emacs will create a backup file, but I always do manually, 'cp X.conf X.conf.20160717'. If you tack on date, you easily find your changes 'find / -name "*20160717"'
– pauljohn32
Jul 19 '16 at 4:56
3
Possible duplicate of How to use manual partitioning during installation?
– David Foerster
Jul 19 '16 at 9:18
Yeah, lesson learnt. I will install a backup software as soon as I re-install it.
– Lemon
Jul 19 '16 at 11:14
2
Possible duplicate of Reinstalling Ubuntu with a dual boot
– Melebius
Oct 11 at 8:11