You are not logged in.

#151 2010-06-22 16:01:14

lowie82ph
Member
Registered: 2008-08-10
Posts: 22

Re: Quick-init - Boot your arch in 10 seconds

will this still work with kernel 2.6.34 and xorg 1.8? anyone tried it yet?

thanks

Offline

#152 2010-06-23 03:41:13

madek
Member
From: Santiago, Chile
Registered: 2009-09-08
Posts: 98
Website

Re: Quick-init - Boot your arch in 10 seconds

yes, actually have the kernel 2.6.34, xorg 1.8 and intel 2.9.11 driver and it's works fine

Offline

#153 2010-07-01 15:36:38

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Quick-init - Boot your arch in 10 seconds

A side issue:

Have installed 2010-05.iso onto a CF card with Kde4 included, firefox, vlc, gparted......

Boot time is ~18 secs


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#154 2010-07-09 02:03:00

IncrediblePie
Member
Registered: 2010-07-09
Posts: 1

Re: Quick-init - Boot your arch in 10 seconds

You might have already answered this, but manually adding a drive to fstab causes a crash when using qinit. What is the correct way to go about mounting additional drives at bootup?

Offline

#155 2010-07-09 09:01:20

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

Re: Quick-init - Boot your arch in 10 seconds

You could use udev. But since quick-init causes so many problems i can't understand why so many people want to use it.
An alternative would be to use a SSD.


no place like /home
github

Offline

#156 2010-07-23 11:23:46

Nicky726
Member
From: Czech Republic
Registered: 2008-02-15
Posts: 142
Website

Re: Quick-init - Boot your arch in 10 seconds

Saddly didn't work for me cause of encrypted root and other partitions on top of LVM. It failed on mounting key encrypted var, tmp, swap. Is there a way of getting it working with encrypted partitions? If not, it would be nice to mention at project home page/aur package page...


"Although the masters make the rules
For the wise men and the fools
I got nothing, Ma, to live up to."

Offline

#157 2010-07-26 20:21:38

tidalf
Member
Registered: 2010-02-06
Posts: 21

Re: Quick-init - Boot your arch in 10 seconds

Hi there,

Thanks for this script ! QuickInit works wonderfully there (2-3s from grub to awesome) :
81417072.th.png

the ahci.ignore_sss (thanks kwi) allow the 4 drives to spin up simultaneously (without it i was waiting  5 more seconds)
bootchartd is stopped at the end of the awesome rc.lua (awful.util.spawn("sudo /sbin/bootchartd stop"))

Offline

#158 2010-07-27 08:44:55

shemz
Member
Registered: 2010-04-23
Posts: 135

Re: Quick-init - Boot your arch in 10 seconds

Wow that is awesome. 2 secs is magic wink. For me it takes 7 secs, and I am happy with it. But if I save 5 more secs, that would be great. Btw how do you start X, I am using inittab but with that X actually starts after reaching a tty and so I loose a few precious seconds big_smile.

Offline

#159 2010-07-31 10:24:38

tidalf
Member
Registered: 2010-02-06
Posts: 21

Re: Quick-init - Boot your arch in 10 seconds

yup shemz.
I start X with nodm (launched by quick-init inittab) but that's an old abit, perhaps slim (packaged in the arch) should boot as fast.

Offline

#160 2010-09-22 12:51:02

Wyrm88
Member
Registered: 2010-05-05
Posts: 53

Re: Quick-init - Boot your arch in 10 seconds

tNW0xdw

I think it could be some 3-4 sec faster, if it weren't hanging at the prompt (I can't type anything at that moment, btw sad). I guess its starting all the daemons at that time, but still wanted to ask for your opinion. Can I somehow get those 3-4 seconds? big_smile

Offline

#161 2010-10-06 04:06:08

MartinZ
Member
From: Chiloé, Chile
Registered: 2005-06-10
Posts: 379

Re: Quick-init - Boot your arch in 10 seconds

Jedipottsy wrote:

i can't get this to work, on boot i the filesystem check fails, saying

/dev/sda2:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is correupt, and you might try running e2fsck with an alternative superblock:
      e2fsck -b 8193 <device>

Im using ext4, so how can i modify the script to check for ext4 not ext2?

Thanks

Same here, but I think it happens because of GPT partitioning.


All your base are belong to us

Offline

#162 2010-12-10 10:53:36

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,598
Website

Re: Quick-init - Boot your arch in 10 seconds

MartinZ wrote:

Same here, but I think it happens because of GPT partitioning.

Can anyone confirm that quick-init is not GPT friendly?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#163 2010-12-15 20:41:29

tuxfusion
Member
Registered: 2007-12-31
Posts: 98

Re: Quick-init - Boot your arch in 10 seconds

adriano wrote:

soon with the stable version of kernel 2.6.32 quick-init will be really stable and supported wink

to mxforce
to increment more your boot on ssd you can try sreadahead on ssd with kernel26-fastboot wink

kernel26-fastboot
sreadahead

Hi, do you know a way to use https://wiki.archlinux.org/index.php/Readahead-fedora as it does not need patched kernel ?
However it does not work for me yet. Some dude put up a version of quick-init with fedora readahead in AUR, but quickly abondened the package as everything else he puts up, it did not work for me .... -> https://aur.archlinux.org/packages.php?ID=37879

Offline

#164 2010-12-19 21:13:35

algorythm
Member
From: /usr/share/zoneinfo/Europe/FIN
Registered: 2009-07-17
Posts: 181

Re: Quick-init - Boot your arch in 10 seconds

9 seconds is as fast as I can go. My disk usage is at the roof the whole time, which seems to be the bottle neck for my system (single 0,5TB HDD):
tNm10cA

Last edited by algorythm (2010-12-19 21:26:16)


“Talent you can bloom. Instinct you can polish.”  — Haikyuu!! (adapted)
“If everybody thought alike, no one would be thinking very much.”  — Walter Lippmann (adapted)
“The important thing is to be able, at any moment, to sacrifice what we are for what we could become.”  — Charles Dubois

Offline

#165 2010-12-21 10:08:11

ying
Member
From: Austria
Registered: 2010-03-02
Posts: 110

Re: Quick-init - Boot your arch in 10 seconds

tuxfusion wrote:
adriano wrote:

soon with the stable version of kernel 2.6.32 quick-init will be really stable and supported wink

to mxforce
to increment more your boot on ssd you can try sreadahead on ssd with kernel26-fastboot wink

kernel26-fastboot
sreadahead

Hi, do you know a way to use https://wiki.archlinux.org/index.php/Readahead-fedora as it does not need patched kernel ?
However it does not work for me yet. Some dude put up a version of quick-init with fedora readahead in AUR, but quickly abondened the package as everything else he puts up, it did not work for me .... -> https://aur.archlinux.org/packages.php?ID=37879


Sry dude. I disowned the package, because it isn`t any faster then my readahead-fedora package with normal initscripts. Try installing readahead-fedora (With normal initscripts) and reboot twice. It is quite fast for me. Maybe I will once try again quick-init in combination with readahead. But starting udev in the background + readahead had a lot of problems with my hardware (Tested it with 4 different computers) -> isn`t that stable.

Last edited by ying (2010-12-21 10:10:57)

Offline

#166 2010-12-21 10:51:42

tuxfusion
Member
Registered: 2007-12-31
Posts: 98

Re: Quick-init - Boot your arch in 10 seconds

Ying, thx for clarifying ! I think i will just stick to quick-init alone then , my readahead attempts where not speeding up compared to it

Offline

#167 2010-12-21 13:33:02

ying
Member
From: Austria
Registered: 2010-03-02
Posts: 110

Re: Quick-init - Boot your arch in 10 seconds

Did you do it how explained in the wiki and did you use the new readahead-fedora package with the edited xorg.conf? My boot is quite fast now. wink

Last edited by ying (2010-12-21 13:34:08)

Offline

#168 2010-12-24 20:44:10

MartinZ
Member
From: Chiloé, Chile
Registered: 2005-06-10
Posts: 379

Re: Quick-init - Boot your arch in 10 seconds

ying wrote:

Did you do it how explained in the wiki and did you use the new readahead-fedora package with the edited xorg.conf? My boot is quite fast now. wink

Where is that new package? In AUR there is a more than 2 months old one, do you refer to that one?


All your base are belong to us

Offline

#169 2010-12-29 05:22:33

tuxfusion
Member
Registered: 2007-12-31
Posts: 98

Re: Quick-init - Boot your arch in 10 seconds

ying wrote:

Did you do it how explained in the wiki and did you use the new readahead-fedora package with the edited xorg.conf? My boot is quite fast now. wink

I don't know what wiki you refer to, neither : https://wiki.archlinux.de/title/Readahead-fedora  , nor https://wiki.archlinux.org/index.php/Readahead-fedora  mention xorg.conf in any way.

Right now i might kick quick-init , as the pc now boots exactly as fast with redahead-fedora alone  as it did with quick-init , 27secs finished gnome desktop

UPDATE:
Screw all this , fastest boot for my system is just simple plain arch init. 26 secs, readahead-fedora needs 2 secs more. I'll concentrate on usefull improvements like putting firefox in ramdisk for now

Last edited by tuxfusion (2010-12-31 02:50:56)

Offline

#170 2011-01-03 16:35:45

algorythm
Member
From: /usr/share/zoneinfo/Europe/FIN
Registered: 2009-07-17
Posts: 181

Re: Quick-init - Boot your arch in 10 seconds

(/etc/X11/)'xorg.conf' shouldn't even be used anymore. The directory '/etc/X11/xorg.conf.d' where you put _separate_ config files has replaced it since xorg-server 1.8.

Last edited by algorythm (2011-01-03 16:36:32)


“Talent you can bloom. Instinct you can polish.”  — Haikyuu!! (adapted)
“If everybody thought alike, no one would be thinking very much.”  — Walter Lippmann (adapted)
“The important thing is to be able, at any moment, to sacrifice what we are for what we could become.”  — Charles Dubois

Offline

#171 2011-01-03 16:43:21

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Quick-init - Boot your arch in 10 seconds

algorythm wrote:

(/etc/X11/)'xorg.conf' shouldn't even be used anymore.

Not true. It doesn't matter if you put your stuff in xorg.conf or in files in xorg.conf.d/, both work.

Offline

#172 2011-01-18 18:07:36

m4co
Member
Registered: 2009-12-29
Posts: 117
Website

Re: Quick-init - Boot your arch in 10 seconds

Hi Adriano!

Great work! big_smile

I'm trying to fast boot to X with [LINK="https://wiki.archlinux.org/index.php/Start_X_at_boot"]Start X at boot[/LINK]" with no avail.

I already tried in inittab:

x:5:respawn:/usr/bin/xdm -nodaemon

and

x:5:once:/bin/su username -l -c '/usr/bin/startx >/dev/null 2>&1'

Both of them doesn't work.

This following line works for me without quick-init:

x:5:respawn:/usr/bin/xdm -nodaemon

What am I missing?

Also, compressing the /usr folder, speeding up udev, does that decrease boot time with quick-init even more?


Don't panic !

Offline

#173 2011-01-18 19:53:52

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: Quick-init - Boot your arch in 10 seconds

Try this

x:5:respawn:/bin/su YOURUSER -l -c "/bin/bash --login -c xinit >/dev/null 2>&1"

Speedup udev helps a little bit more. Compressing the /usr, i don't know if it helps.


.::. TigTex @ Portugal .::.

Offline

#174 2011-03-24 13:27:55

rohtie
Member
From: Norway
Registered: 2011-03-21
Posts: 9

Re: Quick-init - Boot your arch in 10 seconds

Thanks!
It reduced boot time from 18 to 5 seconds!

Specs:
AMD Turion x2 TL-52 - 1.6 Ghz
ATI moblity radeon HD 2400 -128MB
RAM: 1024MB
HDD: 150 GB 5400 RPM

Offline

#175 2011-03-24 19:34:13

tuxfusion
Member
Registered: 2007-12-31
Posts: 98

Re: Quick-init - Boot your arch in 10 seconds

rohtie wrote:

Thanks!
It reduced boot time from 18 to 5 seconds!

Specs:
AMD Turion x2 TL-52 - 1.6 Ghz
ATI moblity radeon HD 2400 -128MB
RAM: 1024MB
HDD: 150 GB 5400 RPM


would love to see any proof of those 5 sec

Offline

Board footer

Powered by FluxBB