Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] InitRAMFS - boot expert sought
Date: Tue, 27 Mar 2012 20:13:51
Message-Id: 20120327210732.083951e9@digimed.co.uk
In Reply to: Re: [gentoo-user] InitRAMFS - boot expert sought by Mark Knecht
1 On Tue, 27 Mar 2012 10:09:23 -0700, Mark Knecht wrote:
2
3 > > copy old config
4 > > make oldconfig
5 > > make all && make modules_install
6 > > copy kernel to /boot
7
8 make all modules_install install
9
10 does everything the last two lines do in a single command.
11 > >
12 > > That to me seems a LOT easier and it also works very well for me.
13
14 > Until you add in the work of doing the initrd for each new kernel. I
15 > think that's Michael's point.
16
17 make all with build the initramfs, just set the source path in the kernel
18 config.
19
20 > I agree with you Dale. I do it the same way as you, except if I build
21 > an initrd I've done it completely by hand, building the whole
22 > directory structure, etc, then building it into the binary. That's a
23 > lot of work.
24
25 Yes it is, I now I used to waste my time like that. Now I have a config
26 file that lists what needs to go into the initramfs and the kernel build
27 automatically pulls everything in for me. The only other thing I need is
28 the init script. So I get the benefit of hand crafting everything with
29 the ease of automated building.
30
31
32 --
33 Neil Bothwick
34
35 "Meow" <SPLAT!> "Woof" <SPLAT!> Jeez, it's really raining today.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
RE: [gentoo-user] InitRAMFS - boot expert sought Mike Edenfield <kutulu@××××××.org>