1 |
2013/8/27 Francisco Ares <frares@×××××.com> |
2 |
|
3 |
> |
4 |
> 2013/8/27 Francisco Ares <frares@×××××.com> |
5 |
> |
6 |
>> |
7 |
>> 2013/8/27 Francisco Ares <frares@×××××.com> |
8 |
>> |
9 |
>>> |
10 |
>>> 2013/8/27 Francisco Ares <frares@×××××.com> |
11 |
>>> |
12 |
>>>> |
13 |
>>>> 2013/8/27 Michael Hampicke <mh@××××.biz> |
14 |
>>>> |
15 |
>>>>> Am 26.08.2013 20:11, schrieb Francisco Ares: |
16 |
>>>>> > Hi, Michael, thanks for you reply. |
17 |
>>>>> > |
18 |
>>>>> > Please forgive me for not having mentioned grub2-mkconfig and |
19 |
>>>>> > grub2-install. The mentioned grub.cfg was a sample from a working |
20 |
>>>>> system, |
21 |
>>>>> > with legacy grub:0, from which I have recovered parts of the kernel |
22 |
>>>>> command |
23 |
>>>>> > line parameters. |
24 |
>>>>> > |
25 |
>>>>> > After "genkernel" finished to build the kernel, I've issued: |
26 |
>>>>> > |
27 |
>>>>> > grub2-mkconfig -o /boot/grub2/grub.cfg |
28 |
>>>>> > grub2-install /dev/sda |
29 |
>>>>> > |
30 |
>>>>> > Sorry for this. |
31 |
>>>>> > Francisco |
32 |
>>>>> On a failed boot, can you reach the rescue system from the initramfs? |
33 |
>>>>> (The message is something like "enter password for rescue or ctrl+d) If |
34 |
>>>>> so, are you able mount your actual root partiton (sda5) manually? |
35 |
>>>>> |
36 |
>>>>> |
37 |
>>>> No, unfortunately. But I am able to use the grub console prior to boot. |
38 |
>>>> |
39 |
>>>> By doing so, I have listed the command about to be used to boot the |
40 |
>>>> first entry in the grub menu, it installs some modules. In regard of file |
41 |
>>>> systems, it only loads a ext2 module, and the root partition is ext4 |
42 |
>>>> formated. |
43 |
>>>> |
44 |
>>>> Although this kernel has ext2, ext3 and ext4 built in (not modules), |
45 |
>>>> can this be a cue? Right now I am preparing to format the root partition |
46 |
>>>> as ext2, just to check this out. |
47 |
>>>> |
48 |
>>>> Thanks again |
49 |
>>>> Francisco |
50 |
>>>> |
51 |
>>>> |
52 |
>>> It didn't work, so I suppose the embedded ext2, ext3 and ext4 in the |
53 |
>>> kernel is not the issue, and might be working. Going to explore the grub |
54 |
>>> console now. |
55 |
>>> |
56 |
>>> Thanks |
57 |
>>> Francisco |
58 |
>>> |
59 |
>> |
60 |
>> |
61 |
>> In the grub console, prior to boot, I was able to mount any partition |
62 |
>> using commands like: |
63 |
>> |
64 |
>> root=(hd0,msdos5) |
65 |
>> |
66 |
>> and then listing the directory tree structure with " ls / " gave the |
67 |
>> expected results. |
68 |
>> |
69 |
>> Francisco |
70 |
>> |
71 |
>> |
72 |
> |
73 |
> I think I might have found it. Although I have selected in the kernel |
74 |
> "menuconfig" to compress the initramfs using gzip and deselected all other |
75 |
> decompression forms. a simple "file initramfs-xxx" told me that it was "XZ |
76 |
> compressed data", so now I am rebuilding the kernel with all decompression |
77 |
> algorithms built in. |
78 |
> |
79 |
> I will (hope) soon post the results. |
80 |
> |
81 |
> Thanks, |
82 |
> Francisco |
83 |
> |
84 |
|
85 |
|
86 |
It did not work :-( |
87 |
|
88 |
Francisco |