Error messages during LiveCD build

Asked by Rishabh

i have compiled xorg and firefox but when i give the command for image the script stop giving a message of lfscript stop giving status 2 and then status 1 next time.
i have given the parameters of disk as bs 256mb and count 12.

Question information

Language:
English Edit question
Status:
Solved
For:
LFScript Edit question
Assignee:
No assignee Edit question
Solved by:
Marcel van den Boer
Solved:
Last query:
Last reply:
Revision history for this message
Marcel van den Boer (synthehol) said :
#1

I do not have enough information to help you with this problem. At which stage did you get the error messages, at which script. Please provide a screen shot of the error messages.

General advice; Make sure you type in the commands EXACTLY as described in the video tutorials. Small typos can cause big problems.

Revision history for this message
Robert Xu (bravoall1552) said :
#2
Revision history for this message
Best Marcel van den Boer (synthehol) said :
#3

This means the package for GCC has been corrupted. This occurs if you abort LFScript while it is copying packages from the 'packages-<arch>' folder to the temporary system. Note the "Unexpected EOF (End Of File)", this is a dead giveaway.

Simple solution: in the folder where LFScript resides, do:

rm -rvf packages-$(uname -m)/lfs-6.8/gcc.tgz

Then run LFScript again. It will automatically re-create the package for GCC.

Revision history for this message
Marcel van den Boer (synthehol) said :
#4

On a more general note; Rishabh, it's okay to ask questions, but if I ask for more information, you can give it to me in the same Question as you opened before. Opening a new question for it adds confusion to the system, so it will be deleted (thanks Robert).

Also, you may have noticed I frequently change the summary of your questions. The summary is what gets listed on the Answers overview, so it's best to be more descriptive than just "live cd".

Thanks, and I hope my previous answer solved your issue.

Revision history for this message
Rishabh (rishabh-singh) said :
#5

i will take care from next time

Revision history for this message
Rishabh (rishabh-singh) said :
#6

Thanks Marcel van den Boer, that solved my question.