EFI boot partition for Centos 7

General support questions
Post Reply
mahmood
Posts: 122
Joined: 2017/06/04 12:21:09

EFI boot partition for Centos 7

Post by mahmood » 2018/03/15 06:50:13

Hi,
I see some posts about installation problem on UEFI systems. Specifically, Anaconda says an error that an EFI boot partition has to be made. Well I do such thing but it doesn't work.

I have a NVME which I want to install / only. There is another 1TB SATA disk which I want to put /home and /opt and SWAP on it. Is this configuration correct? Do you see any problem with that?

Code: Select all

NVME
   /boot/efi  =>  200MB 
   /          =>   150000MB    =>   ext4
SDA
   /home   =>   500000MB   =>  ext4
   /opt    =>    150000MB  =>  ext4
   SWAP    =>  20000MB


Please let me know what does anaconda exactly search for.

mahmood
Posts: 122
Joined: 2017/06/04 12:21:09

Re: EFI boot partition for Centos 7

Post by mahmood » 2018/03/15 10:39:38

Please see the picture below. It is really annoying
photo_2018-03-15_14-08-28.jpg
photo_2018-03-15_14-08-28.jpg (149.74 KiB) Viewed 18689 times

desertcat
Posts: 843
Joined: 2014/08/07 02:17:29
Location: Tucson, AZ

Re: EFI boot partition for Centos 7

Post by desertcat » 2018/03/15 19:34:59

mahmood wrote:Hi,
I see some posts about installation problem on UEFI systems. Specifically, Anaconda says an error that an EFI boot partition has to be made. Well I do such thing but it doesn't work.

I have a NVME which I want to install / only. There is another 1TB SATA disk which I want to put /home and /opt and SWAP on it. Is this configuration correct? Do you see any problem with that?

Code: Select all

NVME
   /boot/efi  =>  200MB 
   /          =>   150000MB    =>   ext4
SDA
   /home   =>   500000MB   =>  ext4
   /opt    =>    150000MB  =>  ext4
   SWAP    =>  20000MB


Please let me know what does anaconda exactly search for.
I have had problems with UEFI problems in the past. Does your mobo allow you to use straight BIOS?? The other problem that I see is that you have allocated only 200MB for /boot/efi. RH now recommends that you allocate at least 1-2GB as I now recall, the previous minimum was 500MB. Here is my current setup:

[On a 500 GB SSD]

/boot => 1.1 GB
/ => 33.2 GB
/home => 99.7 GB
/usr => 66.4 GB
/var => 10.7 GB
/tmp => 5.4 GB
/vm4 => 144.1 GB (Vitural Machines)
/backup => 104.7 GB
SWAP => ~48 GB

[On a 2TB HDD]

/backup2 => 2.0 TB

In general *I* have found that IF you can avoid UEFI do so. I tried to install CentOS 7.1 I think it was and tried to use the default (UEFI [/boot/efi]) and it blew up on me, the second I switched it over to straight BIOS (/boot) I had ZERO problems with the install and getting the machine to boot. Have things changed since 7.1 and 7.4?? I don't know, that said see if you can set it to simply boot in straight BIOS and change /boot/efi => /boot and increase the size from 200MB => at least 1.0 GB

As to the rest you are going to need to add that to your /etc/fstab table so that it mounts as the time of start up.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: EFI boot partition for Centos 7

Post by TrevorH » 2018/03/15 19:39:44

Use Ctrl-Alt-F2 to switch to a different terminal in the installer and run fdisk -lu /dev/nvme0n1 and post the output here.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply