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 06-29-2018, 04:38 AM   #1
Trasa
Member
 
Registered: Nov 2007
Posts: 63

Rep: Reputation: 26
New win 10 PC - use old drive with lilo?


I just ordered an inspiron 5680 i7 geforce 1060 and reading about win 10 security problems is freaking me out. So i think i will be spending more time in slackware, i have been away for a while entranced by windows games

I was thinking of taking the drive from my current computer, with lilo installed on the MBR and intalling it in the new inspiron, switching the inspiron to legacy boot and specifying the lilo drive as the boot drive.

Will this work?

Any thoughts on how the original drive in the inspiron would be specified in lilo.conf? /dev/sda2? There is an ssd in the new computer and idk how those are specified?
 
Old 06-30-2018, 02:51 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
It should boot, but the details will probably be wrong. You will have drivers for the old PC, not the new. Reinstall and/or rebuild the kernel and you should be a lot further along the road.

There are basically endless size limits with the MBR format but it's one way of eliminating EFI. I share your thoughts about UEFI, MBR, Lilo although I realise I may be dragged kicking and screaming into the 21st century at some future point. I share your thoughts about windows 10. I have it confined to a VM. It doesn't even have my name. It boots (very occasionally) and says " Hello Tight Ass!":-).
 
2 members found this post helpful.
Old 06-30-2018, 04:50 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
If you don't want to use Windows, it would be much more efficient to just wipe it out and install Slackware anew, after having disabled Secure boot in the firmware's menu if need be.

You will most probably get better performances using the SSD of the new machine than your old drive.

If you want to use Windows 10 on occasion, see how to make an ISO of it that you could use to install it in a virtual machine. Or if you have plenty of room on this SSD, just resize main Windows partition to the minimum allowed (do it from Windows) and install Slackware in the emptied space. This works too.
 
1 members found this post helpful.
Old 06-30-2018, 04:52 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
@ business_kid: there is nothing frightening or nasty about UEFI. Just learn what it actually is and how to use it.

Last edited by Didier Spaier; 06-30-2018 at 05:41 AM.
 
3 members found this post helpful.
Old 06-30-2018, 06:16 PM   #5
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by Trasa View Post
Any thoughts on how the original drive in the inspiron would be specified in lilo.conf? /dev/sda2? There is an ssd in the new computer and idk how those are specified?
Looks like the Inspiron 5680 SSD is NVMe so it should show up as /dev/mnve0. The original drive should show up as /dev/sda. I'm guessing that Windows will be installed on the SSD. The Slackware 14.2 installer will not install to NVMe drives, however I do believe that the latest release of Slint does. You should be able to do a fresh install of Slackware in UEFI mode on the orginal drive and dual boot with window. Finally most UEFI firmware has what is called Compatibility Mode (CMS) which will allow you to be able to boot Windows in UEFI mode and Slackware in legacy mode. In any case you will need to disable secure boot.
 
1 members found this post helpful.
Old 06-30-2018, 07:15 PM   #6
Trasa
Member
 
Registered: Nov 2007
Posts: 63

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by laprjns View Post
Looks like the Inspiron 5680 SSD is NVMe so it should show up as /dev/mnve0. The original drive should show up as /dev/sda. I'm guessing that Windows will be installed on the SSD. The Slackware 14.2 installer will not install to NVMe drives, however I do believe that the latest release of Slint does. You should be able to do a fresh install of Slackware in UEFI mode on the orginal drive and dual boot with window. Finally most UEFI firmware has what is called Compatibility Mode (CMS) which will allow you to be able to boot Windows in UEFI mode and Slackware in legacy mode. In any case you will need to disable secure boot.
Thank you, thats very helpful.
 
Old 06-30-2018, 08:52 PM   #7
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
There's an option in the latest Slackware (14.2 at the time of this post) to use elilo, which is an [U]EFI-enabled Lilo. I use it on my desktop, and it works just as one would expect.
 
2 members found this post helpful.
Old 06-30-2018, 09:26 PM   #8
Trasa
Member
 
Registered: Nov 2007
Posts: 63

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by notKlaatu View Post
There's an option in the latest Slackware (14.2 at the time of this post) to use elilo, which is an [U]EFI-enabled Lilo. I use it on my desktop, and it works just as one would expect.


What i would like ideally is to have my Slackware-current install available by just plugging the the drive to the new computer and changing the boot drive in the bios.
From what i have read, elilo sounds a good alternative to grub, which seems (and i admit i have only a glimmer of understanding of it) needlessly complex compared to lilo.
Is it possible to switch to elilo prior to installing my current slackware drive in the new computer or will elilo only work on computers with efi or uefi?

And thanks for your help

Last edited by Trasa; 06-30-2018 at 09:27 PM.
 
Old 07-01-2018, 05:36 AM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by Trasa View Post
What i would like ideally is to have my Slackware-current install available by just plugging the the drive to the new computer and changing the boot drive in the bios.
Try this:
  1. Make sure you have installed elilo in the EFI system partition of the drive in the old computer.
  2. Download EFI3M and run it as root:
    Code:
    sh EFI3M
    Choose "Build and install the multiboot menu on your computer" then accept to install it in the BOOT directory (this is necessary).
    Then you can customize the label if you want.
    After that you can also make a rescue USB stick if you want.
  3. Then you should be able to boot this drive on both computers. However I don't know if their respective hardware are fully compatible, but that would be another topic.
Please tell me how that goes, as this is a use case for EFI3M that I didn't consider at first.

PS EFI3M is supposed to be a multi-boot menu, but of course works also for only one system to boot. However, if you have several systems on the new computer, run it from there to get an entry for each in the boot menu.

Last edited by Didier Spaier; 07-01-2018 at 05:39 AM.
 
1 members found this post helpful.
Old 07-01-2018, 11:05 AM   #10
Trasa
Member
 
Registered: Nov 2007
Posts: 63

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by Didier Spaier View Post
Try this:
  1. Make sure you have installed elilo in the EFI system partition of the drive in the old computer.
  2. Download EFI3M and run it as root:
    Code:
    sh EFI3M
    Choose "Build and install the multiboot menu on your computer" then accept to install it in the BOOT directory (this is necessary).
    Then you can customize the label if you want.
    After that you can also make a rescue USB stick if you want.
  3. Then you should be able to boot this drive on both computers. However I don't know if their respective hardware are fully compatible, but that would be another topic.
Please tell me how that goes, as this is a use case for EFI3M that I didn't consider at first.

PS EFI3M is supposed to be a multi-boot menu, but of course works also for only one system to boot. However, if you have several systems on the new computer, run it from there to get an entry for each in the boot menu.
Thanks man, i will let you know how it goes when the new on arrives next week.
 
  


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
Dualbooting Slackware and Win XP with LiLo KR-data Linux - Newbie 2 12-26-2004 04:19 PM
booting win from LILO? roAder Slackware 4 07-11-2004 07:04 AM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 06:23 PM
Lilo always booting Win XP ! skadub Mandriva 8 12-11-2003 07:50 AM
lilo-2linux+win? mtb Linux - Software 4 03-24-2003 08:22 AM

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

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