LinuxQuestions.org
Register a domain and help support LQ
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, 12: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, 01:33 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 16,443
Blog Entries: 2

Rep: Reputation: 4508Reputation: 4508Reputation: 4508Reputation: 4508Reputation: 4508Reputation: 4508Reputation: 4508Reputation: 4508Reputation: 4508Reputation: 4508Reputation: 4508
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, 01: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 01:30 PM
[SOLVED] Error booting LFS 7.1 CincinnatiKid Linux From Scratch 17 04-22-2012 08: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 04:23 PM
e2fsck error while booting lfs EPM_Students Linux From Scratch 6 07-29-2005 01:33 AM


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