Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unable to boot headless
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 93

PostPosted: Sun Jul 14, 2019 12:13 pm    Post subject: unable to boot headless Reply with quote

I made a fresh install of Gentoo on my server .
Init system - OpenRC
root-on-LVM2 with Gentoo and Custom Initramfs
But after i exit the rescue mode and restart the server i Can't connect to a server via SSH

the Output of
Code:
 rc-update -v show

Code:

               agetty |                                       
               binfmt | boot                                   
             bootlogd |                                       
             bootmisc | boot                                   
         busybox-ntpd |                                       
     busybox-watchdog |                                       
              cgroups |                                 sysinit
          consolefont |                                       
           consolekit |      default                           
               cronie |      default                           
                 dbus |      default                           
                devfs |                                 sysinit
        device-mapper |                                       
                dmesg |                                 sysinit
             dmeventd |                                       
                 fsck | boot                                   
             hostname | boot                                   
              hwclock | boot                                   
            ip6tables |                                       
             iptables |                                       
              keymaps | boot                                   
            killprocs |                        shutdown       
    kmod-static-nodes |                                 sysinit
                local |      default nonetwork                 
           localmount | boot                                   
             loopback | boot                                   
                  lvm | boot                                   
       lvm-monitoring |                                       
              lvmetad |                                       
             lvmpolld |                                       
              metalog |                                       
              modules | boot                                   
             mount-ro |                        shutdown       
                 mtab | boot                                   
           net-online |                                       
             net.eth0 |      default                           
               net.lo |                                       
             netmount |      default                           
           nullmailer |                                       
              numlock |                                       
     opentmpfiles-dev |                                 sysinit
   opentmpfiles-setup | boot                                   
              osclock |                                       
              pciparm |                                       
               procfs | boot                                   
            pydoc-2.7 |                                       
            pydoc-3.6 |                                       
                 root | boot                                   
               rsyncd |                                       
             runsvdir |                                       
            s6-svscan |                                       
         save-keymaps | boot                                   
    save-termencoding | boot                                   
            savecache |                        shutdown       
                 sshd |      default                           
                 swap | boot                                   
              swclock |                                       
               sysctl | boot                                   
                sysfs |                                 sysinit
            syslog-ng |      default                           
         termencoding | boot                                   
                 udev |                                 sysinit
          udev-settle |                                       
         udev-trigger |                                 sysinit
              urandom | boot                                   


fstabb
Code:

# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>

LABEL=boot      /boot   vfat   noatime               0 2
/dev/mapper/lvm-root   /   ext4   defaults,noatime,errors=remount-ro   0 1
                         

initramfs
Code:

#!/bin/busybox sh

rescue_shell() {
        echo "Something went wrong. Dropping you to a shell."
                busybox --install -s
        exec /bin/sh
}

mount -t proc none /proc
mount -t sysfs none /sys
mount -t devtmpfs none /dev

sleep 3

lvm vgscan --mknodes
lvm lvchange -a ly lvm/root
lvm vgscan --mknodes

mount -r /dev/mapper/lvm-root /mnt/root || rescue_shell

umount /proc
umount /sys
umount /dev

exec switch_root /mnt/root /sbin/init


i enabled boot loggingon openrc and , uncomment the rc_logger="NO" and change it to rc_logger="YES"

nevertheless no rc.log is created under /var/log/

does someone uses the same config and can give a hint

I'd appreciate any help. Thanks!
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4541
Location: Dallas area

PostPosted: Sun Jul 14, 2019 12:48 pm    Post subject: Reply with quote

Do you have a monitor to connect to the server, don't need the keyboard, just the monitor to see what's going on.
Hard to say what's going on if you can't see where it is in the boot process.
It could be setting at the boot prompt.

Edit to add: I assumed this was a local server, if it's a remote server, then toralfs advice (below) is good.
_________________
PRIME x570-pro, 3700x, RX 550 & 560
Acer E5-575 (laptop), i3-7100u - i965
---both---
5.5.18 zen kernel, gcc 9.3.0, profile 17.1 (no-pie & modified) amd64-no-multilib, eudev, openrc, openbox, palemoon


Last edited by Anon-E-moose on Sun Jul 14, 2019 1:02 pm; edited 2 times in total
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3771
Location: Hamburg

PostPosted: Sun Jul 14, 2019 12:59 pm    Post subject: Re: unable to boot headless Reply with quote

Palme wrote:
does someone uses the same config and can give a hint
I bet the kernel doesn't come up or at least can't mount the file system - that's why rc.log isn't written. Request a remote console to see the fault (eg. for Hetzner it is called "LARA").
FWUW
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 93

PostPosted: Sun Jul 14, 2019 2:00 pm    Post subject: Reply with quote

