Re: Booting Debian on NVMe Dirive with killer E2400 ethernet next to Impossible!!!!

2016-10-24 Thread Lennart Sorensen
On Sun, Oct 23, 2016 at 07:46:03PM -0700, Humberto Hassey wrote:
> Finally got it to work!! here is the procedure, I hope it helps someone
> else:
> 
> Step 1 start the installation with the Debian DVD and go through it unitl
> it sais Grub failed
> 
> Step 2 in a separate USB memory and with a working debian system do:
> 
> sudo apt-get -t jessie-backports download grub-efi-amd64
> sudo apt-get -t jessie-backports download grub2-common
> sudo apt-get -t jessie-backports download grub-efi-amd64-bin
> sudo apt-get -t jessie-backports download efibootmngr
> sudo apt-get -t jessie-backports download libefvar0
> 
> sudo apt-get -t jessie-backports download linux-base
> sudo apt-get -t jessie-backports download Initramfs-tools
> sudo apt-get -t jessie-backports download linux-image-4XXX (i dont
> remember
> just pick your 4.x image)

Why did it need an updated linux-image?  Was that NVMe related or video
related or something else?  The only machine I tried NVMe boot on had
a new enough CPU that video had problems with 3.16, and of course being
I used the testing installer it already had a newer kernel.

I could see the grub installer getting new regexes added in jessie.
I doubt adding a newer kernel to the installer is considered an option.

> Step3 on the system that you are installing go into a terminal
> 
> cd /target
> mount --rbind /sys sys/
> mount --rbind /dev dev/
> mount --rbind /run run/
> chroot . /bin/bash
> 
> Step 4 insert your usb and do cd /var/ ls and figure out its name usually
> /dev/sdb1
> 
> Step 5 mount your usb with the packages
> mkdir ./cosas
> mount /dev/sdb1 ./cosas
> cd cosas
> 
> Step 6 start installing the linux kernel packages, then the grub starting
> in this order
> linux-base
> initramfs-tools
> linux-imagex
> libefvar0
> efibootmngr
> grub-efi-amd64-bin
> grub2common
> grubefi-amd64
> 
> Step 7
> exit the console by typing exit
> 
> step 8
> finish the installation
> 
> step9
> Reboot
> 
> step 10 Enjoy.

I am wondering if going to a shell, editing the grub installer to update
the disk names and then continuing (without adding any new packages)
would be sufficient.

-- 
Len Sorensen



Re: Booting Debian on NVMe Dirive with killer E2400 ethernet next to Impossible!!!!

2016-10-24 Thread Lennart Sorensen
On Mon, Oct 24, 2016 at 03:49:45AM +0100, Ben Hutchings wrote:
> That really ought to be fixed in jessie, if it doesn't require big
> changes to grub (and whatever else).  I already did a stable update of
> initramfs-tools to make it handle nvme devices properly.

As far as I understood it, the grub changes are only in the regex's used
to match /dev/ names for disks.

-- 
Len Sorensen



Re: Booting Debian on NVMe Dirive with killer E2400 ethernet next to Impossible!!!!

2016-10-23 Thread Humberto Hassey
Finally got it to work!! here is the procedure, I hope it helps someone
else:

Step 1 start the installation with the Debian DVD and go through it unitl
it sais Grub failed

Step 2 in a separate USB memory and with a working debian system do:

sudo apt-get -t jessie-backports download grub-efi-amd64
sudo apt-get -t jessie-backports download grub2-common
sudo apt-get -t jessie-backports download grub-efi-amd64-bin
sudo apt-get -t jessie-backports download efibootmngr
sudo apt-get -t jessie-backports download libefvar0

sudo apt-get -t jessie-backports download linux-base
sudo apt-get -t jessie-backports download Initramfs-tools
sudo apt-get -t jessie-backports download linux-image-4XXX (i dont
remember
just pick your 4.x image)

Step3 on the system that you are installing go into a terminal

cd /target
mount --rbind /sys sys/
mount --rbind /dev dev/
mount --rbind /run run/
chroot . /bin/bash

Step 4 insert your usb and do cd /var/ ls and figure out its name usually
/dev/sdb1

Step 5 mount your usb with the packages
mkdir ./cosas
mount /dev/sdb1 ./cosas
cd cosas

Step 6 start installing the linux kernel packages, then the grub starting
in this order
linux-base
initramfs-tools
linux-imagex
libefvar0
efibootmngr
grub-efi-amd64-bin
grub2common
grubefi-amd64

