Page 1 of 1

[SOLVED] warning: unknown device type nvme0n1

Posted: Sun Dec 09, 2018 4:06 pm
by beisic
I'm using a NVME disk as boot and root device. I have a memtest86+ entry in
my boot menu list. When generating the Grub configuration, grub-probe
complains:

Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1

This is the command which triggers the warning:

$ sudo grub-mkconfig -o /boot/grub/grub.cfg

Any idea what this warning means and how to fix it?

Thanks.

Re: [OPEN] warning: unknown device type nvme0n1

Posted: Sun Dec 09, 2018 4:09 pm
by erikdubois
Never bought one of those machines

but you are not alone

https://forum.manjaro.org/t/grub-doesnt ... e-is/37034

IF you are booting into ArcoLinux and all is fine then it is just what it is

a warning.

There are loads of other warnings in dmesg that do not affect us.

Re: [OPEN] warning: unknown device type nvme0n1

Posted: Sun Dec 09, 2018 5:21 pm
by beisic
erikdubois wrote:
Sun Dec 09, 2018 4:09 pm

https://forum.manjaro.org/t/grub-doesnt ... e-is/37034

IF you are booting into ArcoLinux and all is fine then it is just what it is

a warning.

There are loads of other warnings in dmesg that do not affect us.
Loading arcolinux is excellent. Thank you for your reply. The issue is resolved, thank you.

Re: [OPEN] warning: unknown device type nvme0n1

Posted: Sun Dec 09, 2018 8:22 pm
by erikdubois
Can you share what you did?

Re: [OPEN] warning: unknown device type nvme0n1

Posted: Mon Dec 10, 2018 12:23 am
by beisic
erikdubois wrote:
Sun Dec 09, 2018 8:22 pm
Can you share what you did?
I read Your link https://forum.manjaro.org/t/grub-doesnt ... -is/37034/ and did not do anything - the system works. During installation ArcoLinux to nmve chose manual partitioning for UEFI system. Allocated a 200 Mb boot partition with ESP label and FAT32 file system. The remainder of the disk formatted in EXT4 file system and AcroLinux has been successfully installed.
Not resolved issue with trim support. Can I enable trim using the mount flag in /etc / fstab ?
Using the discard option for a mount in /etc/fstab enables continuous TRIM in device nvme operations ?

Re: [OPEN] warning: unknown device type nvme0n1

Posted: Mon Dec 10, 2018 7:02 am
by erikdubois
If you read up on this link

https://wiki.archlinux.org/index.php/Solid_state_drive

and then check the fstab created by calamares

Code: Select all

[erik@ArcoLinux ~]$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=80AD-8EAE                            /boot/efi      vfat    defaults,noatime 0 2
UUID=d776d8e1-2a16-28b1-b532-e6c6437e61d2 /              ext4    defaults,noatime,discard 0 1
UUID=32fa0d32-efce-6G38-a692-76fd4f709cd7 swap           swap    defaults,noatime,discard 0 2
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
discard is present in there.

Using the discard option for a mount in /etc/fstab enables continuous TRIM in device operations.