Hinnerk van Bruinehsen wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 09.01.2012 01:34, Dale wrote:
Howdy,
I'm about to upgrade my kernel. Do I have to update the init
thingy too or should it work without updating with each kernel
upgrade? I would be going from a 3.1.5 to a 3.2.0-r1.
While I am at it, I version my bzImages. Can I version my init
thinys too? Have one for each version of kernel in other words?
That would be assuming I need to have it updated as asked above.
Thanks.
Dale
:-) :-)
Hi Dale,
You can use your old "init thingy" if you don't need any modules
inside it. The other stuff normally doesn't change.
Since most setups use modules, you could experience troubles...
The other way would be - as you already proposed - to create an "init
thingy" per kernel, eg initramfs-3.2.0-r1.
If you use grub2 the grub2-mkconfig script searches for these
(matching the name for your kernel image) and normally it works out of
the box.
FOr grub legacy (and lilo, i assume) you would need to make matching
entries manually.
With kind regards,
Hinnerk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJPCj4LAAoJEJwwOFaNFkYcA80IAIuYdR8nBiEKdZnUj5TyT/Oz
/oYdw7Kn8bwqsMvBMF8WhEbQlwzy/W/7QaMhU1MOUjFHHHkcFkNe6240gfkbhEEg
J52xj2vsUeT9YjgWEcrhmbFjZi3QNa9NxqVqpEXTFotfKcrX5ym0wdWQ7sW5VhHZ
a4TNtoTu/Kt0pCjyi9ex9j3s1iJKxGG3vwJPrPwT3cc7+1adOE53rgpwjl9avklD
IL72XmhDrii/C3Im78TqrqBZ1fjjRgEmzwGmdBp2Hduk7w5iEW5dXh4nGq/4+8Xi
C1/o+y8acC1+IXRJBbAGMSoVdkmU9difo33CtnjMyjwPjHpkq16TWGj0w12eD8s=
=lP1r
-----END PGP SIGNATURE-----
I'm on the old Grub. I keep saying I'm going to switch but . . . . . .
. If you are using the new grub, how difficult is the switch? Scale
from one to ten would be fine. 1 being pulling teeth and 10 a walk in
the park and your eyes were closed. o_O
I always keep a older boot line available so I will test this but I may
version them anyway, just to be safe. At least I know there is a chance
that it would work if the init thingy didn't build correctly. I tend to
skip versions of kernels too. Sometimes I go several versions. Plus,
honestly, I'm not even 100% sure I am booting the init thingy. I posted
a thread about it but no replies. I'm about 95% sure tho that is is
booting the init do hicky. Can you tell I'm not really liking the init
thingy yet?
Does the dracut init mount /usr if it is on a separate partition or do I
have to set something to tell it too? Right now it's not but I do plan
to redo my set up. I'm planning to put everything on LVM except / and
its friends.
Thanks.
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or how
you interpreted my words!
Miss the compile output? Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"