LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-07-2019, 10:20 AM   #1
Toutatis
Member
 
Registered: Feb 2013
Posts: 411

Rep: Reputation: Disabled
installation of slackware


Hello,

Suppose that I have slackware (64-current) installed on a SSD, with no bootloader installed), and a computer with windows 10 only.
Is it possible (and how) to connect the slackware SSD on the win 10 computer, and make dual booting avalaible ?
 
Old 05-07-2019, 10:45 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
where is the ssd laying around at now? if it is still plugged in then install lilo, or grub, put it in the other. and tell BIOS to boot from that hdd, then update your lilo, or grub to add windows.

or go live usb linux, chroot and install grub after you put in sdd. look up how to install grub chroot.
 
Old 05-07-2019, 11:42 AM   #3
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
I've never dealt with UEFI dual-booting with Windows, so someone may need to correct any misinformation I provide.

First thing is you'll want to make sure that Windows and Linux both use the same EFI partition.

If you want to use the Windows bootloader to boot Slackware, the easiest way is with http://neosmart.net/EasyBCD/.

If you want to use a Linux bootloader, you can tell Windows to use grub by running:

Code:
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
Or you can see if grub can detect everything and set it up automatically (you will need to find out which device is your EFI partition and replace $EFI-PARTITION with that entry, like sda1 -- if you need help with this, let me know):

Code:
update-grub
grub-install /dev/$EFI-PARTITION
Or if that doesn't work, you can set up a manual entry in grub using /etc/grub.d/40_custom (this will require finding the UUID of your Windows partition and replacing the $UUID variable -- you can find that using blkid):

Code:
menuentry "Windows 10" --class windows --class os {
   insmod ntfs
   search --no-floppy --set=root --fs-uuid $UUID
   ntldr /bootmgr
}
And then running update-grub to save everything.

Good luck!
 
1 members found this post helpful.
Old 05-07-2019, 11:54 AM   #4
Toutatis
Member
 
Registered: Feb 2013
Posts: 411

Original Poster
Rep: Reputation: Disabled
Thank you for the answers.
I just wanted to know if it is possible to do the same as for slackware on an USB stick (i.e. nothing ?), if instead of connecting an USB stick I connect a SSD on SATA or pciexpress.
 
Old 05-07-2019, 12:20 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
boot your ssd off of usb, yes but still you're going to need to have lilo or grub on that hdd(sdd) to boot your OS.
 
Old 05-07-2019, 02:17 PM   #6
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 353

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by Toutatis View Post
Thank you for the answers.
I just wanted to know if it is possible to do the same as for slackware on an USB stick (i.e. nothing ?), if instead of connecting an USB stick I connect a SSD on SATA or pciexpress.
Yes, it will work. You'll probably need to use your computer firmware's option to select the desired startup disk. And the external disk will still need a boot manager like Grub. Make sure you install Grub to that external disk, and maybe skip using osprober to find other OSs, since the SSD will basically be a removable and shouldn't boot first anyway.
 
Old 05-07-2019, 08:36 PM   #7
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,421
Blog Entries: 7

Rep: Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535Reputation: 2535
Install rEFInd:

http://www.rodsbooks.com/refind/

It'll solve all your problems.
 
  


Reply


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
slackware installation, or package installation?? mipia Slackware - Installation 1 12-15-2003 06:54 PM

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

All times are GMT -5. The time now is 07:12 AM.

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