LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 02-28-2018, 07:57 AM   #1
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 518

Rep: Reputation: 152Reputation: 152
Post installing with lilo and nvme


hopefully PV will see this :-)
I have a pc with nvme drive. lilo does not work with nvme drives, so I created some patches for both lilo (source code patches) and liloconfig (script patch). These patches I have tested with real hardware in the following combinations.
  • 1. nvme, sata dvd and sata hard drives (mbr install using liloconfig defaults to nvme, can be changed by editing lilo.conf)
  • 2. nvme and sata dvd. just works as expected.
I've also tested on vm's using qemu 2.11.1
  • 1. nvme and dvd : works as expected
  • 2. nvme and acpi drive and dvd : work as expected, nvme drive is used for mbr by liloconfig. (see other 1. above)
  • 3. acpi drive and dvd : works as expected.

This is a request for the patches to be added upstream (ie. to Pat) if they are satisfactory :-).

Patches are attached. I can provide more info about patching, or qemu config if needed.
The only requirement (for real hardware) is that the bios supports booting the nvme in legacy (csm) mode.
For emulation (vm) using qemu, 2.11.1 is required, as earlier versions do not support booting from nvme.

comment. with disk image and slackware iso stored on nvme media,it takes about 10mins to do a full install of slackware in a qemu vm.
Attached Files
File Type: txt mylilo.patch.txt (2.6 KB, 254 views)
File Type: txt myliloconfig.patch.txt (3.2 KB, 185 views)
 
Old 03-01-2018, 02:12 AM   #2
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 2,421

Rep: Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038
slackware64-current ChangeLog.txt:
Code:
Mon Feb 26 21:32:03 UTC 2018
a/lilo-24.2-x86_64-6.txz:  Rebuilt.
  Support NVMe devices. Thanks to timsoft.
 
1 members found this post helpful.
Old 03-01-2018, 04:00 AM   #3
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 518

Original Poster
Rep: Reputation: 152Reputation: 152
hooray. well spotted Petri.! well worth the couple of weeks working on it. thanks Pat for including it.:-)
 
1 members found this post helpful.
  


Reply

Tags
lilo, nvme, slackware 14.2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Lilo incompatibility with NVMe disks? rlaanemets Linux - General 8 08-28-2022 06:51 PM
NVME Passthrough tini981 Linux - Kernel 7 01-15-2018 02:43 PM
[SOLVED] NVMe Zyxor Linux - Kernel 3 11-16-2015 02:05 PM
LILO ERROR #1 - Lilo boot loader not installing in VectorLinux 7.0 Light edition. Vexe VectorLinux 4 02-09-2013 10:41 AM
[SOLVED] LILO fails when run from live CD after installing Slack (skipped LILO during setup) sysfce2 Linux - Newbie 7 08-04-2009 01:16 AM

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

All times are GMT -5. The time now is 03:32 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