Running recent & updated proxmox 5.2. It was installed on SATA drive, but now I want to move it to NVMe drives. MB has the support for UEFI boot from NVMe.
So I've created a GPT partition on NVMe. 512Mb FAT32 partition with ESP flag, and rest are for linux RAID partition where LVM volume will reside. I usually have no issues doing this with SATA drives at all. So I did like before:
1. Did a grub-install /dev/nvme0n1. It went fine and efibootmgr shows this as grub option (actually EFI BIOS sees a new entry 'proxmox' now and grub boots).
2. Did an update-initramfs -u -k all which also went without any issues.
3. Did a update-grub to rebuild GRUB config.
The grub boots itself and launches kernel & initrd. But initrd scripts can't find root partiton (pve LVM volume) and dropping to a shell. And I can't see /dev/nvm* nodes in initramfs shell:
How can I fix this? I've rebooted with systemrescuecd 5.3.0 and can chroot into my proxmox installation. /dev/nvme* devices are visible from there. I've tried creating new initrd image with 'rm /boot/initrd.img-4.15.18-4-pve && update-initramfs -c -k all' but it doesn't helps.
update-initramfs verbose log are attached.
Any suggestions?
So I've created a GPT partition on NVMe. 512Mb FAT32 partition with ESP flag, and rest are for linux RAID partition where LVM volume will reside. I usually have no issues doing this with SATA drives at all. So I did like before:
1. Did a grub-install /dev/nvme0n1. It went fine and efibootmgr shows this as grub option (actually EFI BIOS sees a new entry 'proxmox' now and grub boots).
2. Did an update-initramfs -u -k all which also went without any issues.
3. Did a update-grub to rebuild GRUB config.
The grub boots itself and launches kernel & initrd. But initrd scripts can't find root partiton (pve LVM volume) and dropping to a shell. And I can't see /dev/nvm* nodes in initramfs shell:
How can I fix this? I've rebooted with systemrescuecd 5.3.0 and can chroot into my proxmox installation. /dev/nvme* devices are visible from there. I've tried creating new initrd image with 'rm /boot/initrd.img-4.15.18-4-pve && update-initramfs -c -k all' but it doesn't helps.
Code:
root@sysresccd /root % mkdir /mnt/tmp
root@sysresccd /root % mount /dev/pve/root /mnt/tmp
root@sysresccd /root % mount -o bind /proc /mnt/tmp/proc
root@sysresccd /root % mount -o bind /sys /mnt/tmp/sys
root@sysresccd /root % mount -o bind /dev /mnt/tmp/dev
root@sysresccd /root % SHELL=/bin/bash chroot /mnt/tmp
root@sysresccd:/# ls -l /dev/nvm*
crw------- 1 root root 240, 0 Sep 10 11:28 /dev/nvme0
brw-rw---- 1 root disk 259, 3 Sep 10 11:28 /dev/nvme0n1
brw-rw---- 1 root disk 259, 4 Sep 10 11:28 /dev/nvme0n1p1
brw-rw---- 1 root disk 259, 5 Sep 10 11:28 /dev/nvme0n1p2
crw------- 1 root root 240, 1 Sep 10 11:28 /dev/nvme1
brw-rw---- 1 root disk 259, 0 Sep 10 11:28 /dev/nvme1n1
brw-rw---- 1 root disk 259, 1 Sep 10 11:28 /dev/nvme1n1p1
brw-rw---- 1 root disk 259, 2 Sep 10 11:28 /dev/nvme1n1p2
update-initramfs verbose log are attached.
Any suggestions?