Bug#746396: grub-common: Add support for NVMe devices in grub-mkdevicemap
Dimitri John Ledkov
xnox at ubuntu.com
Tue Apr 29 16:43:44 UTC 2014
Package: grub-common
Version: 2.02~beta2-9
Severity: wishlist
Tags: patch
Dear Maintainer,
Whilst legacy grub-mkdevicemap is still in use, I have noticed that it
doesn't have support for NVMe devices. I've added the device pattern,
for grub-mkdevicemap to probe NVMe devices following other similar
devices. I've tested it using qemu-system, booted with UEFI edk2
firmware and an NVMe device, here are sample instructions:
cd `mktemp -d`
cp /usr/share/ovmf/OVMF.fd .
qemu-system-x86_64 -pflash OVMF.fd -m 1024 -drive file=nvme.img,if=none,id=D22 -device nvme,drive=D22,serial=1234 --enable-kvm -ctrl-grab -cdrom trusty-desktop-amd64.iso
With the attached patch grub-mkdevicemap produces result for the nvme
drive. Patch was created on top of locally generated
`patched-experimental` branch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-nvme-device-in-grub-mkdevicemap.patch
Type: text/x-diff
Size: 1577 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20140429/778b6d28/attachment.patch>
-------------- next part --------------
Regards,
Dimitri.
More information about the Pkg-grub-devel
mailing list