ArcoLinux -D -B 19.1 iso's have been released

[SOLVED] warning: unknown device type nvme0n1

First check the forums - Do not know where to put it then put it here
Post Reply
beisic
Crewman
Posts: 5
Joined: Wed Oct 31, 2018 9:43 am
Russia
[SOLVED] warning: unknown device type nvme0n1

Post by beisic » Sun Dec 09, 2018 3:06 pm

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.

User avatar
erikdubois
Captain
Posts: 1807
Joined: Tue Nov 07, 2017 2:45 pm
Location: Belgium
Contact:
Belgium
Re: [OPEN] warning: unknown device type nvme0n1

Post by erikdubois » Sun Dec 09, 2018 3:09 pm

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.
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
and only then use the power of our moderators.

beisic
Crewman
Posts: 5
Joined: Wed Oct 31, 2018 9:43 am
Russia
Re: [OPEN] warning: unknown device type nvme0n1

Post by beisic » Sun Dec 09, 2018 4:21 pm

erikdubois wrote:
Sun Dec 09, 2018 3: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.

User avatar
erikdubois
Captain
Posts: 1807
Joined: Tue Nov 07, 2017 2:45 pm
Location: Belgium
Contact:
Belgium
Re: [OPEN] warning: unknown device type nvme0n1

Post by erikdubois » Sun Dec 09, 2018 7:22 pm

Can you share what you did?
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
and only then use the power of our moderators.

beisic
Crewman
Posts: 5
Joined: Wed Oct 31, 2018 9:43 am
Russia
Re: [OPEN] warning: unknown device type nvme0n1

Post by beisic » Sun Dec 09, 2018 11:23 pm

erikdubois wrote:
Sun Dec 09, 2018 7: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 ?

User avatar
erikdubois
Captain
Posts: 1807
Joined: Tue Nov 07, 2017 2:45 pm
Location: Belgium
Contact:
Belgium
Re: [OPEN] warning: unknown device type nvme0n1

Post by erikdubois » Mon Dec 10, 2018 6:02 am

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.
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
and only then use the power of our moderators.


Post Reply

Return to “General Questions”