public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] NVMe drive and grub
@ 2016-04-07 15:24 peter
  2016-04-07 15:56 ` Jeremi Piotrowski
  2016-04-07 17:41 ` [gentoo-user] " Remy Blank
  0 siblings, 2 replies; 12+ messages in thread
From: peter @ 2016-04-07 15:24 UTC (permalink / raw
  To: gentoo-user

Hello list,

I have a new box with an NVMe SSD drive attached to the PCI bus via an M.2 interface. The drive shows up as /dev/nvme0n1, with partitions /dev/nvme0n1p1, /dev/nvme0n1p2, ... 

After following the instructions in the handbook for a UEFI system, I get as far as a kernel panic. Grub finds the kernel and starts it, but it seems to be passing a null root device name.

Can anyone offer some advice to help me get past this?

A few pints of Wainwright go to the winner. Conditions apply  :-)

Rgds
Peter







^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [gentoo-user] Re: NVMe drive and grub
@ 2016-04-08  9:01 peter
  2016-04-08 19:23 ` Remy Blank
  0 siblings, 1 reply; 12+ messages in thread
From: peter @ 2016-04-08  9:01 UTC (permalink / raw
  To: gentoo-user

Remy Blank <remy.blank@pobox.com> wrote :

> peter@prh.myzen.co.uk
> wrote on 2016-04-07 17:24:
> > I have a new box with an NVMe SSD drive attached to the PCI bus via an M.2
> interface. The drive shows up as /dev/nvme0n1, with partitions /dev/nvme0n1p1,
> /dev/nvme0n1p2, ... 
> > 
> > After following the instructions in the handbook for a UEFI system, I get as
> far as a kernel panic. Grub finds the kernel and starts it, but it seems to be
> passing a null root device name.
> > 
> > Can anyone offer some advice to help me get past this?
> 
> Make sure you have BLK_DEV_NVME compiled into your kernel (not as a
> module), and that you pass the right device name as a root FS to the
> kernel. It might also help to use a very recent kernel.

Yes, I have that compiled in, and the kernel is 4.1.15-r1.

> FWIW, I'm writing this from a laptop that boots from two NVMe devices in
> RAID 1 configuration, with kernel 4.4.5.

Now, that's just showing off  :-) 

-- 
Rgds
Peter








^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-06-16 12:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-07 15:24 [gentoo-user] NVMe drive and grub peter
2016-04-07 15:56 ` Jeremi Piotrowski
2016-04-08 12:21   ` Peter Humphrey
2016-04-08 13:25     ` Poison BL.
2016-04-07 17:41 ` [gentoo-user] " Remy Blank
2016-06-16  5:43   ` J. Roeleveld
2016-06-16  6:11     ` J. Roeleveld
2016-06-16  8:28       ` Peter Humphrey
2016-06-16 10:31         ` J. Roeleveld
2016-06-16 12:03           ` Peter Humphrey
  -- strict thread matches above, loose matches on Subject: below --
2016-04-08  9:01 peter
2016-04-08 19:23 ` Remy Blank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox