Jump to content

Photo

Pre-built kernels!

- - - - -

15 replies to this topic

#1
drobbins

drobbins

    Administrator

  • Administrators
  • 135 posts

Hi All,

 

For a long while, the most time-consuming and potentially error-prone part of installing Funtoo Linux has been building a kernel. I worded to make this better by creating the debian-sources kernel, when combined with the "binary" USE flag will build you a kernel that just works. The problem: the compile time is excessive -- it can take an hour or more even on relatively modern hardware.

 

To make installing Funtoo Linux even easier, stage3's are now including debian-sources pre-built! We're using the Funtoo compute power made available by Funtoo supporters to save you time and hassle when installing Funtoo :) All you need to do is configure a boot loader and you're ready to go :)

 

I enabled this yesterday on our build servers, so it will take a few days before all stage3's are updated to include debian-sources. If they have a date of 2015-05-11 or later, they should have a kernel and initramfs included.

 

If you still want to build your own custom kernel, it is easy enough to unmerge, remove kernel and initramfs, and build your own.

 

Enjoy!

 

-Daniel


  • fabiobeneditto, spectromas, tocadotux and 1 other like this

#2
drobbins

drobbins

    Administrator

  • Administrators
  • 135 posts

Any stage3 with a datestamp of 2015-05-11 or later should have a kernel included.



#3
m31271n

m31271n

    Newbie

  • Members
  • Pip
  • 4 posts

Before, I compiled a personal kernel, put it on my friend's server, then downloaded it to my every funtoo box.

 

Now, I can create a funtoo box in 30 min without doing that.

 

Awesome. Thanks for your efforts. :D



#4
drobbins

drobbins

    Administrator

  • Administrators
  • 135 posts

You are welcome :)



#5
swamprabbit

swamprabbit

    Newbie

  • Members
  • Pip
  • 7 posts
  • LocationU.S.A.

@drobbins

 

Thank you and the team for working on all these exciting changes, I think it is great! 

 

I do have questions about at which step of the install process a user should "unmerge, remove kernel and initramfs" if they want to build their own kernel?

I assume a user should do this right after chrooting into new system for the first time because the kernel included in the stage3 is part of the world set correct?

 

I am asking because of the advice given in this thread http://forums.funtoo...rged/#entry2632

 

I use either gentoo-sources or hardened-sources and just want to make sure I understand any new changes to my process that I need to make during an new install.



#6
666threesixes666

666threesixes666

    Advanced Member

  • Members
  • PipPipPip
  • 129 posts

im going to ??? at the implementation as its raising the size of the stage3.  would it be possible to build the kernel & have debian-bin fetch the specific subarch pre-rolled kernel?  is this a general arch kernel that can be used with all the sub arches?  (is this what happened?)  i haven't even seen the stages yet so im more so asking what's going on.  are we still serving the stage3's with out kernels since i make my own vanillas?


Duke: No more of that talk or I'll put the f*cking leeches on you, understand?

 

Paul: [about Percy] The man is mean and careless and stupid, and that's a bad combination in a place like this.


#7
drobbins

drobbins

    Administrator

  • Administrators
  • 135 posts

The stage3's are coming with kernels included.


  • 666threesixes666 likes this

#8
blaz000

blaz000

    Newbie

  • Members
  • Pip
  • 2 posts

I think this is a brilliant development, especially for newcomers or people who do not have a great experience with building kernels. I have a question, will it be possible to provide a binary kernel also at cases when a new kernel version becomes available and an update is necessary?


  • 666threesixes666 likes this

#9
drobbins

drobbins

    Administrator

  • Administrators
  • 135 posts

I'm currently not providing package updates but there may be developments in that area in the future.



#10
drobbins

drobbins

    Administrator

  • Administrators
  • 135 posts

This might give you some idea of the amount of upstream bugs I am encountering while building a full build of GNOME. Many of these build failures are due to use of binary packages, which it doesn't appear that Gentoo actively tests:

 

https://bugs.funtoo.org/browse/QA-24


  • 666threesixes666 likes this

#11
Renich

Renich

    Newbie

  • Members
  • Pip
  • 4 posts
  • LocationIxtlahuacán de los Membrillos, Jalisco, México

Thanks a lot, BDFL!


  • drobbins likes this
It's hard to be free... but I love to struggle. Love isn't asked for; it's just given. Respect isn't asked for; it's earned!
Renich Bon Ciric
 

#12
aryvandaar

aryvandaar

    Advanced Member

  • Members
  • PipPipPip
  • 37 posts
  • LocationNorway

 I know how to compile my own kernels, but at heart I am a lazy person. Thanks! This makes it considerably easier to install on many machines.

 

Also, very practical. Good thinking. :)


"Loyalty above all else except honour."

Desktop: Funtoo Plasma

Laptop: Windows 8


#13
Renich

Renich

    Newbie

  • Members
  • Pip
  • 4 posts
  • LocationIxtlahuacán de los Membrillos, Jalisco, México

It would be cool if the pre-built kernels/initramfs images included virtio and btrfs modules. I tried mine as a KVM/Qemu guest and got nowhere with it.

 

What I do is use genkernel-next; with vanilla sources. It provides a --virtio and --btrfs options and injects those modules into the initramfs image. 


It's hard to be free... but I love to struggle. Love isn't asked for; it's just given. Respect isn't asked for; it's earned!
Renich Bon Ciric
 

#14
shaman

shaman

    Advanced Member

  • Members
  • PipPipPip
  • 32 posts
  • LocationWashington DC

This is definally great news for qemu users like myself who need rapid deployment. That mitigates the time constraints to serve clients needs. Now all that's needed now is quarterly ebuilds. :) Thanks to everyone who made this happen.



#15
morphmex

morphmex

    Advanced Member

  • Members
  • PipPipPip
  • 44 posts
  • LocationLivorno- Italy

 I am happy because I have a dream ... ;) fantas10.gif

11041110.jpg



#16
donjames

donjames

    Advanced Member

  • Members
  • PipPipPip
  • 32 posts
  • LocationHenderson, Texas USA

I read the funtoo install instructions again.  I followed exactly the instructions for installing funtoo using debian-sources. 

 

It worked!

 

I now have my Toshiba laptop up and running.  I have been trying, unsuccessfully, to do a manual kernel configuration for the past 5 days and could not get the Toshiba to boot.

 

Thanks,

 

Don James





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users