Page 1 of 20 12311 ... LastLast
Results 1 to 10 of 200

Thread: HOWTO: Reducing boot time in Ubuntu using InitNG

  1. #1
    Join Date
    Nov 2005
    Beans
    76

    Exclamation HOWTO: Reducing boot time in Ubuntu using InitNG

    Hi all!

    For we have an outdated howto in this forum which is always found by the users I open this thread here.

    For information how to install Initng on Ubuntu please read this wiki page: https://wiki.ubuntu.com/InitNG
    When you find problems with Initng please open a ticket at http://initng.thinktux.net/ and I will try to solve it upstream.

    Now try to reboot.
    Last step: Tell me what happened.[/INDENT]

    When you are running 0.5.5 or 0.6.0 please execute "sudo ng-update a system/modules/depmod system" - otherwise you will have problems with the volatile kernel modules.

    NEWS

    initng 0.6.0 and initng-ifiles is out. http://triggerit.tr.funpic.de/blog/?p=40 should give you all the Information you need.
    Most important part: First install the initnng-ifiles package and afterwards the Initng package!

    P.S: More Information will follow here...
    Last edited by Trigger|Debian; March 28th, 2006 at 12:48 PM.

  2. #2
    Join Date
    Dec 2005
    Beans
    37

    Re: HOWTO: Reducing boot time in Ubuntu using InitNG

    Hi!

    I'm using initng for bootin.g.

    I am now testing it to start / stop services manually.

    I tried "sudo ngstart daemon/vmware"
    And the result is:

    Code:
    This terminal has 80 cols and 24 rows
    
     Next Generation init Control. version ( 0.5.5 )
     http://initng.thinktux.net
     Author: Jimmy Wennlund <jimmy.wennlund@gmail.com>
    
    Starting service:
    
    
    Warning, service "daemon/vmware" is in status: "DAEMON_FAIL_STARTING"
    
    
       [ERROR] -->> Service "daemon/vmware" was failed, but found.
    Will not make an attempt to reset service state and try again
    
    
    Trying to start "daemon/vmware" again ...
    
    Starting service:
    
       [ERROR] -->> Failed to start service, "daemon/vmware" (DAEMON_WAITING_FOR_START_DEP)
    
       [ERROR] -->> Failed to start service, "daemon/vmware" (DAEMON_FAIL_STARTING)
    Code:
    $ sudo ngc -L
    [...]
    10:19:56 vmware                                : FREEING
    10:20:06 deamon/vmware                         : FREEING
    10:20:11 daemon/vmware                         : LOADING
    10:20:11 daemon/vmware/vmnet                   : LOADING
    10:20:11 daemon/vmware/vmnet                   : DAEMON_WAITING_FOR_START_DEP
    10:20:11 daemon/vmware/vmnet                   : DAEMON_WAITING_FOR_START_DEP
    10:20:11 daemon/vmware                         : DAEMON_WAITING_FOR_START_DEP
    10:20:11 daemon/vmware                         : DAEMON_WAITING_FOR_START_DEP
    10:20:11 daemon/vmware/vmnet                   : DAEMON_LAUNCH
    10:20:11 daemon/vmware/vmnet                   : DAEMON_RUNNING
    10:20:11 daemon/vmware/vmnet                   : DAEMON_RUNNING
    10:20:11 daemon/vmware                         : DAEMON_LAUNCH
    10:20:11 daemon/vmware                         : DAEMON_FAIL_STARTING
    10:20:11 daemon/vmware                         : DAEMON_FAIL_STARTING
    10:20:11 daemon/vmware/vmnet                   : DAEMON_FAIL_STARTING
    10:20:12 daemon/vmware                         : FREEING
    10:20:13 daemon/vmware                         : LOADING
    10:20:14 daemon/vmware                         : DAEMON_WAITING_FOR_START_DEP
    10:20:14 daemon/vmware                         : DAEMON_WAITING_FOR_START_DEP
    I dunno what's happening...
    (sudo /etc/init.d/vmware start is ok)

  3. #3
    Join Date
    Feb 2006
    Location
    Saskatoon, SK
    Beans
    381
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: Reducing boot time in Ubuntu using InitNG

    Will the 386 deb package work with the 686 and K7 kernels?
    "Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world"
    -- Albert Einstien

  4. #4
    Join Date
    Dec 2005
    Beans
    37

    Re: HOWTO: Reducing boot time in Ubuntu using InitNG

    Yes, it's working.
    (tested with 686)

  5. #5
    Join Date
    Nov 2005
    Beans
    76

    Re: HOWTO: Reducing boot time in Ubuntu using InitNG

    Quote Originally Posted by Zeroangel
    Will the 386 deb package work with the 686 and K7 kernels?
    Sure.
    The Kernel has nothing todo with the user space in this case.

    @yanns: IIRC the vmware script is completely broken. Maybe you want to open a ticket at http://initng.thinktux.net/

  6. #6
    Join Date
    Mar 2006
    Location
    New York, USA
    Beans
    91
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Reducing boot time in Ubuntu using InitNG

    Is there any way to easily modify exactly what InitNG is loading at startup? Such as being able to configure which modules or loading through a config text file?

    Also, to upgrade InitNG, could I just use sudo dpkg -i newInitNGversion to upgrade InitNG to the latest version, or have there been problems in upgrading this way? I'd rather not have to reconfigure my loading settings again after an upgrade.

  7. #7
    Join Date
    Nov 2005
    Beans
    76

    Re: HOWTO: Reducing boot time in Ubuntu using InitNG

    Modules loading has nothing to do with Initng directly. You want to have a look at /etc/modules for such things.
    If you meant services and daemons: yes, for sure. Everything happens in /etc/initng. There are two runlevels by now. system.runlevel and default.runlevel. This are the files you want to edit. Normally you use "ng-update" (see man "ng-update") but you can also edit them by hand.

    Yes, upgrading works via "dpkg -i ...". If you have a running Initng the next reboot can be broken sometimes because of an API change - but I think I have a solution for this with the next release.

  8. #8
    Join Date
    Mar 2006
    Location
    New York, USA
    Beans
    91
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Reducing boot time in Ubuntu using InitNG

    Ok, now I understand a lot more about configuring InitNG, thanks.

    You mentioned it's best to configure the default runlevel. Is it still OK to play around with the system runlevel? For example, I would rather not run ntpdate because if my internet is down, it still continues to attempt to synchronize with the time server anyway.
    Last edited by zgerrz; March 24th, 2006 at 09:01 PM.

  9. #9
    Join Date
    Nov 2005
    Location
    N. Ireland
    Beans
    209
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Reducing boot time in Ubuntu using InitNG

    is it possible to enable bluetooth;s sdpd to run on startup?
    1. A computer is a machine for rearranging bits
    2. The Internet is a machine for moving bits from one place to another very cheaply and quickly

  10. #10
    Join Date
    Nov 2005
    Location
    london
    Beans
    134
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Reducing boot time in Ubuntu using InitNG

    Having some problems after installing version 0.5.5

    When I boot up with the specified bootloader that I have changed for initng, it will crash 50% through bootup on the system/coldplug/scsi line.

    I've tried all key combinations I can think of but the only thing I can do at this stage is press ctrl-alt-delete to shutdown/reboot.

    Can anyone tell me where I can look for relevant logs or any other ideas for tracking down the culprit?

    thanks

Page 1 of 20 12311 ... LastLast

Bookmarks

Posting Permissions

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