Can I nstall GRUB in root when installing Debian/OMV package ?

    • OMV 1.0

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Can I nstall GRUB in root when installing Debian/OMV package ?

      OMV 1.10

      In this thread i reported my problems with Bootit BM : I think I killed my bootloader - How installing again ?

      Meanwhile w help of this forum I could repair the fault w the Boot-repair-disk. But Booit BM will not work as specified.

      I now found on support of BM :

      When installing Linux, it is important to make sure that you install LILO or GRUB in the root directory or superblock. Do not install LILO
      or GRUB to the MBR. These programs are used to load the Linux-specific OS kernel (most other OS's include built-in support to load its kernel).

      I think at my installation GRUB was installed in the MBR.

      How can I manage it to move GRUB to the root at the exisising installation or at a fresh installation ?
    • The OMV iso installs to mbr. Use grub-install from the command line to install it elsewhere.
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • You can do it from running OMV. Try: grub-install /dev/sda1 to install on sda first partition. I don't know what your drive letters are or where you want to install.
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • I tried your command, but there was an error message, I then used ..../dev/sda this finished w no error.

      I'll check now if it's possible to operate BM as I wish. will report.

      /usr/sbin/grub-setup: Warnung: Einbettung ist nicht möglich. GRUB kann in dieser Konfiguration nur mittels Blocklisten installiert werden. Blocklisten sind allerdings UNZUVERLÄSSIG und deren Verwendung wird daher nicht empfohlen..
      /usr/sbin/grub-setup: Fehler: mit Blocklisten wird nicht fortgesetzt.
      root@N40L-NAS:~# grub-install /dev/sda
      Installation finished. No error reported.
      root@N40L-NAS:~#
    • root@N40L-NAS:~# fdisk -l
      omitting empty partition (5)

      Disk /dev/sdb: 60.0 GB, 60022480896 bytes
      255 heads, 63 sectors/track, 7297 cylinders, total 117231408 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disk identifier: 0x00026715

      Device Boot Start End Blocks Id System
      /dev/sdb1 * 2048 112383999 56190976 83 Linux
      /dev/sdb2 112384000 117229567 2422784 f W95 Ext'd (LBA)
      /dev/sdb5 112386048 117229567 2421760 82 Linux swap / Solaris

      Disk /dev/sda: 250.1 GB, 250059350016 bytes
      255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
      Units = sectors of 1 * 512 = 512 bytes
      Sector size (logical/physical): 512 bytes / 512 bytes
      I/O size (minimum/optimal): 512 bytes / 512 bytes
      Disk identifier: 0x9a049326

      Device Boot Start End Blocks Id System
      /dev/sda1 * 2048 112383999 56190976 83 Linux
      /dev/sda2 112384000 117227519 2421760 82 Linux swap / Solaris

      root@N40L-NAS:~#

      I'm actually testing w the 250GB drive. And there is sda1 the first partition where Debian is installed ? !
      SSD drive is disabled in BIOS - but seen in Debian. System starts from 250GB drive

      The post was edited 1 time, last by willri ().

    • I guess you will have to force the grub-install - grub-install --force /dev/sda1
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • THX, I'll try and report !

      PS : THX ryecoaaron - Now it works as I expected and I'm happy.

      If I want I can partition, resize, backup, restore a.s.o. my system SSD and all other drives w this ondrive
      tool in his seperate SSD partition. This is a good alternatve for a linux noob.

      Maybe the coming improved plugin for systembackup is an alternative. I'll wait how I can handle it. If not I'll buy
      Booitit BM.

      The post was edited 2 times, last by willri ().