LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-06-2017, 08:33 PM   #1
GrumpyGnome
Member
 
Registered: May 2004
Location: El Sobrante, CA (the scraps)
Distribution: Fedora, RH, & Slack
Posts: 57

Rep: Reputation: 15
Slack 14.2 on sdb mbr or lilo.conf problem


I am installing 14.2 from a usb drive to my sdb disk. I have not been able to get the computer to boot directly to the Linux disk. This is what comes up at boot:
Reboot and Select proper Boot device
or Insert Boot device and press a key

I have checked the BIOS and set the boot disk to the sdb disk many times.

I can boot into Linux if I use the usb drive and enter:
Boot: huge.s root=sdb1 rdinit=ro

I included a screen image of my cfdisk for the disk.
I think I have something not right in my lilo.conf but after much reading in the help I am still lost. I tried both installing lilo to the MBR and root as well as the liloconfig recycle command.
Any suggestions are appreciated.
Happy Trails

When adding the lilo.conf file I noticed I did not put this in the install forum. Apologies, it was a long day.Click image for larger version

Name:	IMG_20170806_175449.jpg
Views:	32
Size:	257.3 KB
ID:	25665
Attached Files
File Type: txt lilo.conf.txt (1.8 KB, 18 views)

Last edited by GrumpyGnome; 08-06-2017 at 09:18 PM. Reason: added the lilo.conf file
 
Old 08-06-2017, 10:19 PM   #2
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
Your issue is that you have your boot device as /dev/sdb1. This means lilo is only installed to the partition header rather than the MBR, and means you'd need another bootloader to load it.

You should be able to simply change boot = /dev/sdb1 to:

Code:
boot = /dev/sdb
and then run lilo to save it to the MBR. After that, it should boot fine.

To go into a bit more detail, the boot parameter is where it will install the bootloader to and the root parameter is where the OS resides. Since the BIOS doesn't understand partitions (just the overall disks that contain the partitions), if you put the bootloader in a partition header (specifying the partition of the /dev/sdb device), then the BIOS doesn't even know it's there. In that case, you'd need another bootloader installed into the MBR to be able to point to the bootloader installed in the partition header (this is called chainloading, since you're using one bootloader to boot another bootloader).

In your case, you don't need two bootloaders, and you don't have two installed... so we need to change lilo to install itself into the MBR rather than the partition header. Changing the boot parameter of lilo will do just that. Hope this made sense... feel free to ask another other questions if I managed to muddy it up.
 
1 members found this post helpful.
Old 08-07-2017, 02:37 PM   #3
GrumpyGnome
Member
 
Registered: May 2004
Location: El Sobrante, CA (the scraps)
Distribution: Fedora, RH, & Slack
Posts: 57

Original Poster
Rep: Reputation: 15
Thank you Bassmadrigal, that was it and thanks more for the details. I have read them several times to get it to sink in.
I successfully booted the disk. I am only doing this for enlightenment on the details of booting both Linux and Windows. Reading about this is good but doing it brings out the truly important details.
Happy Trails
 
  


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] My Slackware PC is "dead" after I used lilo and lilo.conf on the MBR BryGuy Slackware - Installation 5 07-21-2017 12:07 PM
[SOLVED] Lilo boot problem, lilo on mbr not found Exeunt Slackware 6 02-21-2013 08:44 AM
how to change slack lilo.conf for different splashimage? linus72 Slackware 1 06-10-2009 04:38 PM
sarge with slack dualboot, lilo mbr preserved? flipper333 Debian 4 04-05-2004 02:49 PM
lilo.conf for Mandrake and Slack Andrew Benton Slackware 4 11-28-2003 03:51 PM

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

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