Hi everybody,
I want to install Proxmox 5.1 on HP DL380 Gen9 with UEFI Mode.
I managed to switch the HP Smart array P440ar controller to HBA mode. The problem is that once Proxmox 5.1 is installed and the server is restarted... the server does not start on the "Proxmox" installation because it does not find the bootloader !
I read here that the current Proxmox installer couldn't handle UEFI !
I then saw this post: https://forum.proxmox.com/threads/p...440ar-in-hba-mode-hp-gl380-gen9-server.22950/ ...where some people had exactly the same problem as me. I tried to apply the method described in this post:
Regarding the last command ("zfs unmount rpool/ROOT/pve-1")...i have a problem because this one does not return an error "Ressource busy" !
If I ignore this error and restart my server, it finds the UEFI partition but the Proxmox boot process fails with the error "...Cannot import rpool: pool was previously in use from another system... " (as shown in the image send with this post)
I had to make a mistake in the procedure of setting up the UEFI...
has anyone ever had this problem and could you please help me ?
Thanks
I want to install Proxmox 5.1 on HP DL380 Gen9 with UEFI Mode.
I managed to switch the HP Smart array P440ar controller to HBA mode. The problem is that once Proxmox 5.1 is installed and the server is restarted... the server does not start on the "Proxmox" installation because it does not find the bootloader !
I read here that the current Proxmox installer couldn't handle UEFI !
I then saw this post: https://forum.proxmox.com/threads/p...440ar-in-hba-mode-hp-gl380-gen9-server.22950/ ...where some people had exactly the same problem as me. I tried to apply the method described in this post:
- Boot the Proxmox VE 5.1 CD/ISO, choosing "Debug mode", then exiting the console with Ctrl+D, clicking "Abort" in the installer. This drops you to a shell again.
- Use cgdisk /dev/sda and delete the ZFS partition (partition number 2). That does not destroy data as ZFS is in pseudo-RAID1-mode. Pool is now degraded.
- Create a new (second) partition of size 260 MB, type EF00, label it ESP.
- Create a new (third) partition in the remaining space, type BF01, label it ZFS
- Write that partition layout and exit cgdisk.
- Verify that you see sda1, sda2 and sda3. In my case I saw a strange (=no idea what it is) Part# 9 "Solaris Reserved 1" that I did not touch.
- Then apply the following commands:
Code:
Code:
$ modprobe efivars
$ zpool import rpool -R /mnt
$ zpool replace rpool /dev/sda2 /dev/sda3
# watch resilvering finish before you continue!
$ mkfs.vfat -F32 /dev/sda2
$ mount /dev/sda2 /mnt/boot/efi
$ mount -t proc /proc /mnt/proc
$ mount --rbind /dev /mnt/dev
$ mount --rbind /sys /mnt/sys
$ chroot /mnt /bin/bash
(chroot)$ source /etc/profile
(chroot)$ grub-install /dev/sda
(chroot)$ update-grub2
(chroot)$ update-initramfs -u
(chroot)$ efibootmgr -c --disk /dev/sda --part 2
# verify a new record called Linux is there
(chroot)$ efibootmgr -v
Ctrl-D
$ umount /mnt/sys
$ umount /mnt/dev
$ umount /mnt/proc
$ umount /mnt/boot/efi
$ zfs unmount rpool/ROOT/pve-1
Ctrl-D
Ctrl-D
Regarding the last command ("zfs unmount rpool/ROOT/pve-1")...i have a problem because this one does not return an error "Ressource busy" !
If I ignore this error and restart my server, it finds the UEFI partition but the Proxmox boot process fails with the error "...Cannot import rpool: pool was previously in use from another system... " (as shown in the image send with this post)
I had to make a mistake in the procedure of setting up the UEFI...
has anyone ever had this problem and could you please help me ?
Thanks
Attachments
Last edited: