LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   installation of slackware (https://www.linuxquestions.org/questions/slackware-14/installation-of-slackware-4175653486/)

Toutatis 05-07-2019 10:20 AM

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 ?

BW-userx 05-07-2019 10:45 AM

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.

bassmadrigal 05-07-2019 11:42 AM

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!

Toutatis 05-07-2019 11:54 AM

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.

BW-userx 05-07-2019 12:20 PM

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.

phalange 05-07-2019 02:17 PM

Quote:

Originally Posted by Toutatis (Post 5992614)
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.

rkelsen 05-07-2019 08:36 PM

Install rEFInd:

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

It'll solve all your problems.


All times are GMT -5. The time now is 01:52 PM.