LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-09-2019, 07:09 PM   #1
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Rep: Reputation: 30
Dell XPS 15 i9 UEFI mode install.=--Nvme0n1 sdd drive not visible


hello.
I purchased a dell xps 15 9570 i9 Which is a rather expensive paper weight att.
I'm a long time slackware user,but not an expert.Usually it just works an so i don't have to delve in too deep.

I did get the laptop up and running with slackware using the legacy boot mode.I started to install some apps and use it for the purpose i had intended.(digital image processing).

But it was bugging me having to use a USB to start it.The bios settings explicitly state that you can only use Legacy mode for external boot media.You cant boot an internal hard drive in legacy mode,its quite clear on this point.So i decided to re=install it in UEFI mode.

To cut a long story short when I boot initrd.img using grub and the huge.s kernel ,the keyboard entry is all screwed up. I have tried parsing the kernel pararameter kbd=us or kbd=uk to no avail.

So i thought i'd use elilo,which did cure the above problem.Things were looking better .The /sys/firmware/efi folder is there.

However, lsblk shows only /dev/sda.Which is my usb boot medium.
The Nvme0n1 sdd disk is not there so i cant continue with the install and go into setup etc.
There is no nvme0n1 device in /dev
btw:
nvme0n1 already has a gpt partion table with an UEFI partion (ef00)

Any guidance would be appreciated.

Thank you.
 
Old 05-09-2019, 07:18 PM   #2
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
https://www.linuxquestions.org/quest...sd-4175614742/

just found this..

Is this the way to go still?
Thanks
 
Old 05-10-2019, 12:14 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Hello,

Quote:
Originally Posted by slzckboy View Post
https://www.linuxquestions.org/quest...sd-4175614742/

just found this..

Is this the way to go still?
Thanks
Yes. Follow the instructions here beginning from 2).

Best,
 
1 members found this post helpful.
Old 05-10-2019, 04:14 AM   #4
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Dell XPS 15 i9 UEFI mode install.=--Nvme0n1 sdd drive not visible

I've got the same laptop, but the i7... it's an awesome thing.

Install rEFInd. It fixes everything.
 
Old 05-10-2019, 10:01 AM   #5
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by rkelsen View Post
I've got the same laptop, but the i7... it's an awesome thing.

Install rEFInd. It fixes everything.
it is a tad capable yes.. just doesnt play so nice with slackware out the box
Thanks for the suggestion,at this stae i think ill try Didiers option 1st as I have less questions in regards to that and i just want this running asap now so i can just use the thing.

Quote:

a) download the file fake_slackware64-14.2-4.iso
b) check its integrity with fake_slackware64-14.2-4.iso.md5
c) write it on an USB stick
So im just writing it to the Usb.. no creating a GPT partion on the USB first with a EFI boot partition.. 1st?

In EFI mode there is an attempt legacy boot mode option also... but with this it wasn't installing in EFI mode when i was using the standard install media.
 
Old 05-10-2019, 10:18 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by slzckboy View Post

So im just writing it to the Usb.. no creating a GPT partion on the USB first with a EFI boot partition.. 1st?
No. Just writing it will auto-magically create the ESP.
 
1 members found this post helpful.
Old 05-10-2019, 10:21 AM   #7
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Didier Spaier View Post
No. Just writing it will auto-magically create the ESP.
auto-magic is good.

Thank you.
Will look forward to trying it at home.
 
Old 05-10-2019, 01:44 PM   #8
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30


No magic im afraid.
after initrd starts I get to the

<OPTION TO LOAD SUPPORT FOR NON US KEYBOARD> part.

But if i press 1 for example then " ^[[18~ " get echoed to the screen

Basically no characters get properly echoed to the screen as pressed..



PC too new?
 
Old 05-11-2019, 03:17 AM   #9
drop
LQ Newbie
 
Registered: May 2019
Posts: 2

Rep: Reputation: Disabled
Have you tried using a USB keyboard? On both a 5510 and 5520 Dell, the build on keyboard does not work correctly, but a USB keyboard works fine. After install, the builtin works fine.
 
1 members found this post helpful.
Old 05-11-2019, 03:45 AM   #10
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
Ok.thank you.ill try this.
 
