LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-21-2022, 01:45 PM   #1
ssslackw
Member
 
Registered: Aug 2005
Posts: 61

Rep: Reputation: 2
Cool Windows 10 and Slackware 15.0 Dual boot installation


Hi,
It has been while since I have installed a Windows/Slackware dual boot system.
It will be done on a laptop computer.
Two questions:
1. Do I need to shrink the size of the Windows partition first with Windows utilities before I start installation Slackware?
2. When I set up the LILO bootloader during Slackware installation, do I need to go the expert mode to handle the dual boot (Windows 10/Slackware 15.0)?


Thanks for your help
 
Old 03-21-2022, 01:57 PM   #2
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 782
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
there are some subtlties to clarify: 32bit or 64bit, and lilo or elilo (you mentioned lilo, so that's what I assume)... and without the 64 in slackware64-15.0, I assume you are installing 32 bit. But might as well clarify from the getgo. The main difference is lilo vs elilo -- or grub.

Oh... yeah, shrinking your windows partition from within windows is fine method for preserving existing windows installation; then there will be empty space on the drive already available to setup to create partition/s for slackware.
 
Old 03-21-2022, 02:00 PM   #3
ssslackw
Member
 
Registered: Aug 2005
Posts: 61

Original Poster
Rep: Reputation: 2
Thanks for the questions:
It will be 64 bits and elilo or grub


Thanks
 
Old 03-21-2022, 03:34 PM   #4
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,491
Blog Entries: 7

Rep: Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581
Windows 10 and Slackware 15.0 Dual boot installation

elilo can't boot Windows, so you'll have to use grub or rEFInd.
 
Old 03-21-2022, 03:47 PM   #5
ozanbaba
Member
 
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778

Rep: Reputation: 135Reputation: 135
YOu should first shrink the windows partition. I went half half even though I dont actually boot to windows now. I do all my work on Slackware now. (Fuck you P6 I dont have to suffer you any more).
I went grub for bootloader. It arranges all the needed boot entries for Linux but you need to tinker config for windows.
HOw I went is like this:
First I shrink windows partition,
Second I installed Slackware on the empty partition (I use swap-file instead of swap partition so I didn't create a swap partition)
Then at the end of the installation, I used elilo. It boot to Slackware just fine (Dont forget to prepare your initrd before elilo or you can end up with non booting system).
Once I am in the running Slackware, I configured grub and installed: grub-mkconfig will prepare your config file. You need to add windows partition information to /etc/grub.d/40_custom, run grub-mkconfig then grub-install.
my /etc/grub.d/40_custom is below:
Quote:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 10" {
set root='(hd0,1)'
chainloader /EFI/microsoft/Boot/bootmgfw.efi
}
AS you can see it, it is not first partition. The first partition is UEFI parition.
 
  


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
[SOLVED] Dual boot without windows - Windows 10 UEFI dual boot with Metamorphose Panther(Debian/KDE) mithidieri Linux - Newbie 7 11-03-2017 12:10 AM
Dual boot Dual hdds, Download of ubuntu 10.1, no vista or dual boot jim d Linux - Newbie 4 11-25-2010 04:18 PM
grub boot loader installation in dual boot machine after windows 7 installation sourabh.sinha Linux - Newbie 4 03-23-2010 09:22 AM
Dual linux boot and dual windows boot together? Stuart36 Linux - General 8 05-01-2007 11:53 PM

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

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