Hi I appreciate your answer!
yes it's a remote server,
this is my kernel config

http://dpaste.com/0SEFRT1
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4541
Location: Dallas area

PostPosted: Sun Jul 14, 2019 2:08 pm    Post subject: Reply with quote

what boot manager are you using? grub or something else

Without knowing if you're even getting to the point of booting, the config file is meaningless.
_________________
PRIME x570-pro, 3700x, RX 550 & 560
Acer E5-575 (laptop), i3-7100u - i965
---both---
5.5.18 zen kernel, gcc 9.3.0, profile 17.1 (no-pie & modified) amd64-no-multilib, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45451
Location: 56N 3W

PostPosted: Sun Jul 14, 2019 2:10 pm    Post subject: Reply with quote

Palme,

Where is the server?
Different providers will give you different virtual consoles.
The methods are much the same, they run a network loaded install that runs your own install in a KVM then they give you access to the KVM console in a web browser.

There is a trap for the unwary here. My real hardware was Intel based. The hosting provider brought it up in an AMD KVM, so it didn't get very far because of illegal instruction exceptions.

Your initrd init script can bo improved. This will be good regardless if its a local or remote install.

Code:
 rescue_shell() {
    echo "$@"
    echo "Something went wrong. Dropping you to a shell."
# have time to read the message
    /bin/sleep 20
    /bin/busybox --install -s
    exec /bin/sh
}

The echo "$@" allows you to pass a message to rescue_shell(), so you can explain where it failed. e.g.
Code:
 /sbin/vgchange -ay static || rescue_shell "lvchange static failed"


Your init scrip does not set PATH, so it will be empty. That means that
Code:
mount -t proc none /proc
is unlikely to work as mount would need to be called as /bin/mount.
Likewise lvm will be /sbin/lvm.

I learned all this the hard way. My Hetzner server would not come up. Eventually, I gave up trying to get in to start remotely and installed its initrd locally, just for debugging.
I can share its initrd init script.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 93

PostPosted: Sun Jul 14, 2019 2:44 pm    Post subject: Reply with quote

@Anon-E-moose im using Grub

NeddySeagoon wrote:
Palme,

Where is the server?


Hetzner

i really appreciate if you can share the initrd init script.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3771
Location: Hamburg

PostPosted: Sun Jul 14, 2019 2:49 pm    Post subject: Reply with quote

For a "x86_64 Intel(R) Xeon(R) CPU E5-1650 v3" I do use (small / is ext4, big /data is btrfs at a lvm2): http://dpaste.com/17YTKZ0
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45451
Location: 56N 3W

PostPosted: Sun Jul 14, 2019 2:56 pm    Post subject: Reply with quote

Palme,

My initrd init script
Its grown a bit like topsy.

I have everything except /boot is in LVM on mdadm raid1. /boot is on raid1, (no LVM)
I still use grub-static to boot. It works and I see no reason to upgrade something that is effectively firmware.

I have to have fsck in the initrd as /usr and /var are separate logical volumes, so need to be checked before being mounted by the initrd.
You may not need the mdadm bits, nor the fsck parts.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3771
Location: Hamburg

PostPosted: Sun Jul 14, 2019 4:13 pm    Post subject: Reply with quote

