1 |
2013/8/28 Francisco Ares <frares@×××××.com> |
2 |
|
3 |
> |
4 |
> 2013/8/28 Michael Hampicke <mh@××××.biz> |
5 |
> |
6 |
>> Am 27.08.2013 22:40, schrieb Francisco Ares: |
7 |
>> >> |
8 |
>> >> I think I might have found it. Although I have selected in the kernel |
9 |
>> >> "menuconfig" to compress the initramfs using gzip and deselected all |
10 |
>> other |
11 |
>> >> decompression forms. a simple "file initramfs-xxx" told me that it was |
12 |
>> "XZ |
13 |
>> >> compressed data", so now I am rebuilding the kernel with all |
14 |
>> decompression |
15 |
>> >> algorithms built in. |
16 |
>> >> |
17 |
>> >> I will (hope) soon post the results. |
18 |
>> >> |
19 |
>> >> Thanks, |
20 |
>> >> Francisco |
21 |
>> >> |
22 |
>> > |
23 |
>> > |
24 |
>> > It did not work :-( |
25 |
>> > |
26 |
>> |
27 |
>> You could try generating an initramfs with dracut - see if that works. |
28 |
>> You possible have to change the name of the initramfs in grub.cfg. Files |
29 |
>> generated with dracut don't have *genkernel* in it's filename. |
30 |
>> |
31 |
>> If you can boot with dracut initramfs, you can investigate why the |
32 |
>> initramfs of genkernel does not work. |
33 |
>> |
34 |
>> |
35 |
> Thanks, Michael, gonna read about dracut and try it out. |
36 |
> |
37 |
> Right now "gentoo-sources-3.10.7" is being built, still using genkernel (I |
38 |
> was using gentoo-sources-3.8.13). |
39 |
> |
40 |
> Meanwhile: the profile for this new install is |
41 |
> "default/linux/amd64/13.0/no-multilib" - and I see that the directory where |
42 |
> grub2 stores modules in /boot/grub2 is named "i386-pc". Switching to a |
43 |
> multilib profile and issuing an "emerge -pvuDN world", I see that, for |
44 |
> instance, glibc is queued to be rebuilt with "multilib" use flag. |
45 |
> |
46 |
> What I mean is: does genkernel uses the binaries already available in the |
47 |
> filesystem it works on, or does it build its own ones? If so, is genkernel |
48 |
> + grub2 compatible with a "no-multilib" profile? I guess so, specially |
49 |
> after reading grub2 documentation, but, on the other hand, in a working |
50 |
> system, I could see that busybox from the initramfs (thanks, Neil!) and the |
51 |
> one in the root filesystem are different. |
52 |
> |
53 |
> Thanks again! |
54 |
> Francisco |
55 |
> |
56 |
|
57 |
Hi |
58 |
|
59 |
While trying to learn about dracut, I found a detail that made me look |
60 |
closer to the genkernel generated initramfs, and I found that the error |
61 |
message was perfectly clear: there was no /dev/sda5, where my "real_root" |
62 |
is, that initramfs has just /dev/sda1 to /dev/sda4 . |
63 |
|
64 |
I think it must be a limitation on genkernel part, although I was unable to |
65 |
find anything related to this issue up to now. |
66 |
|
67 |
So now I have rearranged the partitions, using just the first ones. Now I |
68 |
got a stuck splash image, no initialization shown, no progress bar |
69 |
moving... but this is another problem, probably I forgot to change |
70 |
something to reflect the new partitioning scheme. |
71 |
|
72 |
Thanks to all. |
73 |
Francisco |