*GRUB* does not support NVMe devices
Non-volatile memory NVM Express (NVMe) devices are not supported by the *GRUB* boot loader in Red Hat Enterprise Linux 6, and therefore the boot loader can't be installed on these devices.
To work around the problem, you can:
* Use another storage device to install the boot loader
* Upgrade to RHEL 7, which uses *GRUB2* as the default boot loader and supports installation to NVMe devices
Created attachment 1033604 [details]
use "p" as delimiter for NVMe devices
Description of problem:
Install grub on a partitioned nvme device failed with "No such partition" reported.
It's because grub install determines the NVMe device partition as /dev/nvme0n11 instead of /dev/nvme0n1p1, since it doesn't use "p" as the delimiter.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Install grub on a partitioned nvme device failed.
# grub --device-map=/opt/oracle.cellos/tmpl/usbMap_nvme --verbose
Attempt to open drive 0x80 (/dev/nvme0n1)
Attempt to open drive 0x81 (/dev/nvme1n1)
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0)"... failed (this is not fatal)
Running "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
Running "install /grub/stage1 (hd0) /grub/stage2 p /grub/grub.conf "...
Error 22t: No such partition
grub install failed
I made a patch to fix it attached.
can you please try if grub-install works instead of running grub shell? If not, then we can try to fix grub-install script. If it works, please use grub-install, instead of the grub shell.
Still no reply from the reporter, moving this to RHEL-6.10.
I ran into the same problem, and 'grub-install' did not work for me either.
I had to make a private version of the package using the patch the reporter provided, which then worked.
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.
The official life cycle policy can be reviewed here:
This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: