How to add menuentry for CentOS on Ubuntu 16.04?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
2
down vote

favorite












I have installed Windows 10, CentOS 7 X8 and Ubuntu 16.04 in the same order on a laptop.



Now on the Grub menu does not recognize my CentOS. I can only boot to Ubuntu and Windows.



I would appreciate if someone could help me to edit my grub2 in Ubuntu 16.04



Here are my partitions:



jeff@PC2U:~$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
NAME FSTYPE SIZE MOUNTPOINT LABEL
loop1 squashfs 135,5M /snap/gimp/30
sr0 1024M
loop2 squashfs 81,6M /snap/core/4110
loop0 squashfs 86,8M /snap/keepassxc/30
sda 111,8G
├─sda4 1K
├─sda2 ntfs 50,3G (Windows)
├─sda7 ext4 32,6G / (Ubuntu 16.04)
├─sda5 crypto_LUKS 18,6G (CentOS 7 - / (root))
├─sda3 ext4 476M (CentOS 7 - /boot)
├─sda1 ntfs 549M System Reserved (Win7 recovery part.)
└─sda6 crypto_LUKS 9,3G (CentOS 7 - /home)
loop3 squashfs 80,8M /snap/keepassxc/33
jeff@PC2U:~$









share|improve this question



























    up vote
    2
    down vote

    favorite












    I have installed Windows 10, CentOS 7 X8 and Ubuntu 16.04 in the same order on a laptop.



    Now on the Grub menu does not recognize my CentOS. I can only boot to Ubuntu and Windows.



    I would appreciate if someone could help me to edit my grub2 in Ubuntu 16.04



    Here are my partitions:



    jeff@PC2U:~$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
    NAME FSTYPE SIZE MOUNTPOINT LABEL
    loop1 squashfs 135,5M /snap/gimp/30
    sr0 1024M
    loop2 squashfs 81,6M /snap/core/4110
    loop0 squashfs 86,8M /snap/keepassxc/30
    sda 111,8G
    ├─sda4 1K
    ├─sda2 ntfs 50,3G (Windows)
    ├─sda7 ext4 32,6G / (Ubuntu 16.04)
    ├─sda5 crypto_LUKS 18,6G (CentOS 7 - / (root))
    ├─sda3 ext4 476M (CentOS 7 - /boot)
    ├─sda1 ntfs 549M System Reserved (Win7 recovery part.)
    └─sda6 crypto_LUKS 9,3G (CentOS 7 - /home)
    loop3 squashfs 80,8M /snap/keepassxc/33
    jeff@PC2U:~$









    share|improve this question

























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I have installed Windows 10, CentOS 7 X8 and Ubuntu 16.04 in the same order on a laptop.



      Now on the Grub menu does not recognize my CentOS. I can only boot to Ubuntu and Windows.



      I would appreciate if someone could help me to edit my grub2 in Ubuntu 16.04



      Here are my partitions:



      jeff@PC2U:~$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
      NAME FSTYPE SIZE MOUNTPOINT LABEL
      loop1 squashfs 135,5M /snap/gimp/30
      sr0 1024M
      loop2 squashfs 81,6M /snap/core/4110
      loop0 squashfs 86,8M /snap/keepassxc/30
      sda 111,8G
      ├─sda4 1K
      ├─sda2 ntfs 50,3G (Windows)
      ├─sda7 ext4 32,6G / (Ubuntu 16.04)
      ├─sda5 crypto_LUKS 18,6G (CentOS 7 - / (root))
      ├─sda3 ext4 476M (CentOS 7 - /boot)
      ├─sda1 ntfs 549M System Reserved (Win7 recovery part.)
      └─sda6 crypto_LUKS 9,3G (CentOS 7 - /home)
      loop3 squashfs 80,8M /snap/keepassxc/33
      jeff@PC2U:~$









      share|improve this question















      I have installed Windows 10, CentOS 7 X8 and Ubuntu 16.04 in the same order on a laptop.



      Now on the Grub menu does not recognize my CentOS. I can only boot to Ubuntu and Windows.



      I would appreciate if someone could help me to edit my grub2 in Ubuntu 16.04



      Here are my partitions:



      jeff@PC2U:~$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
      NAME FSTYPE SIZE MOUNTPOINT LABEL
      loop1 squashfs 135,5M /snap/gimp/30
      sr0 1024M
      loop2 squashfs 81,6M /snap/core/4110
      loop0 squashfs 86,8M /snap/keepassxc/30
      sda 111,8G
      ├─sda4 1K
      ├─sda2 ntfs 50,3G (Windows)
      ├─sda7 ext4 32,6G / (Ubuntu 16.04)
      ├─sda5 crypto_LUKS 18,6G (CentOS 7 - / (root))
      ├─sda3 ext4 476M (CentOS 7 - /boot)
      ├─sda1 ntfs 549M System Reserved (Win7 recovery part.)
      └─sda6 crypto_LUKS 9,3G (CentOS 7 - /home)
      loop3 squashfs 80,8M /snap/keepassxc/33
      jeff@PC2U:~$






      grub2






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 5 at 21:39









      Thomas Ward♦

      41.5k23112166




      41.5k23112166










      asked Mar 4 at 19:16









      Jafar Anvary

      112




      112

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1011870%2fhow-to-add-menuentry-for-centos-on-ubuntu-16-04%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1011870%2fhow-to-add-menuentry-for-centos-on-ubuntu-16-04%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Which professions warranted travel in Medieval times?

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error