Step 7
exit the console by typing exit

step 8
finish the installation

step9
Reboot

step 10 Enjoy.

On Sun, Oct 23, 2016 at 7:26 PM, Lennart Sorensen <
lsore...@csclub.uwaterloo.ca> wrote:

> On Sun, Oct 23, 2016 at 01:43:49PM -0700, Humberto Hassey wrote:
> > Hello I am a Debian user and just bought a nice laptop from system 76, I
> > wiped ubuntu and proceed to install Debian, well it turns our that Debian
> > does not recognize my network card, and the Grub packed on the installer
> > does not recognize the NVMe drive correctly, so I can not boot, nor
> connect
> > to the internet in order to download the grub-efi from backports..
> >
> > I tried getting a shell from the install DVD and chrooting into the
> > installation to install the previously downloaded grub-efi-amd64 and
> > linux-image 4.7xxx from backports, but the installation fails saying
> there
> > are unmet dependencies...
>
> On new hardware, you might be better of trying stretch instead, which
> is probably only about half a year or so from release anyhow.
>
> I know NVMe install works, because I tried it, with the testing (stretch)
> installer.  Jessie does not support it, at least last I checked.
>
> --
> Len Sorensen
>


Re: Booting Debian on NVMe Dirive with killer E2400 ethernet next to Impossible!!!!

2016-10-23 Thread Ben Hutchings
On Sun, 2016-10-23 at 22:26 -0400, Lennart Sorensen wrote:
> On Sun, Oct 23, 2016 at 01:43:49PM -0700, Humberto Hassey wrote:
> > Hello I am a Debian user and just bought a nice laptop from system 76, I
> > wiped ubuntu and proceed to install Debian, well it turns our that Debian
> > does not recognize my network card, and the Grub packed on the installer
> > does not recognize the NVMe drive correctly, so I can not boot, nor connect
> > to the internet in order to download the grub-efi from backports..
> > 
> > I tried getting a shell from the install DVD and chrooting into the
> > installation to install the previously downloaded grub-efi-amd64 and
> > linux-image 4.7xxx from backports, but the installation fails saying there
> > are unmet dependencies...
> 
> 
> On new hardware, you might be better of trying stretch instead, which
> is probably only about half a year or so from release anyhow.
> 
> I know NVMe install works, because I tried it, with the testing (stretch)
> installer.  Jessie does not support it, at least last I checked.

That really ought to be fixed in jessie, if it doesn't require big
changes to grub (and whatever else).  I already did a stable update of
initramfs-tools to make it handle nvme devices properly.

Ben.

-- 
Ben Hutchings
For every complex problem
there is a solution that is simple, neat, and wrong.



signature.asc
Description: This is a digitally signed message part


Re: Booting Debian on NVMe Dirive with killer E2400 ethernet next to Impossible!!!!

2016-10-23 Thread Lennart Sorensen
On Sun, Oct 23, 2016 at 01:43:49PM -0700, Humberto Hassey wrote:
> Hello I am a Debian user and just bought a nice laptop from system 76, I
> wiped ubuntu and proceed to install Debian, well it turns our that Debian
> does not recognize my network card, and the Grub packed on the installer
> does not recognize the NVMe drive correctly, so I can not boot, nor connect
> to the internet in order to download the grub-efi from backports..
> 
> I tried getting a shell from the install DVD and chrooting into the
> installation to install the previously downloaded grub-efi-amd64 and
> linux-image 4.7xxx from backports, but the installation fails saying there
> are unmet dependencies...

On new hardware, you might be better of trying stretch instead, which
is probably only about half a year or so from release anyhow.

I know NVMe install works, because I tried it, with the testing (stretch)
installer.  Jessie does not support it, at least last I checked.

-- 
Len Sorensen



Booting Debian on NVMe Dirive with killer E2400 ethernet next to Impossible!!!!

2016-10-23 Thread Humberto Hassey
Hello I am a Debian user and just bought a nice laptop from system 76, I
wiped ubuntu and proceed to install Debian, well it turns our that Debian
does not recognize my network card, and the Grub packed on the installer
does not recognize the NVMe drive correctly, so I can not boot, nor connect
to the internet in order to download the grub-efi from backports..



I tried getting a shell from the install DVD and chrooting into the
installation to install the previously downloaded grub-efi-amd64 and
linux-image 4.7xxx from backports, but the installation fails saying there
are unmet dependencies...


Thanks for your help.