Hi all!
I downloaded a disk.img from Linode which has CentOS7.
I created a new VM using this disk.img in Synology VM manager.
However, this disk does not boot CentOS7 because this disk is not bootable.
I am stuck in the middle of trying to reinstall grub2 using CentOS7 installation dvd ISO in rescue mode.
The steps I took so far are:
#boot VM from CentOS7 installation dvd ISO in rescue mode.
mount /dev/sda /mnt/sysimage
mount --bind /dev /mnt/sysimage/dev
mount --bind /proc /mnt/sysimage/proc
mount --bind /sys /mnt/sysimage/sys
chroot /mnt/sysimage
grub2-mkconfig -o /boot/grub2/grub.cfg
grub2-install /dev/sda
The last grub2-install /dev/sda command returns an error:
grub2-install: warning: File System ext2 doesn't support embedding.
grub2-install: warning: Embedding is not possible. Grub can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and therefore is discouraged..
grub2-install: error: will not proceed with blocklists.
Attaching screenshots from the rescue mode.
rescue1
rescue2
rescue3
CentOS 7 grub2-install: File system ext2 doesn't support embedding
Re: CentOS 7 grub2-install: File system ext2 doesn't support embedding
Why are you trying to do that rather than installing a copy of CentOS 7 from scratch?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: CentOS 7 grub2-install: File system ext2 doesn't support embedding
Finally got grub2-install to work by adding --force option.
grub2-install /dev/sda --force
grub2-mkconfig -o /boot/grub2/grub.cfg
grub2-install /dev/sda --force
grub2-mkconfig -o /boot/grub2/grub.cfg