LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   error while booting lfs 7.1 (http://www.linuxquestions.org/questions/linux-from-scratch-13/error-while-booting-lfs-7-1-a-941520/)

ankit0301 04-24-2012 12:50 PM

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

TobiSGD 04-24-2012 01:33 PM

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.

ankit0301 04-24-2012 01:37 PM

Thanks got it corrected


All times are GMT -5. The time now is 11:33 AM.