Hi, ....for what reason ever, my attempts to install a bootloader for my new system fails.
Current setup: Partioning: GPT fdisk (gdisk) version 1.0.5 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/sdb: 5860533168 sectors, 2.7 TiB Model: EZRZ-00GXCB0 Sector size (logical/physical): 512/4096 bytes Disk identifier (GUID): 45EED4D4-B137-452E-88B7-BA2EF068056B Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 5860533134 Partitions will be aligned on 2048-sector boundaries Total free space is 4973 sectors (2.4 MiB) Number Start (sector) End (sector) Size Code Name File system 1 2048 6143 2.0 MiB EF02 GRUB 2 6144 268287 128.0 MiB EF00 boot fat32 3 268288 1316863 512.0 MiB 8300 swap linux-swap(v1) 4 1316864 525604863 250.0 GiB 8300 root ext4 5 525604864 1049892863 250.0 GiB 8300 home ext4 6 1049892864 1574180863 250.0 GiB 8300 pool00 ext4 7 1574180864 2098468863 250.0 GiB 8300 pool01 ext4 8 2098468864 2622756863 250.0 GiB 8300 pool02 ext4 9 2622756864 3147044863 250.0 GiB 8300 pool03 ext4 10 3147044864 3671332863 250.0 GiB 8300 pool04 ext4 11 3671332864 4195620863 250.0 GiB 8300 pool05 ext4 12 4195620864 4719908863 250.0 GiB 8300 pool06 ext4 13 4719908864 5244196863 250.0 GiB 8300 pool07 ext4 14 5244196864 5860530175 293.9 GiB 8300 pool08 ext4 (filesystem types added by me by hand, taken from the output of parted -l ) Mounting the system under /mnt/gentoo and chrooting into it and after submitting a 'mount -a' I get: (list is sorted alphabetically/manually for better reading) /dev/sdb4 on / type ext4 (rw,relatime) /dev/sdb2 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) /dev/sdb10 on /home/user/data/pool04 type ext4 (rw,noatime) /dev/sdb11 on /home/user/data/pool05 type ext4 (rw,noatime) /dev/sdb12 on /home/user/data/pool06 type ext4 (rw,noatime) /dev/sdb13 on /home/user/data/pool07 type ext4 (rw,noatime) /dev/sdb14 on /home/user/data/pool08 type ext4 (rw,noatime) /dev/sdb5 on /home type ext4 (rw,noatime) /dev/sdb6 on /home/user/data/pool00 type ext4 (rw,noatime) /dev/sdb7 on /home/user/data/pool01 type ext4 (rw,noatime) /dev/sdb8 on /home/user/data/pool02 type ext4 (rw,noatime) /dev/sdb9 on /home/user/data/pool03 type ext4 (rw,noatime) /proc on /proc type proc (rw,relatime) blkio on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755) configfs on /config type configfs (rw,relatime) configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu) cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct) cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) devices on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) devtmpfs on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=4104014,mode=755) freezer on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) none on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/rc/sh/cgroup-release-agent.sh,name=openrc) perf_event on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) pids on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) rdma on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime) sysfs on /sys type sysfs (rw,relatime) the contents of /boot is: . ./.keep ./grub ./grub/themes/... ./grub/x86_64-efi/... ./grub/grubenv ./grub/fonts ./grub/fonts/unicode.pf2 ./grub/grub.cfg ./efi (mount point) ./efi/vmlinuz-5051500-64-RT ./efi/EFI ./efi/EFI/gentoo ./efi/EFI/gentoo/grubx64.efi ./vmlinuz-5051500-64-RT This was created via grub-install --efi-directory=/boot/efi grub-mkconfig -o /boot/grub/grub.cfg via booting an live-gentoo-image and chrooting into the new system since I needed a system which was UEFI-booted (my old system uses legacy boot). The resulting grub.cfg is attached to this email. When I boot this setup, grub starts and displays: booting Linux 5051500-64-RT ... and freezes. I have to powercycle the whole thing. The kernel is UEFI- and GPT-aware. I also tried refind, but this guy gets totally confused, and extracts informations from the running kernel (live-cd), the root fs from that kernel and bits and pieces from the system, which it should start actuallu. I have tried a lot things I found online...nothing works so far. The best result is getting grub, which freeses my PC... :( How can I get this thing booted successfully...I don't see the forest for the trees anymore... Stay healthy! Cheers! (frustrated) Meino
# # 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 ext2 set root='hd2,gpt4' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt4 --hint-efi=hd2,gpt4 --hint-baremetal=ahci2,gpt4 f75e2607-4c81-4225-b237-6d62f8f8332a else search --no-floppy --fs-uuid --set=root f75e2607-4c81-4225-b237-6d62f8f8332a fi font="/usr/share/grub/unicode.pf2" fi if loadfont $font ; then set gfxmode=auto load_video insmod gfxterm 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-f75e2607-4c81-4225-b237-6d62f8f8332a' { load_video insmod gzio insmod part_gpt insmod ext2 set root='hd2,gpt4' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt4 --hint-efi=hd2,gpt4 --hint-baremetal=ahci2,gpt4 f75e2607-4c81-4225-b237-6d62f8f8332a else search --no-floppy --fs-uuid --set=root f75e2607-4c81-4225-b237-6d62f8f8332a fi echo 'Loading Linux 5051500-64-RT ...' linux /boot/vmlinuz-5051500-64-RT root=/dev/sdc4 ro } submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-f75e2607-4c81-4225-b237-6d62f8f8332a' { menuentry 'Gentoo GNU/Linux, with Linux 5051500-64-RT' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5051500-64-RT-advanced-f75e2607-4c81-4225-b237-6d62f8f8332a' { load_video insmod gzio insmod part_gpt insmod ext2 set root='hd2,gpt4' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt4 --hint-efi=hd2,gpt4 --hint-baremetal=ahci2,gpt4 f75e2607-4c81-4225-b237-6d62f8f8332a else search --no-floppy --fs-uuid --set=root f75e2607-4c81-4225-b237-6d62f8f8332a fi echo 'Loading Linux 5051500-64-RT ...' linux /boot/vmlinuz-5051500-64-RT root=/dev/sdc4 ro } menuentry 'Gentoo GNU/Linux, with Linux 5051500-64-RT (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5051500-64-RT-recovery-f75e2607-4c81-4225-b237-6d62f8f8332a' { load_video insmod gzio insmod part_gpt insmod ext2 set root='hd2,gpt4' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt4 --hint-efi=hd2,gpt4 --hint-baremetal=ahci2,gpt4 f75e2607-4c81-4225-b237-6d62f8f8332a else search --no-floppy --fs-uuid --set=root f75e2607-4c81-4225-b237-6d62f8f8332a fi echo 'Loading Linux 5051500-64-RT ...' linux /boot/vmlinuz-5051500-64-RT root=/dev/sdc4 ro single } } ### 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 ###