1 |
On 12/11/2020 03:15 AM, Dan Egli wrote: |
2 |
> you didn't specify grub2 on the command line or (my preference) in |
3 |
> /etc/genkernel.conf. So genkernel assumes you don't want it to fix your |
4 |
> boot loader. If the kernel and ramdisk are all built, you can fix grub's |
5 |
> config with grub-mkconfig -o /boot/grub/grub.cfg. For future kernel |
6 |
> builds, read the paramaters in man genkernel so you know how to specify |
7 |
> the boot loader, or just edit /etc/genkernel.conf and set the bootloader |
8 |
> from none to grub2. |
9 |
> |
10 |
> On 12/11/2020 12:54 AM, thelma@×××××××××××.com wrote: |
11 |
>> My system will not boot. |
12 |
>> |
13 |
>> I installed sys-power/acpid and wanted to double check the kernel |
14 |
>> configuration. |
15 |
>> I run: genkernel --menuconfig all |
16 |
>> The ACPI option was enabled so I exit the menu but it started to |
17 |
>> compile the kernel so I press CTRL-C (to stop it). |
18 |
>> |
19 |
>> Upon rebooting the X will not start no root login, just a screen with |
20 |
>> login: |
21 |
>> "joseph (none)" |
22 |
>> |
23 |
>> I bootstrap the PC and run: genkernel --menuconfig all |
24 |
>> and finish compiling, and I get a message: |
25 |
>> ------------- |
26 |
>> * Kernel compiled successfully! |
27 |
>> * |
28 |
>> * --no-bootloader set; Skipping bootloader update ... |
29 |
>> * |
30 |
>> * Required kernel parameter: |
31 |
>> * |
32 |
>> * root=/dev/$ROOT |
33 |
>> * |
34 |
>> * Where $ROOT is the device node for your root partition as the |
35 |
>> * one specified in /etc/fstab |
36 |
>> --------------- |
37 |
>> |
38 |
>> What went wrong? |
39 |
>> |
40 |
>> Here is my fstab: |
41 |
>> LABEL=boot /boot vfat noauto,noatime 1 2 |
42 |
>> UUID=d32946b3-2236-4998-80dd-68b7d78e0c7b / ext4 noatime |
43 |
>> 0 1 |
44 |
>> LABEL=swap none swap sw 0 0 |
45 |
|
46 |
Now, when I boot I get a message: |
47 |
|
48 |
Block device UUID=d32946b3-2236-4998-80dd-68b7d78e0c7b is not a valid |
49 |
root device. |
50 |
|
51 |
I did not change anything in /etc/fstab |