LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-10-2016, 12:27 PM   #1
Ultranaut
LQ Newbie
 
Registered: Apr 2016
Posts: 16

Rep: Reputation: Disabled
LFS will not boot.


So I've been working on LFS 7.9, and everything has been working perfectly until Chapter 9, where it asks me to reboot. When I do this, it simply reboots me back into my host distro(Ubuntu).

Background: I'm doing this on the same HDD as Ubuntu, here's my partition table:

Code:
Device        Start      End  Sectors  Size Type
/dev/sda1      2048  1054719  1052672  514M EFI System
/dev/sda2   1054720 40116223 39061504 18.6G Linux filesystem
/dev/sda3  40116224 55740415 15624192  7.5G Linux swap
/dev/sda4  55740416 75272191 19531776  9.3G Linux filesystem
/dev/sda5  75272192 94803967 19531776  9.3G Linux filesystem
/dev/sda6  94803968 95008767   204800  100M BIOS boot
Sda4 is the root partition, sda5 is /home, and sda6 is /boot
 
Old 04-11-2016, 10:47 AM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
You need to add LFS to the bootloader.

However, you're working off two different systems UEFI and BIOS. LFS hasn't targeted UEFI yet, so you may want to research how to install a UEFI boot manager like rEFInd to help you create the UEFI image that can be managed by Grub.

Also a BIOS boot partition shouldn't be mounted.

Last edited by ReaperX7; 04-11-2016 at 10:49 AM.
 
Old 04-11-2016, 01:36 PM   #3
kcirick
Member
 
Registered: Dec 2006
Distribution: Slackware 14.1; LFS 7.9-Systemd; Debian Jessie
Posts: 169

Rep: Reputation: 55
Did you set up grub? What does your grub.cfg file look like? (should be in /boot/grub/grub.cfg)
 
Old 04-16-2016, 02:16 PM   #4
Ultranaut
LQ Newbie
 
Registered: Apr 2016
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kcirick View Post
Did you set up grub? What does your grub.cfg file look like? (should be in /boot/grub/grub.cfg)
Well, I just figured out why it wasn't working. All I had to do was change my host distro's grub settings to include my kernel configuration, so that works. I appreciate your help though.
 
  


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] i cant boot into new LFS installation (lfs 7.5) sholizar Linux From Scratch 33 12-20-2021 06:55 AM
not able to boot lfs 7.6 ak24 Linux From Scratch 17 03-11-2015 07:34 PM
[SOLVED] LFS 6.7 : $LFS/sources and $LFS/tools folders missing prakashsince92 Linux From Scratch 5 12-09-2010 02:26 PM
Horrible ordeal trying to boot LFS. Tried older version - won't boot either Lyle Linux From Scratch 9 05-20-2010 08:56 PM
Can't boot LFS ( kernel panic - not syncing ) LFS 6.6 Lyle Linux From Scratch 14 05-15-2010 03:22 AM

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

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