Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: how can i disable boot.msg?

  1. #1
    Join Date
    Jun 2008
    Location
    Italy
    Posts
    39

    Default how can i disable boot.msg?

    as topic title... can i disable some how making of /var/log/boo.msg? my netbook waste about 9-10 seconds creating it, i would like to improve boot time disabling it (right now i have 33 seconds boot time on aspire one)

    thanks for help

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: how can i disable boot.msg?

    I think you misunderstand. You don't save any time (or very little) recording the boot messages in a file. It still has to go through the steps anyway, whether or not the messages are logged or thrown away.

  3. #3
    Join Date
    Jun 2008
    Location
    Italy
    Posts
    39

    Default Re: how can i disable boot.msg?

    i want to disable the reation of that file...

    on boot it stop about 10 seconds on line

    "creating /var/log/boot.msg"

    i would like to skip it, and to NOT create atall that file..

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,447
    Blog Entries
    14

    Default Re: how can i disable boot.msg?

    Quote Originally Posted by anubisg1 View Post
    i want to disable the reation of that file...

    on boot it stop about 10 seconds on line

    "creating /var/log/boot.msg"

    i would like to skip it, and to NOT create atall that file..
    and I accept that, in case of hardware failure, software bugs etc. etc. etc. I have nothing to fall back to, nothing to provide forum members with to resolve future problems.

    BTW. If you completely remove the OS, you'd get to a boottime of 0 secs
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: how can i disable boot.msg?

    Quote Originally Posted by anubisg1 View Post
    i want to disable the reation of that file...

    on boot it stop about 10 seconds on line

    "creating /var/log/boot.msg"

    i would like to skip it, and to NOT create atall that file..
    Things are not always what they seem. You think it's spending 10 seconds creating boot.msg. What's more likely is that it has created boot.msg in no time at all and is actually waiting for the next thing to happen.

    Rather you should ask the question, how can I find out what the waits in the boot process are. For that there are tools like bootchart.

  6. #6
    Join Date
    Jun 2008
    Location
    Italy
    Posts
    39

    Default Re: how can i disable boot.msg?

    here bootchart graph:

    RapidShare: Easy Filehosting

    i really do not understand it, any way, the first line appears after /var/log/boot.msg is

    enabling syn flood protection, i know what syn is and i know i want to keep it working

  7. #7
    Join Date
    Jun 2008
    Location
    Italy
    Posts
    39

    Default Re: how can i disable boot.msg?

    Quote Originally Posted by Knurpht View Post
    and I accept that, in case of hardware failure, software bugs etc. etc. etc. I have nothing to fall back to, nothing to provide forum members with to resolve future problems.

    BTW. If you completely remove the OS, you'd get to a boottime of 0 secs
    funny, but in the same way i disable it, i can re-enable, most of boot.msg logs can be extract from dmesg and any way, in case of hardware failure.. well.. nothing special you can do it, in case of software bug.... i never used it

  8. #8
    Join Date
    Nov 2008
    Location
    N. Wales
    Posts
    1,028

    Default Re: how can i disable boot.msg?

    anubisg1 adjusted his/her AFDB on Monday 11 May 2009 10:36 to write:

    >
    > here bootchart graph:
    >
    > 'RapidShare: Easy Filehosting'
    > (http://rapidshare.com/files/23164088...hart.svgz.html)
    >
    > i really do not understand it, any way, the first line appears after
    > /var/log/boot.msg is
    >
    > enabling syn flood protection, i know what syn is and i know i want to
    > keep it working
    >
    >


    Just had a quick look at that chart and it appears that your machine takes
    10s ( between the 20s and 30s mark ) to do a find on your drive???

    This all disk I/O holding up the rest of the boot sequence.

    Now off the top of my head this is not right.

    The only other thing that does anything during that time is the kjournald,
    this can be seen to use disk I/O in the spaces on the find line.

    Tell me have you got anything connected or not connected that you did/did
    not have when you installed?

    I am thinking of USB drives, USB sticks etc...

    Also have you added/removed any drives/partitions?


    HTH


    --
    Mark

    Nullus in verba
    Nil illigitimi carborundum


  9. #9
    somebody_else NNTP User

    Default Re: how can i disable boot.msg?

    anubisg1 wrote:
    > i want to disable the reation of that file...
    >
    > on boot it stop about 10 seconds on line
    >
    > "creating /var/log/boot.msg"
    >
    > i would like to skip it, and to NOT create atall that file..


    i may be wrong, but i believe the boot script prints to the screen
    "creating /var/log/boot.msg" as INFORMATION, and the system does NOT
    sit there and do nothing until the entire boot.msg is generated and
    saved to file...

    i believe that for at least three reasons:

    - first, the ENTIRE boot.msg can NOT be generated until the ENTIRE
    boot process is complete, and at the point it hits the screen the
    process is not complete..

    - second, the system does NOT print "creating /var/log/boot.msg" and
    then about 10 seconds later print "Done" on the far right of the
    screen...and then move to the next boot action..

    - third, i was long ago told that if the boot sequence freezes you can
    look at the screen and see the LAST SUCCESSFUL action (meaning that
    the frozen action never got printed to the screen (along with its
    "Done") because it never got 'done'..

    instead of sitting and generating/saving a file for ten seconds, i
    believe the boot script PROCEEDS immediately to the NEXT item..and, i
    GUESS the 10 second 'pause' is because the NEXT operation takes about
    10 seconds....and, then it immediately prints out to the screen what
    was just done WHILE it continues to the next item...(remember, the
    system can do a LOT of different things all span of one second..)

    on my box (could be different from yours) the item after the boot.msg
    note is:

    "Mounting securityfs on /sys/kernel/security"

    what is it on yours?

    anyway, i'm willing to bet that IF you can learn how to turn off that
    boot.msg line you are gonna save about one-tenth of one second....or
    less..

    i may be wrong and ymmv

    oh, and there is lots of interesting reading on the subject of boot
    time available on the net..

    for example:
    http://lwn.net/Articles/299483/
    http://en.opensuse.org/Boot_time
    google finds MANY more..

    --
    somebody_else

  10. #10
    somebody_else NNTP User

    Default Re: how can i disable boot.msg?

    > (http://rapidshare.com/files/23164088...hart.svgz.html)
    >
    > i really do not understand it,


    my downloaded copy of that file is pages of this:

    ôàìëo¿ÿA¿oùŗ׺RºroúÔLšŠÆ
    Ì?U©Ã£*¬*p¯^‡þz·:¬?‡`‘!òÅ•ycºY¾ÿ¸?¬ï³ÍV—\ÊþñYÑ<·u7Fëû«—OÛÕ½zÖl¶O2”³ñÁ%ÈáòaµÎ~
    ³ï¿û£ac ð+þÈ
    ^’ýP¿f&XÅŸ}ø¾o|0ʉ~ðãún½Ú«GïÖÛïÿüý·ªår˜}¾¡‚}áPüú>!yFçLÓTå^d¿ÛÖwŸÿé‹ì7‡Ýýç?|÷…¹ý÷ˆƒ,Ëþ%ƒ9ÿúoÏ>‡îSþ÷úq»¾Ënîoï6ÛõÙ3H.ô3ÞÙR»]“ý‹ìQõ‹¯Tçþñúv³wýêãrs{½:¬–ùæë¿ýåÈ
    øí·ÿùáÿúú ~Yþå¯ß
    þý;–º‘,{\ïŸî×’¡ÙþánµûÕ~s·Þ²߬¾0$ªí6ªŽûW›íµê¯Ó‹oîMÿ>(89cœå@3®¯½ÈÀ ŠýùúÍQu+ßíV·…Xi|ãï°ª¿*|úÂï­‚Ó_ÛN¾oIm??ÂÒ°¦ê¹„\«À¤Ž~ö¬ö´åîau³9(é9§•œ1&n^¡_«’»wëã
    sz#‹W~o5ªP]Ý´K]cÝm³Ïž<þÓþã¾Ö+,B.eòÈã

    which i don't understand either!!

    --
    somebody_else

Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •