Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installation medium for UEFI & NVMe?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
JohnN
Apprentice
Apprentice


Joined: 05 Jul 2005
Posts: 158
Location: Claremont, CA

PostPosted: Sat Oct 21, 2017 7:20 pm    Post subject: installation medium for UEFI & NVMe? Reply with quote

Can anyone recommend an installation medium that will both boot in UEFI mode and has a kernel that will recognize my M2 PCI-E SSD? Gentoo minimal won't do the first, and systemrescuecd is not recognizing my drive. I can do "modprobe nvme" and it loads the module but still doesn't find the drive. The motherboard (Asrocks Taichi) recongizes is as PCI-E.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7132
Location: Saint Amant, Acadiana

PostPosted: Sat Oct 21, 2017 7:23 pm    Post subject: Reply with quote

Did you try with systemrescuecd alternative kernel? The default kernel is not the latest.
_________________
Please learn how to denote units correctly!


Last edited by Jaglover on Sat Oct 21, 2017 11:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
JohnN
Apprentice
Apprentice


Joined: 05 Jul 2005
Posts: 158
Location: Claremont, CA

PostPosted: Sat Oct 21, 2017 7:53 pm    Post subject: Reply with quote

Not yet. I'll try it.
Back to top
View user's profile Send private message
JohnN
Apprentice
Apprentice


Joined: 05 Jul 2005
Posts: 158
Location: Claremont, CA

PostPosted: Mon Oct 23, 2017 1:50 am    Post subject: Reply with quote

Nope, the most recent betas do the same thing. Is there something more I need to do other than "modprobe nvme" to get my drive recognized?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18052

PostPosted: Mon Oct 23, 2017 3:14 am    Post subject: Reply with quote

Different hardware, but maybe some of the info here?
_________________
Those who know what's best for us must rise and save us from ourselves.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5854

PostPosted: Mon Oct 23, 2017 3:36 am    Post subject: Reply with quote

The Ubuntu 17.10 that came out last week might work, it's got kernel 4.13 and the ISO should boot straight off a USB stick into UEFI mode.
Back to top
View user's profile Send private message
JohnN
Apprentice
Apprentice


Joined: 05 Jul 2005
Posts: 158
Location: Claremont, CA

PostPosted: Mon Oct 23, 2017 3:40 am    Post subject: Reply with quote

Ant P. wrote:
The Ubuntu 17.10 that came out last week might work, it's got kernel 4.13 and the ISO should boot straight off a USB stick into UEFI mode.


I'll try it. But once I boot Ubuntu, I may never come back. :-) Seventeen years of Gentoo hassles have kind of ground me down...
Back to top
View user's profile Send private message
JohnN
Apprentice
Apprentice


Joined: 05 Jul 2005
Posts: 158
Location: Claremont, CA

PostPosted: Mon Oct 23, 2017 3:41 am    Post subject: Reply with quote

pjp wrote:
Different hardware, but maybe some of the info here?


Not really. My mobo UEFI recognizes the drive as NVMe and doens't offer any options like that.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Mon Oct 23, 2017 3:55 pm    Post subject: Reply with quote

Exactly which asrock taichi motherboard do you have?
Which m2 nvme ssd?

Asrock Z170 OC Formula with 2 Samsung 950's has had no problems with nvme driver in sysreccd or sysrescusb or gentoo
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7132
Location: Saint Amant, Acadiana

PostPosted: Mon Oct 23, 2017 4:00 pm    Post subject: Reply with quote

FWIW. My ASRock H170M Pro4 hands my M.2 drive over as sda, no nvme driver required.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Mon Oct 23, 2017 5:55 pm    Post subject: Reply with quote

some m2 ssd's are sata (e.g. samsung 850), some are nvme (e.g. samsung 950)
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7132
Location: Saint Amant, Acadiana

PostPosted: Mon Oct 23, 2017 6:42 pm    Post subject: Reply with quote

Interesting. The M.2 port has SATA and PCIe. Depending on which one is in use AHCI or NVME driver is used. My TS64GMTS800 is using SATA.

Further reading makes me think there is NVME controller in the M.2 SSD card, so the whole issue has nothing to do with motherboard.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Mon Oct 23, 2017 9:29 pm    Post subject: Reply with quote

https://en.wikipedia.org/wiki/M.2 is a good quality basic explanation
_________________
Defund the FCC.
Back to top
View user's profile Send private message
JohnN
Apprentice
Apprentice


Joined: 05 Jul 2005
Posts: 158
Location: Claremont, CA

PostPosted: Wed Oct 25, 2017 1:04 am    Post subject: Reply with quote

Jaglover wrote:
FWIW. My ASRock H170M Pro4 hands my M.2 drive over as sda, no nvme driver required.


Mine is Samsung 256GB SM951 Single Sided 80mm (2280/2280SS) M.2 PCI Express 3.0 x4 (PCIe Gen3 x4) SSD - AHCI Version - MZHPV256HDGL

It may be picked up by the boot disk as SATA. I didn't check. I suppose I could install in SATA mode and then let my new kernel recognize it as NVMe. Isn't there a signiciant speed advantage for NVMe over SATA. I thought it had to be one other depending on which mode the card is.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7132
Location: Saint Amant, Acadiana

PostPosted: Wed Oct 25, 2017 1:26 am    Post subject: Reply with quote

You can't change the type of your SSD. It either connects to SATA or PCIe. In first case it is AHCI driver, second NVME. Motherboard is irrelevant. What I wrote was before I read up on this.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Wed Oct 25, 2017 4:39 am    Post subject: Reply with quote

http://www.storagereview.com/samsung_sm951_pcie_m2_ssd_review discusses your particular ssd.
it is an ahci version and will need the ahci driver built in or an initramfs if ahci is a module and the ssd is to be bootable. sata commands will be implemented over pcie3.0 x4 so scsi support (sd driver) will be needed.
Stated simply and directly, your ssd's front end can not understand nvme commands, it can understand sata/ahci commands The parallelism of pcie3.0 x4 makes its rated speed about four times greater than a sata bus connected ssd.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
JohnN
Apprentice
Apprentice


Joined: 05 Jul 2005
Posts: 158
Location: Claremont, CA

PostPosted: Wed Oct 25, 2017 1:26 pm    Post subject: Reply with quote

DONAHUE wrote:
http://www.storagereview.com/samsung_sm951_pcie_m2_ssd_review discusses your particular ssd.
it is an ahci version and will need the ahci driver built in or an initramfs if ahci is a module and the ssd is to be bootable. sata commands will be implemented over pcie3.0 x4 so scsi support (sd driver) will be needed.
Stated simply and directly, your ssd's front end can not understand nvme commands, it can understand sata/ahci commands The parallelism of pcie3.0 x4 makes its rated speed about four times greater than a sata bus connected ssd.


I see. I thought that the PCI-E interface always meant NVMe. I didn't understand the difference between AHCI and NVMe. I'll just look for it under /dev/sd* and use it that way. THanks for the explanation.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18052

PostPosted: Wed Oct 25, 2017 2:05 pm    Post subject: Reply with quote

DONAHUE wrote:
http://www.storagereview.com/samsung_sm951_pcie_m2_ssd_review discusses your particular ssd.
it is an ahci version and will need the ahci driver built in or an initramfs if ahci is a module and the ssd is to be bootable. sata commands will be implemented over pcie3.0 x4 so scsi support (sd driver) will be needed.
Stated simply and directly, your ssd's front end can not understand nvme commands, it can understand sata/ahci commands The parallelism of pcie3.0 x4 makes its rated speed about four times greater than a sata bus connected ssd.
Do you know if there is any designation which can be checked prior to purchase that denotes a device as ahci or nvme?
_________________
Those who know what's best for us must rise and save us from ourselves.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Wed Oct 25, 2017 3:57 pm    Post subject: Reply with quote

pjp asked:
Quote:
Do you know if there is any designation which can be checked prior to purchase that denotes a device as ahci or nvme?
Experience so far is that somewhere in the specifications of the ssd; nvme, sata/sata3, or ahci will be specified as well as pcie3.0 x4. A lot of product manufacturers, but not all, will fully describe the interface in the product listing.
My best advice, if hoping to boot from an m2 nvme ssd: carefully review both the motherboard and the ssd specifications.
The motherboard must provide an m2 nvme pcie3.0 x4 port that supports booting. Some provide the m2 nvme port but the uefi/bios does not provide a boot level driver. Look for bootable in the specification of the motherboard m2 port.
The selected ssd specs need to match the motherboard port's.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18052

PostPosted: Wed Oct 25, 2017 4:20 pm    Post subject: Reply with quote

Thanks. Hopefully others may find that helpful too.
_________________
Those who know what's best for us must rise and save us from ourselves.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum