Thursday, May 2, 2024
13
rated 0 times [  13] [ 0]  / answers: 1 / hits: 4027  / 2 Years ago, thu, december 9, 2021, 1:40:25

I am a newbie in linux. I wanted to install ubuntu to my desktop. I currently have two partitions, Windows 8 in installed on one, and i have some important files in another partition. While installing ubuntu, if I chose "Replace Windows 8 with Ubuntu", do I lose the other partition too?



And are there other ways to leave the other partition as it is, and install ubuntu in the partition where windows was installed.


More From » system-installation

 Answers
4

Update for Ubuntu 18.04 and above


New installations of recent versions of Ubuntu does not use a separate swap partition any more. They use a swap file by default.


Original Answer


If you choose "Replace Windows 8 with Ubuntu" it will format the whole physical drive and you will lose your data partition! See: How do I recover my accidentally lost Windows partitions after installing Ubuntu? for an example of someone who made this mistake.


To do what you want, you have to take matters in your own hand and choose "Something Else..."


This choice will let you choose which partition to delete and reformat. A slip of your finger may cost your data. Make two backups in external media before going any farther.


The partition structure used by Ubuntu is different from Windows. You will need at least two partitions, the root (also known as /) and the swap, to run Ubuntu properly. The root is to be ext4 format with mount point / and the swap has its own format and requires no mount point. Creating a separate partition in ext4 format with mount point /home is also a good idea. This is the rough equivalent to Windows data partition. It needs to be in ext4 format as it keeps your personal configuration files as well, and those need specific permissions.


See partitioning suggestions for some details on Ubuntu specific partitions.


See Does it make sense to create swap partitions for new installations nowadways?


Also see https://help.ubuntu.com/community/PartitioningSchemes


Hope this helps


[#30790] Saturday, December 11, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
skaing

Total Points: 462
Total Questions: 124
Total Answers: 113

Location: Nauru
Member since Thu, Feb 2, 2023
1 Year ago
skaing questions
;