Old 05-11-2019, 07:32 AM   #11
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by slzckboy View Post
it is a tad capable yes.. just doesnt play so nice with slackware out the box
It's no more difficult than any other EFI based machine, and less difficult than some because it doesn't hide any settings.

All you need to do is point the UEFI of the machine to the eLILO.efi file to boot the machine. Provided that you have configured eLILO properly, it'll boot.

If you want to dual boot Windows as well, then rEFInd is the best option: http://www.rodsbooks.com/refind/.

Steer clear of GRUB.

Are you installing -current or 14.2?
 
1 members found this post helpful.
Old 05-11-2019, 09:12 AM   #12
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
All up and running using Didiers install media and a USB keyboard to get me through initrd.
Im back to using the inbult keyboard.


Thank you to everyone who took the time to answer this thread much appreciated.

This was never going to be a dual boot machine.I wanted this to be purely Linux,however i do have a machine that i wish to dual boot so i will read more into rEFInd
 
Old 05-12-2019, 12:02 AM   #13
drop
LQ Newbie
 
Registered: May 2019
Posts: 2

Rep: Reputation: Disabled
To add some more info into the mix. Yesterday i used the 14.2 install media to install onto a Dell 5520 with an NVMe drive, via uefi without any special install setup. I have not had issues with the default 14.2 installer aside from requiring a USB keyboard during initial install. I also used full disk encryption with LUKS and LVM, then installed elilo, mounted the partition, created the vmlinuz.gz, copied it over and was booting. Only adding this since IMO you don't have to use a modified installer, though it sounds like the modified version is easier. I am currently in a state where the 4.4 kernel is not fully supporting all of my hardware, so I am going to try using the slackware-current kernel on my 14.2 install as the only mod. (I am going to script it so slackpkg pulls the kernel from -current, and blacklist the kernel updates from -14.2 so only the kernel / headers / source is different. I believe this should work. One side note, from the latest 4.4 kernel, i had to add nvme to the modules for the vmlinuz build. the default only needed my filesystem, I also added usb-hid devices so i could key in with an external keyboard, but not required.
I'm glad you got it all working!
-
Edit: for dual booting, you can use the efi boot structure of the laptop. on most Dell's its f12 to choose your boot device. and you can leave both windows and slackware in the efi folder, default to slackware, then hit f12 to choose windows when you want to. I have found using efi is easier as well, because you can modify your boot requirements and defaults from the bios. You can also keep working boot files on a usb drive, and copy them to the efi folder from almost anywhere / any os when trying different options.

Last edited by drop; 05-12-2019 at 12:07 AM. Reason: update on dual boot
 
Old 05-16-2019, 02:04 AM   #14
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by drop View Post
I am currently in a state where the 4.4 kernel is not fully supporting all of my hardware, so I am going to try using the slackware-current kernel on my 14.2 install as the only mod. (I am going to script it so slackpkg pulls the kernel from -current, and blacklist the kernel updates from -14.2 so only the kernel / headers / source is different. I believe this should work.
-
I did a standard kernel upgrade to 4.19.43 as my sound card wasn't being detected by the kernel.All my hardware now works fine.Card reader,video card,sound and network are all working it seems.

At last i can think about using the machine for its intended purpose.

This experience has highlighted a few gaps in my knowledge with using Linux/slackware so i will be looking to have a tinker with some older machines i have lying about and peek under the hood more.

Once again ,thanks all
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Trying to boot Ubuntu in UEFI mode, UEFI doesn't recognize boot devices Sarcutus Ubuntu 11 01-11-2019 07:14 PM
How to Mount /dev/nvme0n1 /folder in arch linux on NVMe ssd? Raoulsch Linux - Newbie 7 02-07-2016 10:13 AM
[SOLVED] Slackware USB key install in nvme0n1 device mlpa Slackware 16 01-14-2016 02:29 PM
centos 6 multipath sees /dev/sdd but not partition on /dev/sdd thllgo Linux - Server 1 09-14-2015 02:08 PM
How to use samba implementing some files can visible and some files can not visible willie118 Linux - Server 7 09-18-2007 12:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration