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 09-10-2017, 07:55 PM   #1
glenn95376
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Rep: Reputation: Disabled
Dual Booting Slackware 14.2 + Windows 10


Hi Folks,

I'm moderately experienced with Linux, but it's mostly with Debian derivatives, so I haven't yet really learned Linux. So I'm gonna go ahead and throw on the newbie hat here.

I'm looking at a clean install of Slackware 14.2, installed on the same HDD with an old existing Windows 10 OS. I followed the installation guide and got through wireless internet setup okay. Basically the system is installed now; it just needs to be dialed in to my preferences. But the problem, I shutdown and powered back on and the boot loader takes me directly into Linux every time. It doesn't give me the option to boot into Windows.

I'm assuming I need to configure something, but I can't find any documentation. Help please? What information do you need?

Thanks in advance!

Glenn
 
Old 09-11-2017, 06:30 PM   #2
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 117

Rep: Reputation: 62
You can use the UEFI firmware native boot manager or install a boot manager like grub or rEFInd. For the UEFI boot manager you need to press a key right at bootup to bring up the boot menu. Which key to press is manufacture dependent. My Asus Laptop used the ESC key to bring up the boot menu. On my Dell laptop it's F12 and my desktop computer uses F11. The one drawback of this is that you have to press the key each time you boot.

Both grub and rEFInd are available using Slackbuild. Installing either one of these will result in booting into a boot menu without user interaction.

Last edited by laprjns; 09-12-2017 at 06:08 AM.
 
1 members found this post helpful.
Old 09-11-2017, 06:48 PM   #3
glenn95376
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi Rich,

