I am trying to make my mac-mini dual-boot into Cent-os 7 which not touching my OSX (mavericks atm) install.
I shrank the OSX install successfully, and installed refind-0.10.0-1 using the OSX install script.
When the system boots I see refind and it can boot OSX just fine.
I then tried installing Centos 7 from the DVS, but it failed complaining that grub's core.img would not fit anywhere.
So I burnd a gparted-live DVD, and used that to move the 3 OSX partions (EFI, Customer, Recovery) by 1MB.
This works fine, and I can still boot into OSX using refind..
Then I managed to install Centos7 just fine, but it refuses to boot. Refind shows up and
has OSX, OSX recover, and a Linux icon (and another X-DVD when teh superdrive is attached)
But under the Linux icon there is no kernel version mentioned, and when I press FN-F2 twice I
get am empty booty commandline..
when I try to boot I get
no bootable device found - insert one and press any key
so I boot into the Centos recovery from the DVD
and I see this
# chroot /mnt/sysimage
# $ cat sda.fdisk
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt
# Start End Size Type Name
1 4096 413695 200M EFI System EFI system partition
2 413696 973682687 464.1G Apple HFS/HFS+ Customer
3 973682688 974952447 620M Apple boot Recovery HD
4 2048 4095 1M BIOS boot parti
5 974952448 975976447 500M Microsoft basic
6 975976448 1953523711 466.1G Linux LVM
# ls -l /boot
/boot:
total 76053
-rw-r--r--. 1 root root 123838 Mar 6 2015 config-3.10.0-229.el7.x86_64
drwxr-xr-x. 2 root root 1024 Nov 19 14:33 efi
drwxr-xr-x. 2 root root 1024 Nov 19 13:52 extlinux
drwxr-xr-x. 2 root root 1024 Nov 19 13:56 grub
drwxr-xr-x. 6 root root 1024 Nov 19 14:14 grub2
-rw-r--r--. 1 root root 43396663 Nov 19 14:11 initramfs-0-rescue-370a7fa47db64872babc09d1d2507463.img
-rw-r--r--. 1 root root 20553545 Nov 19 14:14 initramfs-3.10.0-229.el7.x86_64.img
-rw-r--r--. 1 root root 589844 Nov 19 14:11 initrd-plymouth.img
drwx------. 2 root root 12288 Nov 19 13:37 lost+found
-rw-r--r--. 1 root root 240039 Mar 6 2015 symvers-3.10.0-229.el7.x86_64.gz
-rw-------. 1 root root 2881257 Mar 6 2015 System.map-3.10.0-229.el7.x86_64
-rwxr-xr-x. 1 root root 5029136 Nov 19 14:11 vmlinuz-0-rescue-370a7fa47db64872babc09d1d2507463
-rwxr-xr-x. 1 root root 5029136 Mar 6 2015 vmlinuz-3.10.0-229.el7.x86_64
and here is my EFI partition:
vadeMACumPro2-2:tmp mathias$ cat efi.ls
/mnt/efi:
total 1
drwxr-xr-x. 5 root root 512 Nov 19 12:47 EFI
/mnt/efi/EFI:
total 3
drwxr-xr-x. 4 root root 512 May 27 2013 APPLE
drwxr-xr-x. 6 root root 1536 Nov 19 14:33 BOOT
drwxr-xr-x. 2 root root 512 Nov 16 17:07 tools
/mnt/efi/EFI/APPLE:
total 1
drwxr-xr-x. 2 root root 512 May 27 2013 EXTENSIONS
drwxr-xr-x. 2 root root 512 Jul 23 2013 FIRMWARE
/mnt/efi/EFI/APPLE/EXTENSIONS:
total 15361
-rwxr-xr-x. 1 root root 15729264 Nov 20 2015 Firmware.scap
/mnt/efi/EFI/APPLE/FIRMWARE:
total 8321
-rwxr-xr-x. 1 root root 8520304 Nov 16 14:07 MM61_0106_B0A_LOCKED.scap
/mnt/efi/EFI/BOOT:
total 455
-rwxr-xr-x. 1 root root 176224 Nov 20 2015 bootia32.efi
-rwxr-xr-x. 1 root root 219176 Nov 20 2015 bootx64.efi
drwxr-xr-x. 2 root root 2048 Nov 19 21:08 drivers_x64
drwxr-xr-x. 3 root root 10240 Nov 20 2015 icons
drwxr-xr-x. 3 root root 5120 Nov 19 14:33 icons-backup
drwxr-xr-x. 2 root root 2048 Nov 16 17:07 keys
-rwxr-xr-x. 1 root root 24835 Nov 16 17:07 refind.conf
-rwxr-xr-x. 1 root root 24835 Nov 20 2015 refind.conf-sample
/mnt/efi/EFI/BOOT/drivers_x64:
total 327
-rwxr-xr-x. 1 root root 56136 Nov 8 16:55 btrfs_x64.efi
-rwxr-xr-x. 1 root root 40072 Nov 8 16:55 ext2_x64.efi
-rwxr-xr-x. 1 root root 40456 Nov 20 2015 ext4_x64.efi
-rwxr-xr-x. 1 root root 43688 Nov 8 16:55 hfs_x64.efi
-rwxr-xr-x. 1 root root 39496 Nov 8 16:55 iso9660_x64.efi
-rwxr-xr-x. 1 root root 17992 Sep 17 2012 LICENSE_GPL.txt
-rwxr-xr-x. 1 root root 2094 Jul 1 2014 LICENSE.txt
-rwxr-xr-x. 1 root root 48136 Nov 8 16:55 ntfs_x64.efi
-rwxr-xr-x. 1 root root 43240 Nov 8 16:55 reiserfs_x64.efi
/mnt/efi/EFI/BOOT/icons:
total 430
-rwxr-xr-x. 1 root root 1392 Nov 20 2015 arrow_left.png
-rwxr-xr-x. 1 root root 1346 Nov 20 2015 arrow_right.png
-rwxr-xr-x. 1 root root 9077 Nov 20 2015 boot_linux.png
-rwxr-xr-x. 1 root root 3766 Nov 20 2015 boot_win.png
-rwxr-xr-x. 1 root root 2479 Nov 20 2015 func_about.png
-rwxr-xr-x. 1 root root 1761 Nov 20 2015 func_csr_rotate.png
-rwxr-xr-x. 1 root root 2208 Nov 20 2015 func_exit.png
-rwxr-xr-x. 1 root root 3772 Nov 20 2015 func_firmware.png
-rwxr-xr-x. 1 root root 2602 Nov 20 2015 func_reset.png
-rwxr-xr-x. 1 root root 2760 Nov 20 2015 func_shutdown.png
drwxr-xr-x. 3 root root 1024 Nov 20 2015 licenses
-rwxr-xr-x. 1 root root 5555 Nov 20 2015 os_arch.png
-rwxr-xr-x. 1 root root 15008 Nov 20 2015 os_centos.png
-rwxr-xr-x. 1 root root 13776 Nov 20 2015 os_chakra.png
-rwxr-xr-x. 1 root root 10391 Nov 20 2015 os_chrome.png
-rwxr-xr-x. 1 root root 7229 Nov 20 2015 os_clover.png
-rwxr-xr-x. 1 root root 8480 Nov 20 2015 os_crunchbang.png
-rwxr-xr-x. 1 root root 9377 Nov 20 2015 os_debian.png
-rwxr-xr-x. 1 root root 16482 Nov 20 2015 os_elementary.png
-rwxr-xr-x. 1 root root 8763 Nov 20 2015 os_fedora.png
-rwxr-xr-x. 1 root root 5980 Nov 20 2015 os_freebsd.png
-rwxr-xr-x. 1 root root 11658 Nov 20 2015 os_frugalware.png
-rwxr-xr-x. 1 root root 7549 Nov 20 2015 os_gentoo.png
-rwxr-xr-x. 1 root root 7668 Nov 20 2015 os_gummiboot.png
-rwxr-xr-x. 1 root root 5830 Nov 20 2015 os_haiku.png
-rwxr-xr-x. 1 root root 14399 Nov 20 2015 os_hwtest.png
-rwxr-xr-x. 1 root root 12873 Nov 20 2015 os_kubuntu.png
-rwxr-xr-x. 1 root root 5620 Nov 20 2015 os_legacy.png
-rwxr-xr-x. 1 root root 6246 Nov 20 2015 os_linuxmint.png
-rwxr-xr-x. 1 root root 10097 Nov 20 2015 os_linux.png
-rwxr-xr-x. 1 root root 11232 Nov 20 2015 os_lubuntu.png
-rwxr-xr-x. 1 root root 10574 Nov 20 2015 os_mac.png
-rwxr-xr-x. 1 root root 7783 Nov 20 2015 os_mageia.png
-rwxr-xr-x. 1 root root 12854 Nov 20 2015 os_mandriva.png
-rwxr-xr-x. 1 root root 12379 Nov 20 2015 os_netbsd.png
-rwxr-xr-x. 1 root root 14836 Nov 20 2015 os_network.png
-rwxr-xr-x. 1 root root 6572 Nov 20 2015 os_opensuse.png
-rwxr-xr-x. 1 root root 10041 Nov 20 2015 os_redhat.png
-rwxr-xr-x. 1 root root 7231 Nov 20 2015 os_refind.png
-rwxr-xr-x. 1 root root 8484 Nov 20 2015 os_refit.png
-rwxr-xr-x. 1 root root 9202 Nov 20 2015 os_slackware.png
-rwxr-xr-x. 1 root root 6572 Nov 20 2015 os_suse.png
-rwxr-xr-x. 1 root root 12270 Nov 20 2015 os_ubuntu.png
-rwxr-xr-x. 1 root root 11686 Nov 20 2015 os_unknown.png
-rwxr-xr-x. 1 root root 3872 Nov 20 2015 os_win8.png
-rwxr-xr-x. 1 root root 6565 Nov 20 2015 os_win.png
-rwxr-xr-x. 1 root root 10547 Nov 20 2015 os_xubuntu.png
-rwxr-xr-x. 1 root root 5170 Nov 20 2015 README
-rwxr-xr-x. 1 root root 4507 Nov 20 2015 tool_apple_rescue.png
-rwxr-xr-x. 1 root root 3018 Nov 20 2015 tool_memtest.png
-rwxr-xr-x. 1 root root 1974 Nov 20 2015 tool_mok_tool.png
-rwxr-xr-x. 1 root root 3785 Nov 20 2015 tool_netboot.png
-rwxr-xr-x. 1 root root 3446 Nov 20 2015 tool_part.png
-rwxr-xr-x. 1 root root 13817 Nov 20 2015 tool_rescue.png
-rwxr-xr-x. 1 root root 2010 Nov 20 2015 tool_shell.png
-rwxr-xr-x. 1 root root 4313 Nov 20 2015 tool_windows_rescue.png
-rwxr-xr-x. 1 root root 213 Nov 20 2015 transparent.png
-rwxr-xr-x. 1 root root 1344 Nov 20 2015 vol_external.png
-rwxr-xr-x. 1 root root 1418 Nov 20 2015 vol_internal.png
-rwxr-xr-x. 1 root root 1892 Nov 20 2015 vol_net.png
-rwxr-xr-x. 1 root root 2423 Nov 20 2015 vol_optical.png
/mnt/efi/EFI/BOOT/icons/licenses:
total 50
drwxr-xr-x. 2 root root 1024 Nov 20 2015 Creative Commons Legal Code_files
-rwxr-xr-x. 1 root root 23484 Nov 20 2015 Creative Commons Legal Code.html
-rwxr-xr-x. 1 root root 18092 Nov 20 2015 gpl-2.0.txt
-rwxr-xr-x. 1 root root 7651 Nov 20 2015 lgpl-3.0.txt
/mnt/efi/EFI/BOOT/icons/licenses/Creative Commons Legal Code_files:
total 52
-rwxr-xr-x. 1 root root 34054 Nov 20 2015 cc-logo.jpg
-rwxr-xr-x. 1 root root 13483 Nov 20 2015 deed3.css
-rwxr-xr-x. 1 root root 2315 Nov 20 2015 deed3-print.css
-rwxr-xr-x. 1 root root 1208 Nov 20 2015 errata.js
-rwxr-xr-x. 1 root root 454 Nov 20 2015 unported.png
/mnt/efi/EFI/BOOT/icons-backup:
total 430
-rwxr-xr-x. 1 root root 1392 Nov 19 14:33 arrow_left.png
-rwxr-xr-x. 1 root root 1346 Nov 19 14:33 arrow_right.png
-rwxr-xr-x. 1 root root 9077 Nov 19 14:33 boot_linux.png
-rwxr-xr-x. 1 root root 3766 Nov 19 14:33 boot_win.png
-rwxr-xr-x. 1 root root 2479 Nov 19 14:33 func_about.png
-rwxr-xr-x. 1 root root 1761 Nov 19 14:33 func_csr_rotate.png
-rwxr-xr-x. 1 root root 2208 Nov 19 14:33 func_exit.png
-rwxr-xr-x. 1 root root 3772 Nov 19 14:33 func_firmware.png
-rwxr-xr-x. 1 root root 2602 Nov 19 14:33 func_reset.png
-rwxr-xr-x. 1 root root 2760 Nov 19 14:33 func_shutdown.png
drwxr-xr-x. 3 root root 512 Nov 19 14:33 licenses
-rwxr-xr-x. 1 root root 5555 Nov 19 14:33 os_arch.png
-rwxr-xr-x. 1 root root 15008 Nov 19 14:33 os_centos.png
-rwxr-xr-x. 1 root root 13776 Nov 19 14:33 os_chakra.png
-rwxr-xr-x. 1 root root 10391 Nov 19 14:33 os_chrome.png
-rwxr-xr-x. 1 root root 7229 Nov 19 14:33 os_clover.png
-rwxr-xr-x. 1 root root 8480 Nov 19 14:33 os_crunchbang.png
-rwxr-xr-x. 1 root root 9377 Nov 19 14:33 os_debian.png
-rwxr-xr-x. 1 root root 16482 Nov 19 14:33 os_elementary.png
-rwxr-xr-x. 1 root root 8763 Nov 19 14:33 os_fedora.png
-rwxr-xr-x. 1 root root 5980 Nov 19 14:33 os_freebsd.png
-rwxr-xr-x. 1 root root 11658 Nov 19 14:33 os_frugalware.png
-rwxr-xr-x. 1 root root 7549 Nov 19 14:33 os_gentoo.png
-rwxr-xr-x. 1 root root 7668 Nov 19 14:33 os_gummiboot.png
-rwxr-xr-x. 1 root root 5830 Nov 19 14:33 os_haiku.png
-rwxr-xr-x. 1 root root 14399 Nov 19 14:33 os_hwtest.png
-rwxr-xr-x. 1 root root 12873 Nov 19 14:33 os_kubuntu.png
-rwxr-xr-x. 1 root root 5620 Nov 19 14:33 os_legacy.png
-rwxr-xr-x. 1 root root 6246 Nov 19 14:33 os_linuxmint.png
-rwxr-xr-x. 1 root root 10097 Nov 19 14:33 os_linux.png
-rwxr-xr-x. 1 root root 11232 Nov 19 14:33 os_lubuntu.png
-rwxr-xr-x. 1 root root 10574 Nov 19 14:33 os_mac.png
-rwxr-xr-x. 1 root root 7783 Nov 19 14:33 os_mageia.png
-rwxr-xr-x. 1 root root 12854 Nov 19 14:33 os_mandriva.png
-rwxr-xr-x. 1 root root 12379 Nov 19 14:33 os_netbsd.png
-rwxr-xr-x. 1 root root 14836 Nov 19 14:33 os_network.png
-rwxr-xr-x. 1 root root 6572 Nov 19 14:33 os_opensuse.png
-rwxr-xr-x. 1 root root 10041 Nov 19 14:33 os_redhat.png
-rwxr-xr-x. 1 root root 7231 Nov 19 14:33 os_refind.png
-rwxr-xr-x. 1 root root 8484 Nov 19 14:33 os_refit.png
-rwxr-xr-x. 1 root root 9202 Nov 19 14:33 os_slackware.png
-rwxr-xr-x. 1 root root 6572 Nov 19 14:33 os_suse.png
-rwxr-xr-x. 1 root root 12270 Nov 19 14:33 os_ubuntu.png
-rwxr-xr-x. 1 root root 11686 Nov 19 14:33 os_unknown.png
-rwxr-xr-x. 1 root root 3872 Nov 19 14:33 os_win8.png
-rwxr-xr-x. 1 root root 6565 Nov 19 14:33 os_win.png
-rwxr-xr-x. 1 root root 10547 Nov 19 14:33 os_xubuntu.png
-rwxr-xr-x. 1 root root 5170 Nov 19 14:33 README
-rwxr-xr-x. 1 root root 4507 Nov 19 14:33 tool_apple_rescue.png
-rwxr-xr-x. 1 root root 3018 Nov 19 14:33 tool_memtest.png
-rwxr-xr-x. 1 root root 1974 Nov 19 14:33 tool_mok_tool.png
-rwxr-xr-x. 1 root root 3785 Nov 19 14:33 tool_netboot.png
-rwxr-xr-x. 1 root root 3446 Nov 19 14:33 tool_part.png
-rwxr-xr-x. 1 root root 13817 Nov 19 14:33 tool_rescue.png
-rwxr-xr-x. 1 root root 2010 Nov 19 14:33 tool_shell.png
-rwxr-xr-x. 1 root root 4313 Nov 19 14:33 tool_windows_rescue.png
-rwxr-xr-x. 1 root root 213 Nov 19 14:33 transparent.png
-rwxr-xr-x. 1 root root 1344 Nov 19 14:33 vol_external.png
-rwxr-xr-x. 1 root root 1418 Nov 19 14:33 vol_internal.png
-rwxr-xr-x. 1 root root 1892 Nov 19 14:33 vol_net.png
-rwxr-xr-x. 1 root root 2423 Nov 19 14:33 vol_optical.png
/mnt/efi/EFI/BOOT/icons-backup/licenses:
total 49
drwxr-xr-x. 2 root root 512 Nov 19 14:33 Creative Commons Legal Code_files
-rwxr-xr-x. 1 root root 23484 Nov 19 14:33 Creative Commons Legal Code.html
-rwxr-xr-x. 1 root root 18092 Nov 19 14:33 gpl-2.0.txt
-rwxr-xr-x. 1 root root 7651 Nov 19 14:33 lgpl-3.0.txt
/mnt/efi/EFI/BOOT/icons-backup/licenses/Creative Commons Legal Code_files:
total 52
-rwxr-xr-x. 1 root root 34054 Nov 19 14:33 cc-logo.jpg
-rwxr-xr-x. 1 root root 13483 Nov 19 14:33 deed3.css
-rwxr-xr-x. 1 root root 2315 Nov 19 14:33 deed3-print.css
-rwxr-xr-x. 1 root root 1208 Nov 19 14:33 errata.js
-rwxr-xr-x. 1 root root 454 Nov 19 14:33 unported.png
/mnt/efi/EFI/BOOT/keys:
total 14
-rwxr-xr-x. 1 root root 767 Nov 20 2015 altlinux.cer
-rwxr-xr-x. 1 root root 1080 Nov 20 2015 canonical-uefi-ca.der
-rwxr-xr-x. 1 root root 876 Nov 20 2015 fedora-ca.cer
-rwxr-xr-x. 1 root root 1516 Nov 20 2015 microsoft-kekca-public.der
-rwxr-xr-x. 1 root root 1499 Nov 20 2015 microsoft-pca-public.der
-rwxr-xr-x. 1 root root 1556 Nov 20 2015 microsoft-uefica-public.der
-rwxr-xr-x. 1 root root 1656 Nov 20 2015 openSUSE-UEFI-CA-Certificate.cer
-rwxr-xr-x. 1 root root 831 Nov 20 2015 refind.cer
-rwxr-xr-x. 1 root root 1769 Nov 20 2015 SLES-UEFI-CA-Certificate.cer
/mnt/efi/EFI/tools:
total 47
-rwxr-xr-x. 1 root root 47752 Nov 20 2015 gptsync_x64.efi
$ cat mounts
/dev/mapper/centos_n2--vmhost-root on / type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
/dev/sda5 on /boot type ext4 (rw,relatime,seclabel,stripe=4,data=ordered)
devtmpfs on /dev type devtmpfs (rw,nosuid,seclabel,size=8151740k,nr_inodes=2037935,mode=755)
devpts on /dev/pts type devpts (rw,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,relatime,seclabel)
/dev/mapper/centos_n2--vmhost-home on /home type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
proc on /proc type proc (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755)
sysfs on /sys type sysfs (rw,relatime,seclabel)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
/dev/sda1 on /mnt/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
What else do I need to do to make this work?
any help is appreciated
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Try removing all the filesystem driver files from /mnt/efi/EFI/BOOT/drivers_x64except for the ext4_x64.efi file. You currently have all the filesystem drivers installed simultaneously, and that sometimes creates problems, particularly on Macs.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just noticed a detail in your description that makes me think the Linux entry you're trying to boot is for a BIOS-mode boot loader. That will work if and only if you've got a hybrid MBR, as described here. If you don't have a hybrid MBR, you could try creating one and see if that helps.
Alternatively, do you see any entries that refer to your kernel file(s) by name (as in vmlinuz-3.10.0-229.el7.x86_64)? Assuming you have a driver for the filesystem you used on /boot, you should see such an entry, and it should work; however, you may need to add a root=/dev/mapper/centos_n2--vmhost-root kernel option by hitting F2 or Insert twice to launch it, at least until you can run mkrlconf in Linux to build a /boot/refind_linux.conf file. If you don't see such an entry, it might be worth trying to diagnose why it's not showing up. To that end, what filesystem is in use on /boot? Btrfs might require extra options to work correctly. You could try installing an EFI shell to see if you can locate the kernel from it, which would help with such reconfiguration.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's strange. Are you seeing the same Linux icon as before, or has that changed to a CentOS or Fedora icon? When you boot to CentOS, is there a directory called /sys/firmware/efi? Also, could you post the output of cat /proc/cmdline? I'm just trying to understand what's going on, since renaming that volume should not have made any difference.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You're almost certainly booting in BIOS mode, not in EFI mode. I still don't know why your kernels aren't showing up as options in the rEFInd menu -- but if you're happy booting the way you are booting, I'd say it's best to leave it where it is.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to make my mac-mini dual-boot into Cent-os 7 which not touching my OSX (mavericks atm) install.
I shrank the OSX install successfully, and installed refind-0.10.0-1 using the OSX install script.
When the system boots I see refind and it can boot OSX just fine.
I then tried installing Centos 7 from the DVS, but it failed complaining that grub's core.img would not fit anywhere.
So I burnd a gparted-live DVD, and used that to move the 3 OSX partions (EFI, Customer, Recovery) by 1MB.
This works fine, and I can still boot into OSX using refind..
Then I managed to install Centos7 just fine, but it refuses to boot. Refind shows up and
has OSX, OSX recover, and a Linux icon (and another X-DVD when teh superdrive is attached)
But under the Linux icon there is no kernel version mentioned, and when I press FN-F2 twice I
get am empty booty commandline..
when I try to boot I get
no bootable device found - insert one and press any key
so I boot into the Centos recovery from the DVD
and I see this
What else do I need to do to make this work?
any help is appreciated
Try removing all the filesystem driver files from
/mnt/efi/EFI/BOOT/drivers_x64
except for theext4_x64.efi
file. You currently have all the filesystem drivers installed simultaneously, and that sometimes creates problems, particularly on Macs.Thanks. I tried that but i still get the same 'No bootable device' message..
I just noticed a detail in your description that makes me think the Linux entry you're trying to boot is for a BIOS-mode boot loader. That will work if and only if you've got a hybrid MBR, as described here. If you don't have a hybrid MBR, you could try creating one and see if that helps.
Alternatively, do you see any entries that refer to your kernel file(s) by name (as in
vmlinuz-3.10.0-229.el7.x86_64
)? Assuming you have a driver for the filesystem you used on/boot
, you should see such an entry, and it should work; however, you may need to add aroot=/dev/mapper/centos_n2--vmhost-root
kernel option by hitting F2 or Insert twice to launch it, at least until you can runmkrlconf
in Linux to build a/boot/refind_linux.conf
file. If you don't see such an entry, it might be worth trying to diagnose why it's not showing up. To that end, what filesystem is in use on/boot
? Btrfs might require extra options to work correctly. You could try installing an EFI shell to see if you can locate the kernel from it, which would help with such reconfiguration.I use ext4 on /boot, because Centos7 by default is xfs which i suspected wasn't supported.
and no, I have nothing referring to a linux kernel by name. when I pres F2 twice I get just an empty editor without anything else
what would the complete rub commandline look like?
On a hunch, I booted back into gparted and named /dev/sda5 '/boot' and gave it the label 'boot' and now it works
That's strange. Are you seeing the same Linux icon as before, or has that changed to a CentOS or Fedora icon? When you boot to CentOS, is there a directory called
/sys/firmware/efi
? Also, could you post the output ofcat /proc/cmdline
? I'm just trying to understand what's going on, since renaming that volume should not have made any difference.I see the same Linux icon..
[root@os-ctrl sys]# cd firmware
[root@os-ctrl firmware]# ls
acpi dmi memmap
[root@os-ctrl firmware]#
BOOT_IMAGE=/vmlinuz-3.10.0-229.el7.x86_64 root=/dev/mapper/centos_n2--vmhost-root ro vconsole.font=latarcyrheb-sun16 rd.lvm.lv=centos_n2-vmhost/swap vconsole.keymap=us rd.lvm.lv=centos_n2-vmhost/root rhgb quiet LANG=en_US.UTF-8
You're almost certainly booting in BIOS mode, not in EFI mode. I still don't know why your kernels aren't showing up as options in the rEFInd menu -- but if you're happy booting the way you are booting, I'd say it's best to leave it where it is.