LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-18-2017, 07:43 AM   #1
sasha01
LQ Newbie
 
Registered: Feb 2017
Distribution: slackware
Posts: 15

Rep: Reputation: Disabled
dual boot centos and slackware


hi again, at my work i use centos for work but personally i prefer slackware, so i decided to keep both on my hdd,

can you please suggest me the following:
install centos on first partition
install slackware after
doesn't really matter which partition and which first ?
boot setup as lilo or grub? and how.. which order etc..

my hdd is a sata laptop 160 gb, i think 40 gb slack and 40 gb centos is enouthg, i will install apache, postfix etc, plugged as first hdd at my work
and the rest i want to use as ntfs used with the usb interface to copy windows data for kit, etc. to use as for many laptops to install things.
please suggest!

many thanks!

Last edited by sasha01; 02-18-2017 at 07:59 AM.
 
Old 02-18-2017, 09:18 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
Quote:
Originally Posted by unix01 View Post
hi again, at my work i use centos for work but personally i prefer slackware, so i decided to keep both on my hdd, can you please suggest me the following:
Quote:
Originally Posted by unix01 View Post
install centos on first partition
install slackware after
doesn't really matter which partition and which first ?
nope - personal preference
Quote:
Originally Posted by unix01 View Post
boot setup as lilo or grub? and how.. which order etc..
LILO manually add for other system then Windows, grub picks it up for you, the order you want booted first depends on which system has control of grub.

Quote:
Originally Posted by unix01 View Post

my hdd is a sata laptop 160 gb, i think 40 gb slack and 40 gb centos is enouthg, i will install apache, postfix etc, plugged as first hdd at my work
and the rest i want to use as ntfs used with the usb interface to copy windows data for kit, etc. to use as for many laptops to install things.
please suggest!

many thanks!
size does matter.
what size you prefer to get the work done is entirely up to what you do with it.
 
1 members found this post helpful.
Old 02-18-2017, 09:22 AM   #3
sasha01
LQ Newbie
 
Registered: Feb 2017
Distribution: slackware
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks, now im facing with: grub of centos overwrites the lilo of slackware and there is just centos bootin the menu
 
Old 02-18-2017, 09:33 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
Quote:
Originally Posted by unix01 View Post
Thanks, now im facing with: grub of centos overwrites the lilo of slackware and there is just centos bootin the menu
yeah one boot loader will over write the other one,
The Highlander: There can be only one! rule applies there.

Code:
grub-install /dev/sdx (usally sda)
update-grub ( to pick up any other operating systems or kernel changes and such)
did you run update-grub after installing grub?
 
1 members found this post helpful.
Old 02-18-2017, 09:35 AM   #5
sasha01
LQ Newbie
 
Registered: Feb 2017
Distribution: slackware
Posts: 15

Original Poster
Rep: Reputation: Disabled
Not yet, but is more complicated to add centos in slack's lilo?
 
Old 02-18-2017, 09:37 AM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
Quote:
Originally Posted by unix01 View Post
Not yet, but is more complicated to add centos in slack's lilo?
it depends on who is doing it. I have no luck in such matters so I just use grub. Slackware 14.2 also has a grub that can be installed.

My Slackware update-grub file
Code:
(userx@SlackO⚡️~)>>$ cat /usr/bin/update-grub

grub-mkconfig -o /boot/grub/grub.cfg
after ran
Quote:
(userx@SlackO⚡️~)>>$ sudo update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-generic-4.4.38
Found initrd image: /boot/initrd-4.4.38.gz
Found linux image: /boot/vmlinuz-huge-4.4.38
Found linux image: /boot/vmlinuz-huge-4.4.38
Found initrd image: /boot/initrd-4.4.38.gz
Found linux image: /boot/vmlinuz-huge
Found linux image: /boot/vmlinuz-generic-4.4.38
Found initrd image: /boot/initrd-4.4.38.gz
Found linux image: /boot/vmlinuz-generic
Found Windows 10 (loader) on /dev/sda1
Found unknown Linux distribution on /dev/sda5
done
it works too

if you want LILO and slack with Centros then I think a new post under

how do I add Centros to LILO maybe needed so someone that knows more about that can help you.

Last edited by BW-userx; 02-18-2017 at 09:43 AM.
 
1 members found this post helpful.
Old 02-18-2017, 11:30 AM   #7
sasha01
LQ Newbie
 
Registered: Feb 2017
Distribution: slackware
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks very much!
 
Old 02-18-2017, 11:50 AM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
Quote:
Originally Posted by unix01 View Post
Thanks very much!
you're welcome. pls click that yes for what you found helpful in this post.
 
1 members found this post helpful.
  


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
[SOLVED] Dual boot CentOs 7/Windows 10 - boot loader not properly configured? teaxtor CentOS 4 11-01-2015 01:00 PM
[SOLVED] Dual Boot Slackware with CentOS using CentOS GRUB frankbell Slackware 9 10-26-2011 11:04 AM
need to dual boot centos 5.1 with xp but centos is already installed. extendedping Linux - Software 4 05-13-2008 08:40 PM
CentOS / Slackware Dual boot Problem Dankles Slackware 2 11-01-2005 02:50 PM

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

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