I’ve reinstall OMV LX 3.0 and, after some corrections, everything seems fine now!
Thus, it follows a summary of what I did, what happened, and so on. It is a kind of a long report but I don’t want to skip some points.
My desktop has a SDD (MBR boot, MSDOS partitions) with Window 8 (ntfs) and OMV 3.0 (f2fs), and a HDD (no boot, GPT partitions) with Windows 8 (ntfs data), Linux Swap, and /home.
This disks configurations were probably chosen because it had Windows 7 which was not EFI boot compatible (??). I just kept this after updating to Windows 8.
I guess this is correct although unusual today.
In the first attempt to fresh install OMV 3.0, the installer “told me” that I should have a /boot/efi partition otherwise the computer could not boot. Thus I had created one resizing the swap partition. In this fresh reinstallation I just remove that /boot/efi partition and ignored the advice of non booting installation.
Step by Step:
1-In live mode, reinstalled OMV 3.0 with no /boot/efi and marking SWAP partition to format. This is probably necessary because I resized it back to 10 Gb. I had not formatted SWAP in the first installation and this was probably the cause for SWAP not being activated. [quote=“ben79, post:14, topic:850”]
The mkswap was a good one on your part
[/quote]
Mkswap probably did what formatting woud have done at first place.
Upon rebooting, as expected, the computer did not boot.
2 - MBR repair using the Window 8 installation disk. Details of this step are, I guess, out of the scope of this forum. It is really simple to do it as can be seen at,
3 - GRUB2 installation at MBR - This was tricky since I don’t know much of everything after all. For references on this see,
https://bbs.archlinux.org/viewtopic.php?id=201380
Using OMV 3.0 in live mode, I opened a konsole and type,
$ mount /dev/sdaX /mnt
where /dev/sdaX is the device with my OMV LX 3.0 installation. This step was necessary to avoid problems in “path of overlay” to grub2-install command. Next, I typed,
$ grub2-install --target=i386-pc --root-directory=/mnt /dev/sda
and grub2 was finally installed at MBR without errors about any EFI booting partitions! Why didn’t OMV installation disk do it?
Now, GRUB2 was in MBR but not configured yet. I did not succeed to configure it using commands like
$ grub-mkconfig -o /mnt/boot/grub/grub.cfg
in live mode, as suggested in the arch-linux support reference above, and decided to reboot any way.
I got a grub prompt and the idea was to boot the OMV 3.0 installation I already had to finally configure grub2. I followed this reference,
First I did,
grub > ls
(hd0) (hd0,msdos2) (hd0,msdos1)
to confirm,
grub> ls (hd0,msdos2)
and got information about OMV Lx 3.0.
then I did (with X=2 in my case),
grub> set root=(hd0,X)
grub> linux /boot/vmlinuz-4.6.5-desktop-1omv root=/dev/sdaX
grub> initrd /boot/initrd.img-4.6.5-desktop-1omv
grub> boot
The Tab completion is on in this environment so, I simply typed vmlinuz and tab+completion did the rest.
And finally booted OMV LX 3.0, and in a konsole,
$ grub2-mkconfig -o /boot/grub2/grub.cfg
Done.