Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
einit questions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Tariella
Guru
Guru


Joined: 10 Dec 2005
Posts: 377
Location: Europe/Austria

PostPosted: Mon Dec 22, 2008 9:58 am    Post subject: einit questions Reply with quote

I decided to give einit another try.
Last time I installed einit, it was still in early development (I didn't manage to get the confguration right) and now that I want to speed up the startup of my HTPC I remembered einit and decided to give it another chance.

There are my questions about the state of einit:
The ebuild in portage doesn't work for me and so I want to use the overlay as recommended in the setup-guide on the einit homepage. The problem is that layman tells me there is no einit overlay.
So how do I get the overlay?

Another issue is the display of a boot-splash: Is einit compatible with splashutils or is there something like splasutils for einit?
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 04 Nov 2004
Posts: 1083
Location: Victoria, BC, Canada

PostPosted: Mon Dec 22, 2008 11:43 am    Post subject: Reply with quote

einit is gone, replaced by kyuba
_________________
Saving the world, one kilobyte at a time.
Back to top
View user's profile Send private message
Tariella
Guru
Guru


Joined: 10 Dec 2005
Posts: 377
Location: Europe/Austria

PostPosted: Mon Dec 22, 2008 2:00 pm    Post subject: Reply with quote

But afaik kyuba is not yet usable and the kyuba homepage recommends to use einit until it is ready.
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Fri Jan 02, 2009 11:12 pm    Post subject: Reply with quote

the overlay's been moved to the "jyujin" overlay. feel free to dig around that one... not sure how much of it works anymore though, especially the latest udev releases screwed things up for einit :s.
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
0000000000000
Apprentice
Apprentice


Joined: 21 Mar 2008
Posts: 163

PostPosted: Sat Jan 03, 2009 1:35 am    Post subject: Reply with quote

einit is really fast

the portage version works fine for me, but there are a few bugs (the first time i try to boot with einit after having been using sysvinit it crashes right before X starts, the next time and everytime thereafter it will work). Also, i remember having some trouble getting regular init.d scripts working, though the --nodeps option works well. I am also unable to hibernate if I boot with einit.

if i could hibernate, i'd probably be using einit since it's super quick (3-5 seconds after kernel loads and X is started)

looking forward to kyuda
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Sat Jan 03, 2009 3:22 am    Post subject: Reply with quote

0000000000000 wrote:
einit is really fast

the portage version works fine for me, but there are a few bugs (the first time i try to boot with einit after having been using sysvinit it crashes right before X starts, the next time and everytime thereafter it will work). Also, i remember having some trouble getting regular init.d scripts working, though the --nodeps option works well. I am also unable to hibernate if I boot with einit.

if i could hibernate, i'd probably be using einit since it's super quick (3-5 seconds after kernel loads and X is started)

looking forward to kyuda
aye, there had been a number of unresolved issues... i think some were fixed in the git sources' "testing" branch, but definitely not all of it and it introduced a couple more issues. i wish i could say kyuba was progressing as fast as originally intended, but i'm a bit loaded with university things... glad einit worked fast for you though ;).
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
jordanwb
l33t
l33t


Joined: 10 Jul 2008
Posts: 642
Location: Ottawa, Canada

PostPosted: Mon Feb 02, 2009 11:15 pm    Post subject: Reply with quote

I'd like to know how it gets stuff to boot so fast.
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Mon Feb 02, 2009 11:19 pm    Post subject: Reply with quote

jordanwb wrote:
I'd like to know how it gets stuff to boot so fast.


good programming :D
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
jordanwb
l33t
l33t


Joined: 10 Jul 2008
Posts: 642
Location: Ottawa, Canada

PostPosted: Mon Feb 02, 2009 11:47 pm    Post subject: Reply with quote

rmh3093 wrote:
jordanwb wrote:
I'd like to know how it gets stuff to boot so fast.


good programming :D


Well that does help, but there's go to be more than that.

Also I have openRC installed. I assume I'd need to unmerge it before emerging einit?
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Tue Feb 03, 2009 1:44 am    Post subject: Reply with quote

jordanwb wrote:
rmh3093 wrote:
jordanwb wrote:
I'd like to know how it gets stuff to boot so fast.


good programming :D


Well that does help, but there's go to be more than that.

Also I have openRC installed. I assume I'd need to unmerge it before emerging einit?


sure there is more, sysvinit is all sh scripts which is really slow compared to C... openRC is a blend of sh and C so thats why tis faster than just sysvinit but not faster than einit which is like 95% C

no to use einit you add init=/sbin/einit (unless something changed recently) to your grub config...
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
jordanwb
l33t
l33t


Joined: 10 Jul 2008
Posts: 642
Location: Ottawa, Canada

PostPosted: Tue Feb 03, 2009 2:46 am    Post subject: Reply with quote

rmh3093 wrote:
sure there is more, sysvinit is all sh scripts which is really slow compared to C... openRC is a blend of sh and C so thats why tis faster than just sysvinit but not faster than einit which is like 95% C


Cool

rmh3093 wrote:
no to use einit you add init=/sbin/einit (unless something changed recently) to your grub config...


Sounds easy enough. Something is bound to go wrong.


[Edit]

Code:
title Gentoo Linux 2.6.28 - 64 bit - Einit
root (hd1,0)
kernel /kernel-genkernel-x86_64-2.6.28 root=/dev/ram0 real_root=/dev/mapper/system-gentoo64 dolvm quiet vga=0x31A init=/sbin/einit
initrd /initramfs-genkernel-x86_64-2.6.28


openRC still ran. :?

[Edit #2]

For future reference, for those with genkernel its "real_init". Each time I booted I got further but X seemed to die or something and einit wanted to use dhcp on eth0 for some reason.

When it came to configuring, it seems like these guys reinvented the wheel. Which is why networking isn't working.

[Edit #3]

I got einit working. I'll try it on my laptop tommorow afternoon.
Back to top
View user's profile Send private message
Mimamau
Apprentice
Apprentice


Joined: 11 Jun 2002
Posts: 160
Location: Germany

PostPosted: Wed Feb 18, 2009 10:48 am    Post subject: Reply with quote

I've just installed einit from the "jyujin" overlay on ~amd64. Everything but my KDM seems to work. I have added 'displaymanager' to the enabled services, but einit tells me "UNRESOLVED SERVICES: displaymanager" so where is it gone? The examples allways say one should use 'displaymanager'. What's wrong?
Back to top
View user's profile Send private message
jordanwb
l33t
l33t


Joined: 10 Jul 2008
Posts: 642
Location: Ottawa, Canada

PostPosted: Wed Feb 18, 2009 1:47 pm    Post subject: Reply with quote

Try changing displaymanager to xdm.
Back to top
View user's profile Send private message
Mimamau
Apprentice
Apprentice


Joined: 11 Jun 2002
Posts: 160
Location: Germany

PostPosted: Wed Feb 18, 2009 5:00 pm    Post subject: Reply with quote

That didnt work, either.
But I just opened /lib/einit/modules-xml/kdm.xml and saved it (corrected the path for KDE4 kdm). Now it works :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum