How to add menuentry for CentOS on Ubuntu 16.04?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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:~$
grub2
add a comment |Â
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:~$
grub2
add a comment |Â
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:~$
grub2
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
grub2
edited Mar 5 at 21:39
![](https://i.stack.imgur.com/jLgkr.jpg?s=32&g=1)
![](https://i.stack.imgur.com/jLgkr.jpg?s=32&g=1)
Thomas Wardâ¦
41.5k23112166
41.5k23112166
asked Mar 4 at 19:16
![](https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=32)
![](https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=32)
Jafar Anvary
112
112
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password