0

if i install ubuntu 18.04 on a fresh disk by creating

EFI Partition 500mb
EXT 4 / Partition 100GB (sda2)
EXT 4 /home Partition 100GB (sda3)

after some time if i format EXT4 / Partition (sda2) and fresh install Ubuntu 18.04 on it.

What will happen? will it create a home folder in sda2 or it will leave my /home in sda3? will i loose my data on /home (sda3)?

3
  • 1
    It will leave /home alone. Mount it at /home and do not format it. This is certainly a duplicate – Panther Jun 16 '18 at 12:54
  • In my first stage I will create 1. EFI 2. ext4 / 3. ext4 /home. In my second stage I will touch only ext 4 /.. I will format it and create ext4 / and install Ubuntu on it. I observed that when in past I only created EFI & ext 4 / partitions.. I saw /home folder in this by default. – UnKNOWn Jun 16 '18 at 13:01
  • IMHO you should always back up your data first. Even with the best intentions, accidents happen. – steeldriver Jun 16 '18 at 13:23
2

What you describe is my SOP.

Do a backup, you are one ticked box away from losing it all.

When you go to do the fresh install, select "something else" option in the installer.

Tell it to use your / partition, mount it at /, and tick the format box.

Tell it to use your /home partition, mount it at /home, do not tick the format box.

Tell it to use swap if you have a swap partition.

Then proceed with the install.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.