![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2005
Location: St. Petersburg, Russia
Beans: 173
|
HOWTO: (Hopelessly Outdated!) Reducing boot time in Breezy using InitNG
Attention: The latest info in InitNG can be found on https://wiki.ubuntu.com/InitNG.
This HOWTO is outdated. I stopped to maintain it, since I was running Windows exclusively for some time, and then decided I can live with classical init as it is. Frustrated with the long boot time in Breezy and want to do something about it? Here comes the remedy! Meet InitNG - a new generation init program that is able to reduce your boot time by a third to a half. Below are step-by-step instructions how to do it on your system. IMPORTANT: InitNG is pretty much work in progress, and not all things may work. Currently it does everything I personally want, but it may not be the case for you - your success depends on the combination of hardware and software you use. Suggestions, fixes, hacks and workarounds offered by people will be incorporated in this HOWTO. 1. Download InitNG version 0.3.3-2 from http://alioth.debian.org/download.ph...3.3-2_i386.deb 2. Install it: Code:
sudo dpkg -i initng_0.3.3-2_i386.deb http://bugzilla.initng.thinktux.net/...ment.cgi?id=69 4. Change the content of hald.i file in /etc/initng/daemon to this: http://bugzilla.initng.thinktux.net/...ment.cgi?id=70 5. Set up gdm/kdm to load on default runlevel. To do that, run Code:
sudo ng-update add daemon/gdm default Code:
sudo ng-update add daemon/kdm default 6. Set up coldplug to run on system runlevel (we need this to have working sound - thanks Bitmastro!): Code:
sudo ng-update add system/coldplug system 7.1. Start ADSL modem on boot (when using eciadsl driver) 7.1.1. Create a file called eciadsl.i with the following content: Code:
service system/eciadsl {
need = system/initial system/mountfs system/usb
start {
/usr/local/bin/eciadsl-start
}
stop {
/usr/local/bin/eciadsl-stop
}
}
7.1.3. Set ADSL service to start on default runlevel: Code:
sudo ng-update add system/eciadsl default 7.2.1. Create a file called jackd.i with the following content: Code:
service daemon/jackd {
need = system/initial system/mountfs system/coldplug system/alsasound
daemon = /usr/bin/jackd
daemon_args = -R -d alsa -d hw:0
}
7.2.2. Put this file in /etc/initng/daemon directory. 7.2.3. Set Jack daemon to start on default runlevel: Code:
sudo ng-update add daemon/jackd default http://ubuntuforums.org/showpost.php...1&postcount=55 This worked for a specific configuration mentioned in the post referenced above. Let me know if it works for you. 7.4. More scripts for setting up other useful things can be found here (thanks Samuel!): http://forum.initng.thinktux.net/vie...8855c0184409a7 8. Set up GRUB for booting with InitNG. To do that, edit /boot/grub/menu.lst. Find an entry that looks like Code:
title Ubuntu, kernel 2.6.12-9-686 root (hd0,8) kernel /boot/vmlinuz-2.6.12-9-686 root=/dev/sda9 ro quiet splash initrd /boot/initrd.img-2.6.12-9-686 savedefault boot Insert an identical entry below. Remove the word 'splash' from the 'kernel' line in the newly created entry and append 'init=/sbin/initng' to that line (without quotes). Replace 'Ubuntu' word in the 'title' line with something like 'Ubuntu (InitNG)'. 9. Reboot and choose 'Ubuntu (InitNG)' in Grub boot menu. After that, the system should correctly boot, and you should be able to login to Gnome/KDE. In my case the actual boot time reduced by 25 sec (from 65 sec to 40 sec). Your results may vary, depending of your configuration. If something does not work, you can always boot into your normal configuration - just choose the boot option that you cloned in the Grub menu. Meanwhile, here's some fixes suggested by the kind people in this thread: * If you have problems with ACPI, frequency scaling etc., try these quick links: http://ubuntuforums.org/showpost.php...1&postcount=27 (thanks Maecenas!) http://ubuntuforums.org/showpost.php...8&postcount=30 (thanks Rob2687!) If you don't need ACPI, you can turn it off altogether: Code:
sudo ng-update delete daemon/acpid default http://ubuntuforums.org/showpost.php...6&postcount=29 (thanks Meralon!) Have Fun. Last edited by temcat; March 7th, 2006 at 06:56 AM.. |
|
|
|
|
|
#2 |
|
A Carafe of Ubuntu
![]() Join Date: Sep 2005
Beans: 130
Ubuntu Development Release
|
Re: HOWTO: Reducing boot time in Breezy using InitNG
I had my adsl modem start up everytime i start my computer before, now its stopped, how do i get that working again? thanks though, its really fast now
|
|
|
|
|
|
#3 | |
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2005
Location: St. Petersburg, Russia
Beans: 173
|
Re: HOWTO: Reducing boot time in Breezy using InitNG
Quote:
|
|
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() Join Date: May 2005
Beans: 32
|
Re: HOWTO: Reducing boot time in Breezy using InitNG
thanx very much for the tip ,it's really nice although my internet interface had to be manually started with ifup eth1 command!any idea how to make this little script?
|
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Oct 2005
Beans: 11
|
Re: HOWTO: Reducing boot time in Breezy using InitNG
This looks great, but I have two little questions:
- Does it still have the splash screen (USplash or whatever it's called)? - Does it also work in Hoary? |
|
|
|
|
|
#6 | |
|
A Carafe of Ubuntu
![]() Join Date: Sep 2005
Beans: 130
Ubuntu Development Release
|
Re: HOWTO: Reducing boot time in Breezy using InitNG
Quote:
|
|
|
|
|
|
|
#7 | ||
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2005
Location: St. Petersburg, Russia
Beans: 173
|
Re: HOWTO: Reducing boot time in Breezy using InitNG
Quote:
Quote:
|
||
|
|
|
|
|
#8 |
|
A Carafe of Ubuntu
![]() Join Date: Sep 2005
Beans: 130
Ubuntu Development Release
|
Re: HOWTO: Reducing boot time in Breezy using InitNG
Problem, I get this error when i reboot
failed to initialize HAL! btw, found out its to do with my usb modem being plugged in, hope the eciadsl thing gets sorted soon, not rushing of course Last edited by DoeRayMe; October 22nd, 2005 at 08:24 AM.. |
|
|
|
|
|
#9 | |
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2005
Location: St. Petersburg, Russia
Beans: 173
|
Re: HOWTO: Reducing boot time in Breezy using InitNG
Quote:
2) Read the relevant socuments in /usr/share/initng 3) Edit net.i file 4) Run Code:
sudo ng-update add net/net default |
|
|
|
|
|
|
#10 | |
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2005
Location: St. Petersburg, Russia
Beans: 173
|
Re: HOWTO: Reducing boot time in Breezy using InitNG
Quote:
Code:
sudo ng-update add daemon/dbus default sudo ng-update add daemon/hald default Last edited by temcat; October 22nd, 2005 at 09:17 AM.. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|