Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-22-2014, 08:54 PM
|
#1
|
Member
Registered: Oct 2004
Posts: 209
Rep:
|
Dual boot slack & win 7 on different disks
I have a Slack 14.1 system and want to add Win 7 on a second drive. I installed WIn 7 on the drive alone in the system. I want to leave Slack on sda and Win 7 on sdb. How is the best way to setup lilo to do this?
tj
|
|
|
06-22-2014, 10:05 PM
|
#2
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,449
|
Should be as simple as adding this stanza to /etc/lilo.conf and rerunning lilo.
Code:
# Windows bootable partition config begins
other = /dev/sdb1
label = Windows7
table = /dev/sdb
boot-as = 0x80
# Windows bootable partition config ends
|
|
|
06-23-2014, 04:50 PM
|
#3
|
Senior Member
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,172
|
I'm not sure it's possible to boot Windows 7 with LILO as the primary boot loader.
But you can do it the other way around (boot Linux with windows 7 boot loader). Refer to this blog entry by Alien BOB: adding-linux-to-the-windows7-boot-menu
Personally I have a dual-boot Windows Vista/Slackware that I configured using these instructions: dual-boot-linux-and-windows-vista-windows-bootloader (similar to the above blog entry).
|
|
|
06-23-2014, 05:16 PM
|
#4
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,183
Rep:
|
Quote:
Originally Posted by gegechris99
I'm not sure it's possible to boot Windows 7 with LILO as the primary boot loader.
|
It is. I have this in /etc/lilo.conf:
Code:
boot = /dev/sda
[...]
image = /boot/vmlinuz
root = /dev/sda3
label = Linux
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
[...]
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
table = /dev/sda
# Windows bootable partition config ends
|
|
|
06-23-2014, 11:20 PM
|
#5
|
Member
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 912
Rep:
|
Didier, does that work with UEFI and Windows on a GPT partition?
|
|
|
06-23-2014, 11:40 PM
|
#6
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,183
Rep:
|
Quote:
Originally Posted by Z038
Didier, does that work with UEFI and Windows on a GPT partition?
|
Lilo can't be used with UEFI. Use grub instead.
I don't think that using a GPT instead of MBR partition table matters for Lilo, but am not completely sure about that.
Last edited by Didier Spaier; 06-23-2014 at 11:42 PM.
|
|
1 members found this post helpful.
|
06-23-2014, 11:58 PM
|
#7
|
Member
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 912
Rep:
|
Ok, thanks, Didier. GRUB it is, then. A little more bother to set up than LILO, but not too bad.
I have a new HP ZBook 15 that I want to try this on. I plan to install Slackware to a 500GB Samsung Evo drive that I will add to the mSata expansion bay. Win 7 is on a 500GB HDD. I'm really kind of lost with Windows, so I may eventually just wipe it out and use the HDD for additional storage. But first I want to see if I can get the dual boot working. If I can, I'll probably keep Windows, since it might come in handy for certain things.
|
|
|
06-24-2014, 05:16 AM
|
#8
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
You could also use the UEFI/BIOS disk selection menu as well. Grub can still chain load without overwriting the NTLDR in this method and you can use multiple format styles between disks such as MBR and GPT equally.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 01:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|