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-24-2012, 01:50 PM   #1
ankit0301
Member
 
Registered: Apr 2012
Posts: 34

Rep: Reputation: Disabled
error while booting lfs 7.1


the following error occurs whie booting lfs

*mounting virtual file systems: /run /proc /sys /dev
[OK]
/etc/sysconfig/network: line 1: syntax error near unexpected token 'newline'
/etc/sysconfig/network: line 1: 'HOSTNAME=<lfs>'

*****
[FAIL]
FAILURE

You should not be reading this error message
It means that an unforeseen error took place in etc/rc.d/rcS.d/S08localnet,
which exited with a return value of 2.


Please provide help
Thank You
 
Old 04-24-2012, 02:33 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,651
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Hostnames are only allowed to contain the letters a-z, the digits 0-9, the dot and the hyphen. So your problem may be caused by the fact that <lfs> is not a valid hostname.
 
Old 04-24-2012, 02:37 PM   #3
ankit0301
Member
 
Registered: Apr 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Thanks got it corrected
 
  


Reply

Tags
booting, debian, lfs


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
lfs is not in sudoers file error in LFS 6.6 nkedz Linux From Scratch 17 10-18-2014 02:30 PM
[SOLVED] Error booting LFS 7.1 CincinnatiKid Linux From Scratch 17 04-22-2012 09:39 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
e2fsck error while booting lfs EPM_Students Linux From Scratch 6 07-29-2005 02:33 AM


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