Thank you for the help. I'm a bit (a lot) obsessive when I can't figure something out. I went digging into the www last night and this morning and determined with a fair degree of certainty that something (probably operator error) in the install process broke the EFI partition. I managed to repair the disk sufficiently to recover my program files and documents (the Windows partition wouldn't mount initially post-install). But the Windows installer couldn't recover or repair the drive (neither could I, in my limited ability). And it couldn't read the Windows product key for reinstall, nor could I pull it off the drive manually.

Sooo-- net of all that, I took the files, scratched the disk and started over. I have an old Windows 7 install disc I'll install and then upgrade to 10, and then try the install again, skipping the LILO/ELILO section. I use grub on my desktop and it works flawlessly.

Thanks for the suggestions!

Glenn
 
Old 09-11-2017, 07:20 PM   #4
chrisVV
Member
 
Registered: Aug 2010
Posts: 227

Rep: Reputation: 75
Quote:
Originally Posted by glenn95376 View Post
Hi Rich,

Thank you for the help. I'm a bit (a lot) obsessive when I can't figure something out. I went digging into the www last night and this morning and determined with a fair degree of certainty that something (probably operator error) in the install process broke the EFI partition. I managed to repair the disk sufficiently to recover my program files and documents (the Windows partition wouldn't mount initially post-install). But the Windows installer couldn't recover or repair the drive (neither could I, in my limited ability). And it couldn't read the Windows product key for reinstall, nor could I pull it off the drive manually.

Sooo-- net of all that, I took the files, scratched the disk and started over. I have an old Windows 7 install disc I'll install and then upgrade to 10, and then try the install again, skipping the LILO/ELILO section. I use grub on my desktop and it works flawlessly.

Thanks for the suggestions!
I had a problem installing elilo on a system which had windows previously installed. It rendered the EFI windows directory unreadable but it was easily repairable (I can't now remember what I did I am afraid: I may have just made a new directory and copied stuff across, as I kept a copy of the windows boot directory). As elilo cannot boot windows anyway, installing grub or refind is probably a better way. I use refind and I have found it works really well.
 
Old 09-11-2017, 09:12 PM   #5
RadicalDreamer
Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 516

Rep: Reputation: 230Reputation: 230Reputation: 230
I use refind from slackbuilds to boot. I use efibootmgr to set boot order to refind (have to go to refind directory after installing with slackbuilds to install to EFI). I use windows 10 dvd (downloadable from microsoft) to fix boot problems using the command line: http://windowsreport.com/windows-8-uefi-boot/

Have to run eliloconfig each time you update kernel.
 
Old 09-12-2017, 01:55 AM   #6
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 287

Rep: Reputation: 78
I use grub for dual booting between Slackware64-current and Windows 10. You can use grub-install and grub-mkconfig. In Slackware-current (v. 2.02) grub-mkconfig can detect and add a menu line for Windows boot manager. Otherwise, you might try to add a menu line by modifying /etc/grub.d/40_custom and adding there something like this:

Code:
menuentry "Windows 10" {
    set root='(hd0,gpt2)'
    chainloader /EFI/microsoft/Boot/bootmgfw.efi
}
Hope this helps. The documentation for any of the usable EFI boot managers (elilo, refind, grub) is really sad. Lots of detail but nothing clear.
 
1 members found this post helpful.
Old 09-12-2017, 08:07 AM   #7
yngvarr
LQ Newbie
 
Registered: Mar 2009
Distribution: Slackware 14.2
Posts: 3

Rep: Reputation: 0
I use different approach then already described above. I store lilo into Slackware root partition and use Windows boot manager for booting. With EasyBCD (http://neosmart.net/EasyBCD/) I add Slackware partition to the boot manager. It's quick, easy and works that way for years now. Drawback here is that each time something change, either I change partition table from Windows or I update lilo configuration for any reason, I need to delete old entry from boot menu and add Slackware partition to it again. But that's rare enough not to be a hassle.
 
Old 09-12-2017, 11:21 AM   #8
glenn95376
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sombragris View Post
The documentation for any of the usable EFI boot managers (elilo, refind, grub) is really sad. Lots of detail but nothing clear.
Being a brand-new student of Slackware and Arch (I'm playing with both purely for the sake of thoroughly confusing myself haha) I have to agree with your assessment. It was on an unrelated website, not on slackdocs, where I found instructions that said to skip the ELILO installation for dual booting Windows. I guess things that are common to veterans are understandably going to be looked over in the how-to. But would be nice if it was touched upon in a clear and direct manner.

Quote:
Originally Posted by yngvarr View Post
I use different approach then already described above. I store lilo into Slackware root partition and use Windows boot manager for booting. With EasyBCD (http://neosmart.net/EasyBCD/) I add Slackware partition to the boot manager. It's quick, easy and works that way for years now. Drawback here is that each time something change, either I change partition table from Windows or I update lilo configuration for any reason, I need to delete old entry from boot menu and add Slackware partition to it again. But that's rare enough not to be a hassle.
Interesting. This will be something to play around with. I'm using a couple of old laptops, a late 90s era Sony Vaio, and my son's old gaming laptop which he outgrew a couple of years ago when we built his desktop. I'll see if I can work this out.

Thanks guys!
 
Old 09-12-2017, 12:43 PM   #9
bimboleum
Member
 
Registered: Oct 2009
Posts: 109

Rep: Reputation: 23
Hi,
What will you be using windows for??

If you are not doing gaming or any other stuff that needs direct access to the display hardware, you should consider running windows in a virtual machine under linux.

This allows you to run both windows and linux simultaneously.

I run windows under linux using virtualbox. I have down this for years now and it works very well.

cheers
pete

pete hilton
saruman@ruvolo-hilton.org
 
Old 09-12-2017, 02:26 PM   #10
glenn95376
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi Pete,

Functionally, it's mostly a consideration for my wife. As much as I enjoy tearing into things I don't understand, she's every bit as much opposed to it. She has an aversion to Linux... but she's just so dern cute, I can't hold it against her.

Ethically/economically, I spent a lot of money to purchase these systems with an OS that is anything but free. And as long as that OS is secure and serviced, I want to maintain my rights to use it. For that, I agree, virtual machine is the way to go. The only thing I use it for is the office suite, when the particular task (recipient) won't allow for OpenOffice or Libre.

But for keeping the wife happy, she needs an easy way into a Windows OS. No joke, showing her how to navigate the grub was head-spinning for her. She wasn't a happy camper that day. Now that's behind us, trying to keep it simple for her.

Glenn
 
Old 09-12-2017, 03:31 PM   #11
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,571

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
Quote:
Originally Posted by glenn95376 View Post
The only thing I use it for is the office suite, when the particular task (recipient) won't allow for OpenOffice or Libre.
I do have Windows installed on my laptop because my school requires a lot of things in Windows (including Office) and it's just easier to keep that Windows and then just have Bash on Ubuntu on Windows (what a mouthful) pretty much always ssh'd into my desktop.

That being said, there was many years that I was Windows and Office free and I was able to find an easy way to deal with Word, Excel, and Powerpoint files that just didn't seem to open up properly in LibreOffice. You can use https://www.office.com with a free Microsoft account (I used my late 90s or early 2000s hotmail account that I never really used for anything). You do have to jump through a minor hoop and upload your documents to your onedrive account (which is included with your Microsoft account). From there you basically have the complete Word program, which will allow you to make any changes and print it (if you need to send the file, you can always Print as PDF to keep formatting no matter how you open it).

TL;DNR Rather than rebooting just to access office documents that don't open properly in {Open,Libre}Office, just use Microsoft's https://www.office.com which is similar to Google Docs and gives most the same functionality (and formatting) as the desktop apps.
 
Old 09-12-2017, 04:47 PM   #12
glenn95376
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
@bassmadrigal, yeah, I've used it for some things. I'm a student too. For accounting stuff, the online is just more tedious when formatting. I typically will do my work on Libre Calc (whoever added the format painter lock is my personal hero) and then use office.com as a last resort to do final formatting and checks to make sure the formulas and notes carry over before uploading. It gets the job done for the professors (and customers) who can't or won't figure out how to open other file types.

Like I said though, most (90%) of the reason to keep Windows on dual is for my wife. And then once I'm making it available, it's just easier to use and more functional than office online.

I think if Wine could work out the issues with .NET I could pretty much ditch Windows altogether. Or if I take tax accounting next year, I can be the TurboTax in my house. But we use about 200 schedules and print a ream of paper every year at tax time on account of my wife's self-employment and my investments. She likes to do it with TurboTax and for $80 at Costco, and she does all the work, I'm not complaining. I'll just keep her a PC or two with Windows running...

I guess we're getting into a new thread topic here, but actually to boil it down fully, I haven't been able to successfully install and run TurboTax on a Debian-based system, hence I still need Windows. And now that we have several years into TT, and accruals rolling forward through the next 2+ tax periods, it's nice to have the software plug in all the numbers for you and not have to reference back to prior years.
 
Old 09-12-2017, 08:19 PM   #13
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,221

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
With an efi system I let slackware grub control the booting. After an initial install of grub and grub-mkconfig, I edit my /boot/grub/grub.cfg to have only two entries for slackware, One pointing to /boot/vmlinuz and one pointing to /boot/vmlinuz-generic and initrd.gz. For dual booting with other distros, I have grub entries to boot the grub configfiles of the other distros and an entry for windows. Whenever new kernels are installed all I have to do is run the mkinitrd for the new modules. I don't have to rerun grub-mkconfig. The other distros take care of their own grub.cfg

Last edited by colorpurple21859; 09-12-2017 at 08:20 PM.
 
  


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
Dual booting Slackware and Windows 8 Slawd Slackware 8 04-20-2013 01:33 PM
Dual-booting windows 7 after installing slackware 14 fatalerror0x00 Linux - Desktop 5 10-23-2012 01:10 AM
Dual booting Slackware 12.1 with Windows XP Pro, can't partition colonel_clink Slackware - Installation 2 06-01-2008 08:39 AM
Dual booting Slackware 10 and Windows XP Corallis Linux - Newbie 5 08-31-2004 01:12 AM
Dual booting Slackware and Windows superDrive Linux - Newbie 1 06-21-2003 04:59 PM

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

All times are GMT -5. The time now is 12:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration