Wolfman
Thu Jun 20, 2013 7:48:54 am
this guide can be used on any Ubuntu based system and is intended for people who have a basic working knowledge of an Ubuntu installation and wish to keep the contents of their home folder after doing a re-install.
This guide is also intended for those that already have an existing swap, root and home partition setup!!.
DO NOT MIX AND MATCH VARIOUS OPERATING SYSTEMS ON YOUR HOME PARTITION AND BY THAT I MEAN THE FOLLOWING:
If you are updating lets say Zorin 6 to version Zorin 7, you can keep your "/home" as is without the need to format the home partition, the same goes for updating say Ubuntu 12.10 to 13.04, do not however keep your home folder if you are changing from say Zorin 6 to PeppermintOS because the system configuration files may well cause a system crash or at least make the system unstable or even unuseable!!.
If you are changing to a different distro then my advice is to format your "home" partition but make sure that you backup all your files before you do so; otherwise you will lose everything stored within the home partition!!!.
Follow the steps below and you should have all your data intact in your home folder without losing all your data from the original home folder!.
Start the installer icon on the desktop and the Welcome Window will open.
Select your language and click on "Continue":
Make sure you have an active internet connection and if you are using a notebook/netbook; that you have it plugged in to the mains and it is not running on battery power alone!. Click on "Continue":
Select your keyboard layout, test it if you wish and click on "Continue":
Select your region and click on "Continue":
At the screen "Installation type", select the "Something else" option and click on "Continue":
Assuming you already have a "swap" partition, there is no need to re-do it as it will be automatically detected by the system!!.
Now here you need to highlight the partition that you want to place your "root" ( / ) mountpoint, in my example; I highlighted partition "sda8" which already has Zorin 7 (Ubuntu 13.04) installed on it and for the purpose of this tutorial; is being re-installed:
Once the desired partition has been highlighted, click on the "Change" button and the "Edit partition" Window will open which is where you need to set your: File type- Mountpoint and Format option:
Now select "Use as" = Ext4
Format the partition = "Yes" (Put a tick in the box!)
Mountpoint = "/" (Forward slash)
Click on "OK" If you are certain that the changes you just made are correct. Remember that you cannot "UNDO" this operation once you commit and click on the "Continue" button in the next window:
After clicking "OK", this window will open an all you need to do is click on "Continue":
Now select (highlight) the partition you want to use as your home and click on "Change":
Now select "Use as" = Ext4
Format the partition = "NO" (DON'T PUT A TICK IN THE BOX!)
Mountpoint = "/home" (Forward slash and the word "home")
Click on "OK" If you are certain that the changes you just made are correct:
Now you will see from this pic that there is no tick in the box "Format" and this will keep all your data intact in your previous home folder with all your bookmarks, music, pictures etc. Make sure that the "Bootloader" is set to install to "/dev/sda" which is where the normal "Master Boot record" (Grub Bootloader) is contained!.
Click on "Install Now" when you are happy that everything is as you want it!:
Who are you?. Enter the required details and click on "Continue:
(I advise you not to encrypt your home folder as this has led to problems in the past with Ubuntu based systems!)
Wait for the installtion to finish:
Installation Complete > click on "Restart Now":
Restart in "Recovery Mode":
Immediately after installing your system; I recommend booting into "Recovery Mode" (don't do a first boot but boot straight into "Recovery Mode") select "Network" and run "dpkg" using a cable connection), once you have run dpkg; and you re-boot, set your "Software Sources" (see link below) list and update again due to the changes made to the software sources lists!!. (I know this may sound strange but its something I found that seems to work well for me!.)
See also:
viewtopic.php?f=5&t=2247
For further help with partitioning:
viewtopic.php?f=6&t=2601
Ubuntu partition guide:
https://help.ubuntu.com/community/Howto ... ningBasics
I hope this is of help to you.
Regards Wolfman