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 10-15-2017, 09:43 AM   #1
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
how to boot Slackware on the second disk if on the first is windows10


Hi,

I have a notebook with 2 disks,
the second one is Slackware, the first whatever I need for my current project

Now I need windows10 on the first disk for some time.

until now, Slackware was booted via GRUB of the Linux installation on the first disk

but now I need to install windows10 on the first disk, so before I do this

any hints tips and/or tricks for me that my Slackware stays bootable
its an EFI system with a EFI partition on disk 2, the Slackware disk

thanks!
 
Old 10-15-2017, 10:10 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

Before you start this endeavor I suggest that you reference; https://docs.slackware.com/start
Quote:
Getting Started with Slackware

  • Getting Involved: describes various ways Slackers (both new and experienced users) can contribute to the Slackware community.
  • Slackware Live Edition: if you want to try a Live Edition of Slackware before committing it to your hard drive.
Loads of information and links to help your Slackware installation go a little easier.
Hope this helps.
Have fun & enjoy!
 
Old 10-15-2017, 10:26 AM   #3
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
onebuck, thanks, but, ... did you read my post? obliviously not because than you would understand that my Slackware is already installed and I asked something different
 
Old 10-15-2017, 10:53 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

Yes, I read the OP and if you need to install W/10 then reading the doc will help to show the need for configuration. Remove or disconnect the current Slackware HD then install/restore W10 on it's HD and follow the instructions for adding Slackware to the Windows boot loader.

Microsoft has never liked the idea of installing second fiddle. Your install will require you to include information for the Slackware HD within the Win/10 boot loader structure. You want to have the boot loader on the win/10 HD then add the EFI for Slackware as indicated within the referenced doc.
Hope this helps.
Have fun & enjoy!
 
Old 10-15-2017, 11:12 AM   #5
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by onebuck View Post
Hi,

Yes, I read the OP and if you need to install W/10 then reading the doc will help to show the need for configuration. Remove or disconnect the current Slackware HD then install/restore W10 on it's HD and follow the instructions for adding Slackware to the Windows boot loader.

Microsoft has never liked the idea of installing second fiddle. Your install will require you to include information for the Slackware HD within the Win/10 boot loader structure. You want to have the boot loader on the win/10 HD then add the EFI for Slackware as indicated within the referenced doc.
Hope this helps.
Have fun & enjoy!
thanks,
I can not find the thing about how to add hd2 to the windows boot loader in the referenced docs
this is slightly different https://docs.slackware.com/slackbook:booting

the other think is, I can not disconnect disk2, its m2 and I can not access it (without disassembling the whole notebook what I am not allowed to do). hope this will not be a problem
 
Old 10-15-2017, 01:08 PM   #6
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
just running the installation, could not wait. lets see whats happen, I mean, what can go wrong ?
hope I will still have the Slackware installation later this evening
 
Old 10-15-2017, 04:35 PM   #7
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
I'm a firm believer in rEFInd.
https://slackbuilds.org/repository/1...?search=refind
 
Old 10-15-2017, 04:37 PM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Why don't you just set the boot priority to boot the second disk and use lilo or grub to chainload the Windows bootloader? I also know you can use the Windows bootloader to boot Slackware. This post on Alien Bob's blog might shed some light on the latter.
 
Old 10-16-2017, 01:19 AM   #9
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by RadicalDreamer View Post
thanks, will give it a try


Quote:
Originally Posted by bassmadrigal View Post
Why don't you just set the boot priority to boot the second disk and use lilo or grub to chainload the Windows bootloader? I also know you can use the Windows bootloader to boot Slackware. This post on Alien Bob's blog might shed some light on the latter.
because I am super unskilled with installing and running Windows.
last time I had to use it I had a dedicated Notebook and the only thing I did was booting it from time to time to see that some code I have written compiles with MSVC (which is also about the only use case I have now)
but I will think about this solution and maybe give it a try, this seems to be simple
 
1 members found this post helpful.
Old 10-16-2017, 02:41 AM   #10
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
a4z sometimes Windows 10 loves to install its bootloader over whatever you are using. Its important to always have a Windows 10 media install disc to have access to a command prompt to fix the Windows boot when it messes up with something like this: https://superuser.com/questions/7008...s-8-efi-system

