26 thoughts on “Tutorial: Linux from Scratch (Part 1/4)

  1. please answer my question
    dear mr.anton

    please answer my question

    i still build my lfs with your video i use a line for me,
    i stuck at i still build, then my computer is off .
    i try to continue my lfs, i dont know, how to go to the lfs system
    i try this command : su – lfs
    i get the lfs system, but the directory the lfs is can't be read. i stuck i can't not continue my terminal like a last season in the lfs
    what i doing if i get problem like this ?
    i just want to go back to the lfs terminal, and i will continue build my lfs
    please Sir, help me 🙁
    or anyone can help if have some problem like me, thanks



  2. Thanks for the tutorial. Fills in a lot of little points for me. Can you tell me how you are able to paste and execute multi-line script blocks that are not single line commands. For example, at 17:16 min/sec there is a three line block for a sym link that starts with case $(uname -m) in, and then goes to a second and third line. When I post to cmd line, the first line executes by itself and gives error. I notice you can post and run as a block of code. I could make it a shell file, but your way is better. Thank you.

  3. hi there
    thanks for your efforts and share
    im trying to do this because of systemd controversy . im trying to creat my own system and make it portable like a live persistant one . im very very noob guy but i can read tutorials .README INSTALL files too ^^
    have you a blog or a website .?
    thanks a lots

  4. why am I getting an error when using make command for expect-5.45
    Help me.Plz !!!!

    root@123:/mnt/lfs/sources/expect5.45# make

    In file included from exp_command.c:72:0:
    exp_command.h:132:22: error: field 'wait' has incomplete type
    WAIT_STATUS_TYPE wait; /* raw status from wait() */
    In file included from /tools/include/tclPort.h:23:0,
    from /tools/include/tclInt.h:36,
    from exp_command.c:61:
    exp_command.c: In function 'exp_wait_zero':
    /tools/include/tclUnixPort.h:228:29: error: invalid application of 'sizeof' to incomplete type 'union wait'
    # define WAIT_STATUS_TYPE union wait
    exp_command.c:256:23: note: in expansion of macro 'WAIT_STATUS_TYPE'
    for (i=0;i<sizeof(WAIT_STATUS_TYPE);i++) {
    exp_command.c: In function 'Exp_SpawnObjCmd':
    exp_command.c:587:9: warning: unused variable 'ttyfd' [-Wunused-variable]
    int ttyfd;
    exp_command.c: At top level:
    exp_command.c:2803:22: error: field 'wait_status' has incomplete type
    WAIT_STATUS_TYPE wait_status;
    exp_command.c: In function 'Exp_DisconnectObjCmd':
    exp_command.c:3120:9: warning: unused variable 'ttyfd' [-Wunused-variable]
    int ttyfd;
    exp_command.c: At top level:
    exp_command.c:537:1: warning: 'expSetpgrp' defined but not used [-Wunused-function]
    exp_command.c: In function 'Exp_SpawnObjCmd':
    exp_command.c:1353:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(status_pipe[1], &errno, sizeof errno);
    Makefile:318: recipe for target 'exp_command.o' failed
    make: * [exp_command.o] Error 1

  5. i have this thing
    checking whether we are cross compiling… no

    i can see it in your vedio and as you no error or fail only to many ((no))
    and i wonder why we have it

  6. Hi Anton, Thanks for the video series "Linux from scratch". In this first video , i got stuck at 14:23 , where you change the shell from dash to bash.

    The problem i encounter is when i try to change from dash to bash shell, it displays the error message, "lfs is not in the sudoers file. This incident will be reported."

    Can you help with this please. Thank you.

  7. Hello! I want to ask. If I want to stop doing this project and continue it on tomorrow, what I need to do? Thanks

  8. when i issue the command "tar xf binutils-2.27.tar.bz2" I have this error
    "tar: binutils-2.27.tar.bz2: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now"
    how can i resolve it please?
    Thank you.

  9. I am learning from linux from kernel to learn linux kernel but my ultimate aim is get job in linux kernel based company do you think i am following the true path?

  10. when i am running
    "pushd $LFS/sources
    md5sum -c md5sums
    it is not showing "ok" for every file
    it showing something like this
    lfs-bootscripts-20150222.tar.bz2: FAILED

    for some file.
    what should i do to resolve this problem?

Leave a Reply

Your email address will not be published. Required fields are marked *