LinuxQuestions.org
Review your favorite Linux distribution.
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 04-23-2022, 08:08 AM   #1
krakanut
Member
 
Registered: Aug 2012
Distribution: The Slackware
Posts: 62

Rep: Reputation: Disabled
slackware on 2nd nvme


Hi - I have windows on my primary nvme and want to install slackware 15 on second. This is a uefi laptop. After fresh install of slack or re-running of elilo my bios finds the slackware entry. after I boot into windows - windows seems to overwrite the efi wiping out my slack entry causing me to use a boot disk to get back into slack. i tried changing slack drive to mbr and reinstalling but the installer still finds the efi partition and opts to use that. i also tried creating an efi on the second drive but neither slack or bios sees this.

caveat - i replaced the old second drive pop-os with a new nvme. pop and windows seemed to comingle fine. windows was the default boot and if i esc into bios i could always find pop (actually showing me the name of the second drive - not pop entry per se) - selecting the second drive booted into pop no problem. How do i get this same function with slack?

Do i need to reset bios somehow to address the drive replacement?

Other than using a boot disk is there a better way to install Slackware that i can permanently access it via bios (even through kernel upgrades)?
 
Old 04-23-2022, 09:08 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,217

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
As far as I know, you can only have 1 efi partition on any UEFI system. Its the UEFI that has changed the NVRAM entry for Slack that has beed screwed up. I found this out the hard way also, but not with Win. My desktop is UEFI, I have 3 disks. SDA has Slackware current, SDB has Slack 14.2 on a MBR setup and my NMVE drive has Slack 15.0. I also installed ReFind, its a boot manager; can also be a boot loader. To get SDA to boot, I have a separate directory for SDA on nvme0n1p1, the kernel and initrd goes there, and I can boot SDA. I have messed with efibootmgr in slackware. You can display the NVRAM entries the UEFI uses. You can modify the boot order, and change entries. I do not know if Win supplies shuch a program, you can look to see if it is available. It works from Slack with root privlidges.

You need to have a directory on the Win disk to boot Slack.

With my setup, Refind presents a menu and I choose what system I want to boot. It then passes control to the boot entery for the appropriate disk. It works well, you can google for ReFind, it is very well documented.

I'm not sure you need Refind, however, it will help you understanding UEFI, its not BIOS.
 
  


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
LXer: Data in a Flash, Part II: Using NVMe Drives and Creating an NVMe over Fabrics Network LXer Syndicated Linux News 0 05-20-2019 11:41 PM
Migrate Linux/win10 dual boot from MBR nvme drive to a new GPT nvme drive bluemoo Linux - Software 7 09-25-2018 06:42 PM
Trying to setup Slackware on UEFI works with Ubuntu but can't get it to work with Slackware and my NVMe sternone Slackware 3 07-14-2017 04:30 PM
Slackware as 2nd os on 2nd hdd chd_lad Linux - Newbie 7 04-05-2008 03:43 PM
Added a 2nd Sata Drive installed Fedora Core 5, BIOS Doesn't See 2nd Drive. mtmcc1 Linux - General 3 12-03-2005 04:01 PM

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

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