Bios should allow you to switch to rEFInd after Windows pulls a stunt and installs over it (rarely happens).

rEFInd requires installation after installing the Slackbuild. There is a script refind-install at /usr/share/refind*. I use eliloconfig and it copies the required files from boot to the Slackware folder in the efi partition. efibootmgr order has to be changed to rEFInd after each kernel update.

This is all I know. I hope its of some help
 
Old 10-16-2017, 03:24 AM   #11
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Quote:
Originally Posted by a4z View Post
just running the installation, could not wait. lets see whats happen, I mean, what can go wrong ?
hope I will still have the Slackware installation later this evening
So, what happened?

I am presuming Windows would have installed an EFI partition on the first disk with its bootloader there, and it would probably also have put its bootloader first in the priority boot list.

With UEFI it is quite simple to run several bootloaders. Since GRUB for Slackware was effectively running on the system, it will already be registered in the UEFI firmware settings (the new BIOS). So, all you have to do is change the order in the BIOS itself. The worst case will be where Windows would have completely removed your bootloader from the list, then you just have to boot a live CD/USB, install GRUB back on the proper EFI partition and register it.

You can also check rEFInd and this small HowTo: https://docs.slackware.com/howtos:sl...d_on_slackware. This article also explains a couple of things about chrooting and installing GRUB on UEFI systems.
 
1 members found this post helpful.
Old 10-16-2017, 04:45 AM   #12
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by RadicalDreamer View Post
I use eliloconfig and it copies the required files from boot to the Slackware folder in the efi partition. efibootmgr order has to be changed to rEFInd after each kernel update.
You can avoid this by answering "No" when eliloconfig asks to install a Boot Menu entry.

Last edited by laprjns; 10-16-2017 at 04:07 PM.
 
1 members found this post helpful.
Old 10-16-2017, 07:01 AM   #13
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by aragorn2101 View Post
So, what happened?
Windows is installed, Slackware is still there but I can not boot it
there is a Slackware in the boot menu list but when I boot it it says there is no sdbX , what is the location for the initrd
maybe I need to get the UUID of the disks and write this somewhere ...

so currently I do not know how to come to elilo of the Slackware boot loader.
 
Old 10-16-2017, 09:07 AM   #14
bormant
Member
 
Registered: Jan 2008
Posts: 426

Rep: Reputation: 240Reputation: 240Reputation: 240
@a4z,
if you using UEFI, copy vmlinuz (and if it is -generic- kernel, initrd.gz) from /boot to ESP on first disk, copy elilo.efi and elilo.conf to ESP on first disk.
Use efibootmgr or machine firmware to add Slackware boot option to boot elilo.efi.

Quote:
Originally Posted by a4z View Post
it says there is no sdbX
Is this kernel panic or somthing else?

Last edited by bormant; 10-16-2017 at 09:11 AM.
 
Old 10-16-2017, 10:56 AM   #15
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by bormant View Post
@a4z,
if you using UEFI, copy vmlinuz (and if it is -generic- kernel, initrd.gz) from /boot to ESP on first disk, copy elilo.efi and elilo.conf to ESP on first disk.
Use efibootmgr or machine firmware to add Slackware boot option to boot elilo.efi.


Is this kernel panic or somthing else?
no kernel panic, it just says that there is no sdbX and gives me a shell with the hint that I can fix the stuff.

the problem with some of the tips here is, they assume I already in Linux, but I am not :-) :-(
need to see how this thing looks from MS, if I can copy there something to a partition windows does not even show me

how good that I have no stress with this, but, it is astonishing how complicated our experts that define standards made it to be able to boot multipe OSes from one computer, whoever designed, published and/or signed UEFI should be punished, seriously!
 
  


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
Trying to install linux mint dual boot on windows10 elizabethjq88 Linux - Newbie 11 08-21-2017 07:18 AM
partially installed Slackware 13 but cannot boot into it, how to make boot disk as d Fred Caro Slackware 5 10-29-2009 05:53 AM
Fresh Slackware 9.1 installation requires boot disk to boot smithtodda Slackware - Installation 7 06-23-2004 09:06 PM

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

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