LinuxQuestions.org
Review your favorite Linux distribution.
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-14-2010, 03: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, 08: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



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 06:49 AM
LFS - Adjusting the toolchain problem (book 6.4) charlie_lab Linux From Scratch 4 05-26-2009 04:20 AM
GCC command not found LFS book 6.3, section 6.7.1 cdc5205 Linux From Scratch 1 08-16-2008 01: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 04:23 PM
LFS 4.1 book install hung at section 6.14: Glibc-2.3.1 SparceMatrix Linux From Scratch 4 05-30-2003 04:56 PM

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

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