LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-23-2016, 05:41 PM   #16
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220

By default GRUB puts on the 1-st place the system, under which it was installed. So if you reinstall GRUB under Slackware, then Slackware will be #1.

.

Last edited by zk1234; 08-24-2016 at 05:22 AM.
 
Old 08-24-2016, 02:45 PM   #17
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
You can use 'pkgtool' as root to re-run scripts by choosing 'Setup Choose Slackware installation scripts to run again'. Just choose the 'liloconfig Setup to boot Linux and other OS setups' on the script page.

Or you could just run the 'liloconfig' script as root but I would use the 'pkgtool'.
Is this the only way to install LILO aside from a fresh install?
 
Old 08-24-2016, 03:21 PM   #18
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Member response

Hi,
Quote:
Originally Posted by Ztcoracat View Post
Is this the only way to install LILO aside from a fresh install?
As I stated earlier you can use as root '/sbin/liloconfig' which will give you the option to run 'expert' or 'simple'. I just always seem to use 'pkgtool' as root.

Hope this helps.
Have fun & enjoy!
 
Old 08-24-2016, 04:42 PM   #19
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
Quote:
It is not clear to me how to enter into expert mode so that I can install LILO to the root partition of the new Slackware install. How is expert mode reached?
As suggested above, if you want to use lilo to do this, open a terminal and log in as root. If you are not root when you run any lilo commands your will get a command not found. As root, you can run either /sbin/liloconfig or simply liloconfig and you wil get the first screen shown in the link I posted above. Just use the down arrow on the keyboard to select the expert option, then make sure the OK is highlighted and hit the Enter key and follow the steps.

The link below has a more detailed explanation of the steps for an expert install of Lilo. It is for an old version of Slackware (9.0) but as far as I can see, the options are the same as for version 14.

http://bamafolks.com/randy/students/...xpertlilo.html

Last edited by yancek; 08-24-2016 at 04:54 PM.
 
Old 08-24-2016, 05:05 PM   #20
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
onebuck and yancek:

Thank you I understand now what to do.

The PTSD get's in the way sometimes.
 
Old 08-25-2016, 07:14 AM   #21
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
Quote:
He needs Slackware on /dev/sdc to boot all on it's own with LILO as the boot loader.
Quote:
He wants me to go into the BIOS and make it so the Hitachi with Slackware boots first on it's own.
Do you want to keep the drive order as original and grub as the default bootloader? if so, create an entry in /etc/grub.d/40-custom to chainload Slackware or to move the slackware chainload grub entry higher on the menu list, create a /etc/grub.d/05-custom with the slackware chainloader entry. Then change the grub default, and rerun update-grub.

Quote:
If I change the boot order to /dev/sdc which is Slackware I get the grub rescue prompt>
.
If you want to change the boot order where the slackware disk is the first disk and lilo is the default bootloader, then will have to manually boot into the other two distros and reinstall grub and rerun update-grub.

[QUOTE]If I change the boot order to /dev/sdc which is Slackware I get the grub rescue prompt>/QUOTE] you wouldn't happen to be mixing uefi boot with bios boot?

Last edited by colorpurple21859; 08-25-2016 at 07:21 AM.
 
Old 08-25-2016, 02:20 PM   #22
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Will installing LILO break Grub in anyway?
 
Old 08-25-2016, 04:46 PM   #23
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
Quote:
Will installing LILO break Grub in anyway?
No, not if you do it correctly. Given the situation you describe with Slackware on a separate harddrive installing Lilo for Slackware on that drive to the MBR of that drive won't have any effect on Grub on another drive. If you have Grub code in the MBR of the Slackware harddrive, then yes, Lilo will overwrite it. Make sure you get the correct drive.
 
Old 08-25-2016, 05:28 PM   #24
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by yancek View Post
No, not if you do it correctly. Given the situation you describe with Slackware on a separate harddrive installing Lilo for Slackware on that drive to the MBR of that drive won't have any effect on Grub on another drive. If you have Grub code in the MBR of the Slackware harddrive, then yes, Lilo will overwrite it. Make sure you get the correct drive.
Got it. I'll take my time and make sure I select the sdc drive that Slackware is on.
 
Old 08-26-2016, 09:03 PM   #25
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
After viewing Eric's page I saw that KDE 5 Plasma was added to the current Slackware .iso.
I've downloaded it and will be performing a fresh install of Slackware 14.2.

When I installed Slackware last week it came with KDE 4. I would much rather have KDE 5 Plasma.
http://alien.slackbook.org/blog/tag/kde5/
 
Old 09-01-2016, 07:56 PM   #26
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I was reading this page about confirming location to install LILO. (step 6)

In the example it says:
Code:
/dev/hda
I do not want LILO to install to the MBR of the first drive /dev/sda.
Instead I want LILO to install to the MBR of /dev/sdc.

Slackware is installed to /dev/sdc.

Would /dev/sdc be correct or is /dev/hdc correct?
 
Old 09-01-2016, 09:12 PM   #27
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Ztcoracat View Post
Would /dev/sdc be correct or is /dev/hdc correct?
/dev/sdc would be correct. /dev/hd* is a relic from older kernels (before the 2.6.19 kernel).
 
1 members found this post helpful.
Old 09-01-2016, 09:26 PM   #28
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by bassmadrigal View Post
/dev/sdc would be correct. /dev/hd* is a relic from older kernels (before the 2.6.19 kernel).
Thanks bassmadrigal:-

-::-Now I can proceed.-::-
 
Old 09-06-2016, 05:52 PM   #29
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
After a little over 10 days my friend decided that running Slackware was not for him.
So, I didn't have to install LILO.
I've kept the instructions in a file on my system so if need be I can use it in the future.

He decided to go with Voyager X2 HD 14.04 LTS which is based on Xubuntu and Debian.
http://voyagerlive.org/index.php/live-voyager-x2/

My friend says; thank you.
 
  


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] Grub Bootloader Problem roox Linux - Laptop and Netbook 4 12-03-2010 05:33 PM
problem with bootloader grub crashdoyle Fedora 3 09-05-2005 09:21 AM
Grub bootloader problem linmith Slackware 2 02-13-2005 02:15 PM
grub, bootloader problem DrGnome Linux - Software 6 04-13-2004 03:20 PM
grub bootloader problem markshifman Linux - General 2 11-04-2003 10:06 AM

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

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