BTW: [url=https://wiki.hetzner.de/index.php/System_Monitor_(SysMon)] Hetzner Monitoring [/url]

Last edited by toralf on Mon Jul 15, 2019 9:40 am; edited 3 times in total
Back to top
View user's profile Send private message
Banana
Guru
Guru


Joined: 21 May 2004
Posts: 450
Location: Germany

PostPosted: Mon Jul 15, 2019 5:53 am    Post subject: Reply with quote

You need the complete URL
Quote:
https://wiki.hetzner.de/index.php/System_Monitor_(SysMon)

_________________
My personal space
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 93

PostPosted: Mon Jul 15, 2019 8:15 am    Post subject: Reply with quote

Hi

Here is the output of lspci -k and dmesg maybe it can be helpful to locate the problem

dmesg
http://dpaste.com/147CBC9

lspci -k

Code:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3 Processor DRAM Controller (rev 06)
   Subsystem: Micro-Star International Co., Ltd. [MSI] Xeon E3-1200 v3 Processor DRAM Controller
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3 Processor Integrated Graphics Controller (rev 06)
   Subsystem: Micro-Star International Co., Ltd. [MSI] Xeon E3-1200 v3 Processor Integrated Graphics Controller
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
   Subsystem: Micro-Star International Co., Ltd. [MSI] 8 Series/C220 Series Chipset Family USB xHCI
   Kernel driver in use: xhci_hcd
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
   Subsystem: Micro-Star International Co., Ltd. [MSI] 8 Series/C220 Series Chipset Family MEI Controller
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
   Subsystem: Micro-Star International Co., Ltd. [MSI] 8 Series/C220 Series Chipset Family USB EHCI
   Kernel driver in use: ehci-pci
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
   Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
   Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
   Subsystem: Micro-Star International Co., Ltd. [MSI] 8 Series/C220 Series Chipset Family USB EHCI
   Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation B85 Express LPC Controller (rev 05)
   Subsystem: Micro-Star International Co., Ltd. [MSI] B85 Express LPC Controller
   Kernel driver in use: lpc_ich
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
   Subsystem: Micro-Star International Co., Ltd. [MSI] 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
   Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
   Subsystem: Micro-Star International Co., Ltd. [MSI] 8 Series/C220 Series Chipset Family SMBus Controller
   Kernel driver in use: i801_smbus
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
   Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
   Kernel driver in use: r8169
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45451
Location: 56N 3W

PostPosted: Mon Jul 15, 2019 1:20 pm    Post subject: Reply with quote

Palme,

You need to boot your install and watch the console.
We need the error messages that will appear there.
You may want to extend the grub auto boot timeout, so you don't miss anything.

You can have my entire initrd if you want but you will need to unpick it and change the init script.
My initrd is kernel agnostic. Its user space tools only, so I don't need to rebuild it every kernel build.

Your kernel will need to be built with everything needed to boot built in.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3771
Location: Hamburg

PostPosted: Mon Jul 15, 2019 2:22 pm    Post subject: Reply with quote

/me bets that the initrd can't mount / due to a missing lvm2 feature (within initrd)
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 93

PostPosted: Tue Jul 16, 2019 12:45 pm    Post subject: Reply with quote

Hi

when I start the hetzner kvm console and select local boot (l) the following appears very briefly

so i made a video and capture a screenshot

https://www.imagebanana.com/s/1484/RC5XpDwG.html
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4541
Location: Dallas area

PostPosted: Tue Jul 16, 2019 1:00 pm    Post subject: Reply with quote

Reboot and select proper boot device pretty much says it all.
_________________
PRIME x570-pro, 3700x, RX 550 & 560
Acer E5-575 (laptop), i3-7100u - i965
---both---
5.5.18 zen kernel, gcc 9.3.0, profile 17.1 (no-pie & modified) amd64-no-multilib, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 93

PostPosted: Tue Jul 16, 2019 2:28 pm    Post subject: Reply with quote

I have no idea why. I put my HDD in first place in the boot options.

All partitions show up fine in gparted too :?: :!:
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3771
Location: Hamburg

PostPosted: Tue Jul 16, 2019 5:39 pm    Post subject: Reply with quote

Palme wrote:
I have no idea why. I put my HDD in first place in the boot options.

All partitions show up fine in gparted too :?: :!:
Maybe your grub setup wasn't successful?
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 93

PostPosted: Tue Jul 16, 2019 5:54 pm    Post subject: Reply with quote

cat /boot/grub/grub.cfg
Code:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod part_gpt
insmod lvm
insmod ext2
set root='lvmid/CRfjr0-KT9v-aZ12-ErKf-deMp-Pk8A-HffapF/wfQcbs-Brw0-y3VG-c656-tRcp-r9Ep-Fd4DfW'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvmid/CRfjr0-KT9v-aZ12-ErKf-deMp-Pk8A-HffapF/wfQcbs-Brw0-y3VG-c656-tRcp-r9Ep-Fd4DfW'  44e680d0-8f01-4c82-b03c-64c08be6c754
else
  search --no-floppy --fs-uuid --set=root 44e680d0-8f01-4c82-b03c-64c08be6c754
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=de_DE
  insmod gettext
fi
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-44e680d0-8f01-4c82-b03c-64c08be6c754' {
        load_video
        if [ "x$grub_platform" = xefi ]; then
                set gfxpayload=keep
        fi
        insmod gzio
        insmod part_gpt
        insmod fat
        set root='hd0,gpt1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  6BBE-D8E9
        else
          search --no-floppy --fs-uuid --set=root 6BBE-D8E9
        fi
        echo    'Linux 4.19.57 wird geladen …'
        linux   /vmlinuz-4.19.57 root=/dev/mapper/lvm-root ro
        echo    'Initiale Ramdisk wird geladen …'
        initrd  /initrd-4.19.57.gz
}
submenu 'Erweiterte Optionen für Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-44e680d0-8f01-4c82-b03c-64c08be6c754' {
        menuentry 'Gentoo GNU/Linux, mit Linux 4.19.57' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.57-advanced-44e680d0-8f01-4c82-b03c-64c08be6c754' {
                load_video
                if [ "x$grub_platform" = xefi ]; then
                        set gfxpayload=keep
                fi
                insmod gzio
                insmod part_gpt
                insmod fat
                set root='hd0,gpt1'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  6BBE-D8E9
                else
                  search --no-floppy --fs-uuid --set=root 6BBE-D8E9
                fi
                echo    'Linux 4.19.57 wird geladen …'
                linux   /vmlinuz-4.19.57 root=/dev/mapper/lvm-root ro
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd-4.19.57.gz
        }
        menuentry 'Gentoo GNU/Linux, mit Linux 4.19.57 (Wiederherstellungsmodus)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.57-recovery-44e680d0-8f01-4c82-b03c-64c08be6c754' {
                load_video
                if [ "x$grub_platform" = xefi ]; then
                        set gfxpayload=keep
                fi
                insmod gzio
                insmod part_gpt
                insmod fat
                set root='hd0,gpt1'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  6BBE-D8E9
                else
                  search --no-floppy --fs-uuid --set=root 6BBE-D8E9
                fi
                echo    'Linux 4.19.57 wird geladen …'
                linux   /vmlinuz-4.19.57 root=/dev/mapper/lvm-root ro single
                echo    'Initiale Ramdisk wird geladen …'
                initrd  /initrd-4.19.57.gz
        }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3771
Location: Hamburg

PostPosted: Tue Jul 16, 2019 6:01 pm    Post subject: Reply with quote

I meant
Code:
grub-install
- that was run fine, right?
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 93

PostPosted: Tue Jul 16, 2019 6:24 pm    Post subject: Reply with quote

(almost) everything was fine, no error, no warnings

ony efivars was not found
so to be sure i checked

Code:
mount | grep efivars

Yields nothing.
Code:
mount -t efivars efivars /sys/firmware/efi/efivars


Yields
Code:
 error mount: mount point /sys/firmware/efi/efivars does not exist


Code:

dmidecode -t0 | grep -Ei "Bios boot|UEFI"
                BIOS boot specification is supported
                UEFI is supported


Last edited by Palme on Tue Jul 16, 2019 6:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45451
Location: 56N 3W

PostPosted: Tue Jul 16, 2019 6:30 pm    Post subject: Reply with quote

Palme,

From your screenshot, the bootloader was not found.
Are you expecting to use BIOS or UEFI mode?
If BIOS mode, do you have the bootable flag set in the partition table?

Are you mixing BIOS mode booting with a GPT disk label?
Thats hard and getting harder, so avoid that if you can.
It can be made to work on some hardware.

-- Edit --

Your post above shows that your system is booted in BIOS mode.
You must boot in UEFI mode to complete a UEFI mode install.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4541
Location: Dallas area

PostPosted: Tue Jul 16, 2019 6:38 pm    Post subject: Reply with quote

with the "boot" disk available what does "blkid" return?

what command did you use to install grub with (exact command line used)
_________________
PRIME x570-pro, 3700x, RX 550 & 560
Acer E5-575 (laptop), i3-7100u - i965
---both---
5.5.18 zen kernel, gcc 9.3.0, profile 17.1 (no-pie & modified) amd64-no-multilib, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 93

PostPosted: Tue Jul 16, 2019 6:52 pm    Post subject: Reply with quote

blkid
Code:


/dev/loop0: UUID="40c4ea95-0ecc-4c51-9f3e-e49d8f62f160" TYPE="ext2"
/dev/sda1: LABEL_FATBOOT="boot" LABEL="boot" UUID="6BBE-D8E9" TYPE="vfat" PARTLABEL="boot" PARTUUID="427576f8-64d3-4fb5-bd41-cbf17ea62955"
/dev/sda2: UUID="wy8LNI-eHJp-gUJZ-WftB-zVKy-OAbp-VWMHX3" TYPE="LVM2_member" PARTLABEL="lvm" PARTUUID="90bea4ea-e36f-4088-8fc9-0ee1082d93ac"
/dev/sdb1: UUID="imei8m-5Ndc-o3pm-WJAR-lpxx-EpdG-1WqPv8" TYPE="LVM2_member" PARTUUID="900c79b7-2359-439d-80b7-4248070e8b3b"
/dev/mapper/lvm-root: LABEL="root" UUID="44e680d0-8f01-4c82-b03c-64c08be6c754" TYPE="ext4"


install grub

Code:
grub-install --target=x86_64-efi --efi-directory=/boot --removable
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7602
Location: Goose Creek SC

PostPosted: Tue Jul 16, 2019 10:59 pm    Post subject: Reply with quote

moved
_________________
Defund the FCC.


Last edited by DONAHUE on Tue Jul 16, 2019 11:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum