LinuxQuestions.org
Help answer threads with 0 replies.
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-14-2010, 04:41 AM   #1
jackplughd
LQ Newbie
 
Registered: Jan 2010
Posts: 22

Rep: Reputation: 0
Unhappy Problem with section 8.4.3 of LFS 6.6 book (Testing the Grub configuration)


Dear all,

When I try and test the Grub configuration in section 8.4.3 of LFS 6.6 I get the output below:

root:/tmp# /sbin/reboot
WARNING: could not determine runlevel - doing soft reboot
(it's better to use shutdown instead of reboot from the command line)
shutdown: timeout opening/writing control channel /dev/initctl
init: timeout opening/writing control channel /dev/initctl
root:/tmp# ...
bash: ...: command not found
root:/tmp# grub> root (hd0,1)
bash: syntax error near unexpected token `('
root:/tmp# grub> kernel /boot/grub/core.img
bash: grub: command not found
root:/tmp# grub> boot
bash: grub: command not found
root:/tmp#


This seems fairly serious to me but I have no idea how to proceed.
Help (pointers) would be appreciated. I have searched the threads but have not found anything relevent. Also searched through google to no avail.

My grub.cfg file has 2 entries one normal and one recovery referencing the correct partition for the LFS system. This file looks ok.

Thanks

jackplug
 
Old 04-14-2010, 09:24 AM   #2
smkh
LQ Newbie
 
Registered: Mar 2010
Posts: 15

Rep: Reputation: 2
Hello,
I got same error when installing lfs on my host system. I recommend you instead of using lfs grub boot loader,
use your host system grub loader. with the root account edit /boot/grub/menu.lst and add the following lines:
(I assume your lfs partition name is /dev/sda7 so the grub name of partition is (hd0,6) ):

title GNU/Linux LFS 6.6
root (hd0,6)
kernel /boot/vmlinuz-2.6.32.8-lfs-6.6 root=/dev/sda7 ro
 
  


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
problem in section 6.10 of lfs 6.5 aahiqmir Linux From Scratch 5 11-12-2009 07:49 AM
LFS - Adjusting the toolchain problem (book 6.4) charlie_lab Linux From Scratch 4 05-26-2009 05:20 AM
GCC command not found LFS book 6.3, section 6.7.1 cdc5205 Linux From Scratch 1 08-16-2008 02:56 PM
error using lfs while compiling lfs book's 6.12 (gcc-4.1.2) section aditya_gpch Linux From Scratch 3 04-24-2008 05:23 PM
LFS 4.1 book install hung at section 6.14: Glibc-2.3.1 SparceMatrix Linux From Scratch 4 05-30-2003 05:56 PM


All times are GMT -5. The time now is 10: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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration