Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] system won't boot - --no-bootloader set; Skipping bootloader update ...
Date: Fri, 11 Dec 2020 11:45:56
Message-Id: 1b17dd5b-cd45-9cf2-6c97-6cd7de088eca@sys-concept.com
In Reply to: Re: [gentoo-user] system won't boot - --no-bootloader set; Skipping bootloader update ... by Dan Egli
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 I am using "refind" (not grub)
11 With refind, do I need to run any special command to set-up correct kernel.
12 Here is my tree: (grub is there, but I'm not using it)
13 tree -L 3 /boot
14 /boot
15 ├── EFI
16 │   ├── gentoo
17 │   │   └── grubx64.efi
18 │   ├── refind
19 │   │   ├── BOOT.CSV
20 │   │   ├── icons
21 │   │   ├── keys
22 │   │   ├── refind.conf
23 │   │   └── refind_x64.efi
24 │   └── tools
25 ├── System.map-5.4.72-gentoo-x86_64
26 ├── System.map-5.4.72-gentoo-x86_64.old
27 ├── System.map-5.4.80-gentoo-r1-x86_64
28 ├── System.map-5.4.80-gentoo-r1-x86_64.old
29 ├── config-5.4.72-gentoo
30 ├── initramfs-5.4.72-gentoo-x86_64.img
31 ├── initramfs-5.4.72-gentoo-x86_64.img.old
32 ├── initramfs-5.4.80-gentoo-r1-x86_64.img
33 ├── refind_linux.conf
34 ├── vmlinuz-5.4.72-gentoo-x86_64
35 ├── vmlinuz-5.4.72-gentoo-x86_64.old
36 ├── vmlinuz-5.4.80-gentoo-r1-x86_64
37 └── vmlinuz-5.4.80-gentoo-r1-x86_64.old
38
39
40
41 > On 12/11/2020 12:54 AM, thelma@×××××××××××.com wrote:
42 >> My system will not boot.
43 >>
44 >> I installed sys-power/acpid  and wanted to double check the kernel
45 >> configuration.
46 >> I run: genkernel --menuconfig all
47 >> The ACPI option was enabled so I exit the menu but it started to
48 >> compile the kernel so I press CTRL-C (to stop it).
49 >>
50 >> Upon rebooting the X will not start no root login, just a screen with
51 >> login:
52 >> "joseph (none)"
53 >>
54 >> I bootstrap the PC and run:  genkernel --menuconfig all
55 >> and finish compiling, and I get a message:
56 >> -------------
57 >> * Kernel compiled successfully!
58 >> *
59 >> * --no-bootloader set; Skipping bootloader update ...
60 >> *
61 >> * Required kernel parameter:
62 >> *
63 >> *     root=/dev/$ROOT
64 >> *
65 >> * Where $ROOT is the device node for your root partition as the
66 >> * one specified in /etc/fstab
67 >> ---------------
68 >>
69 >> What went wrong?
70 >>
71 >> Here is my fstab:
72 >> LABEL=boot        /boot        vfat        noauto,noatime    1 2
73 >> UUID=d32946b3-2236-4998-80dd-68b7d78e0c7b      /    ext4    noatime   
74 >> 0 1
75 >> LABEL=swap        none        swap        sw        0 0
76 >>
77 >>