LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-16-2019, 10:52 PM   #1
sniper8752
Member
 
Registered: Oct 2012
Posts: 564

Rep: Reputation: Disabled
Crux - LILO install


I apologize if this isn't the right place to post this. I thought this would be the closest place that relates to what I am using.

I am trying to setup my bootloader, and am using LILO. I ran the "lilo" command and got the error that you see in the attached screenshot.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2019-05-16 21-50-13.png
Views:	66
Size:	4.3 KB
ID:	30579  
 
Old 05-17-2019, 05:04 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,382

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
I don't like that. FYI, LBA & CHS are both modes of addressing hard disks.
Back in the day, when 10MB was more than you could fill in a lifetime, Microsoft designed the hard disk in the pa to have a max of 1023 cylinders, 16 heads and 63 sectors/track. That gave 512MB; LBA gave 2Gig I think, and CHS gave more.

Lilo needs the boot sector(track 0, sector 0) and does/used to configure itself using offsets from that. It needs to be sure about your boot sector, and it isn't. As root, run fdisk or gdisk, and read the partition table. Fix any errors. Run an fsck on sda1 and wherever /boot is if not sda1. Also post your lilo.conf.
 
Old 05-17-2019, 07:30 AM   #3
sniper8752
Member
 
Registered: Oct 2012
Posts: 564

Original Poster
Rep: Reputation: Disabled
I am not sure how to fix it, but I've posted details of the partition, and also the config file.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2019-05-17 06-30-01.png
Views:	54
Size:	4.0 KB
ID:	30582   Click image for larger version

Name:	Screenshot from 2019-05-17 06-29-23.png
Views:	34
Size:	3.4 KB
ID:	30583  
 
Old 05-18-2019, 08:03 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,382

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
I was thinking more along the lines of
Code:
fdisk /dev/sda
m (for instructions)
p (and examine the output for errors)
Then  perhaps x (extra functionality) and v (verify partition table)
Lastly, 'w' to write that stuff and exit
BTW, the lilo.conf looks good. If you still have the err5or, google it. I'm not the repository of all knowledge on this.

Last edited by business_kid; 05-18-2019 at 08:05 AM.
 
  


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
it is easier to install CRUX than gentoo? gor0 Linux - Distributions 3 07-17-2014 10:45 PM
[SOLVED] bluetooth chip not seen in CRUX after Fedora install. still working in Fedora page_seven Linux - Hardware 2 06-27-2014 04:58 PM
How to install CRUX on an Encrypted Partition newb123 Linux - Newbie 1 05-25-2011 07:16 AM
Nvidia install won't work with CRUX 2.1 walterbyrd Linux - Hardware 1 07-06-2005 09:57 AM
Crux Linux - trouble booting after first install John5788 Linux - Distributions 1 02-10-2004 01:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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