FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-28-2011, 02:23 PM
Celejar
 
Default Reducing kernel compilation time

On Mon, 26 Sep 2011 01:41:10 -0000
Cam Hutchison <camh@xdna.net> wrote:

> David Witbrodt <dawitbro@sbcglobal.net> writes:
>
> >(My goal was to
> >produce a kernel that boots without an initrd; most people will not
> >share that goal.)
>
> I would have thought that most people would share that goal, since
> building an initrd is useful for only two reasons I can think of:

...

> 2) You have a complex method of getting the root filesystem mounted -
> perhaps encrypted LVM on top of a network block device, etc, etc, etc.

I use a simple (relative to your example, at least) setup, with an
unencrypted boot and everything else on top of LVM on top of an
encrypted PV. Is there some way to do this without an initrd? The docs,
such as they are, generally recommend using an initrd for booting from
encrypted storage, even when not dealing with the sort of complexity
you describe, e.g.:

http://www.debian-administration.org/articles/577

> Since most people who are building their own kernels probably do not
> have either of these requirements, building without an initrd would
> make things a lot simpler.
>
> I looked into building an initrd with my kernel builds, but it just made
> things more complicated and I could not see the point.
>
> Is there some other reason to use an initrd when building your own
> customized kernels?

suspend / resume from disk should really be done via an initrd; from
the docs:

(c) The kernel should be configured with CONFIG_BLK_DEV_INITRD=y, which
will allow you to run the resume binary out of an iniramfs/initrd image.
[It is possible to use the suspend tools without any initramfs/initrd
images, but it's dangerous and will not be documented here.]

Celejar
--
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110928102315.acf833bc7cd52bae1e60d565@gmail.com" >http://lists.debian.org/20110928102315.acf833bc7cd52bae1e60d565@gmail.com
 

Thread Tools




All times are GMT. The time now is 03:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org