Can't install on existed partition

Issues related to applications and software problems and general support
Post Reply
fiedzia
Posts: 8
Joined: 2018/08/16 06:43:31

Can't install on existed partition

Post by fiedzia » 2019/09/25 17:43:51

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.
Last edited by fiedzia on 2019/09/28 11:58:57, edited 2 times in total.

User avatar
TrevorH
Forum Moderator
Posts: 27156
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't install on existed partition

Post by TrevorH » 2019/09/25 20:13:24

Where is your /boot?
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

fiedzia
Posts: 8
Joined: 2018/08/16 06:43:31

Re: Can't install on existed partition

Post by fiedzia » 2019/09/26 06:04:00

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.

User avatar
jlehtone
Posts: 2432
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Can't install on existed partition

Post by jlehtone » 2019/09/26 07:31:19

My existing partitions:
Could you show:

Code: Select all

fdisk -l /dev/sda
lsblk
blkid

fiedzia
Posts: 8
Joined: 2018/08/16 06:43:31

Re: Can't install on existed partition

Post by fiedzia » 2019/09/26 14:57:05

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"

User avatar
jlehtone
Posts: 2432
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Can't install on existed partition

Post by jlehtone » 2019/09/26 19:37:28

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"?

Post Reply

Return to “CentOS 8 - General Support”