Page 1 of 1

Can't install on existed partition

Posted: 2019/09/25 17:43:51
by fiedzia
My existing partitions:
sda1 - 2G swap
sda2 - 16G / Centos7
sda3 - 16G formated(ext4) or deleted
sda4 - 900G+ /home
-
Manually partitioning show 16G available space on disk correctly.
Then click + to add partition with / mount point, enter all available space 16G and get not editable field with /dev/sda5 in it.
Then click done and message warns:
1. sda3 will be deleted
2. sda5 will be created

I'm afraid to continue

Edited after 2 days
-
Can't believe, but problem disappear just mysticaly today. Sorry.

Re: Can't install on existed partition

Posted: 2019/09/25 20:13:24
by TrevorH
Where is your /boot?

Re: Can't install on existed partition

Posted: 2019/09/26 06:04:00
by fiedzia
TrevorH wrote:
2019/09/25 20:13:24
Where is your /boot?
I would like install new Centos 8 with root and boot on /dev/sda3.
Old Centos 7 with root and boot exists on /dev/sda2 and swap exists on /dev/sda1.
I will mount existed /dev/sda4 to [sda3]/home manually after Centos 8 installation.
So, I would leave /dev/sda2 as Centos 7 copy (configurations.. etc.) and I will install Centos 9 on it (/dev/sda2) in the future.

PS
I've try to set /dev/sda3 active, deleted or formated from console for Centos 8.

Re: Can't install on existed partition

Posted: 2019/09/26 07:31:19
by jlehtone
My existing partitions:
Could you show:

Code: Select all

fdisk -l /dev/sda
lsblk
blkid

Re: Can't install on existed partition

Posted: 2019/09/26 14:57:05
by fiedzia
jlehtone wrote:
2019/09/26 07:31:19
Could you show:

Code: Select all

[root@Prestigio vidas]# fdisk -l /dev/sda
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x000c877f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     4196351     2097152   82  Linux swap / Solaris
/dev/sda2         4196352    37750783    16777216   83  Linux
/dev/sda3        37750784    71305215    16777216   83  Linux
/dev/sda4        71305216  1953525167   941109976   83  Linux

Code: Select all

[root@Prestigio vidas]# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 931.5G  0 disk
├─sda1   8:1    0     2G  0 part [SWAP]
├─sda2   8:2    0    16G  0 part /
├─sda3   8:3    0    16G  0 part
└─sda4   8:4    0 897.5G  0 part /home
sr0     11:0    1  1024M  0 rom

Code: Select all

[root@Prestigio vidas]# blkid
/dev/sda1: LABEL="SWAP" UUID="8d5cadcb-349e-44e0-9c04-dfc39cda9ffe" TYPE="swap"
/dev/sda2: LABEL="CENTOS 7" UUID="432333ab-9311-4cfd-aded-c3d50f4c79a8" TYPE="ext4"
/dev/sda3: UUID="164e700e-4f52-4e52-aacb-574512303461" TYPE="ext4"
/dev/sda4: UUID="47356a98-6ab5-46a8-afa1-91c22ce880a6" TYPE="ext4"

Re: Can't install on existed partition

Posted: 2019/09/26 19:37:28
by jlehtone
Ok. There is a partition.

Do you select that partition (instead of trying to add new) in the installer, set "mount point" to '/', choose "Reformat", and "Apply"?