You are not logged in.
Pages: 1
Hi,
I have a laptop with arch linux my main os.I later installed Mx linux and Manjaro also.Both without installing grub.
I want to use arch install's grub.when i configured grub it detects both Mx linux and Manjaro.
sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot: initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
Found MX 19 patito feo (19) on /dev/sda6
Found Manjaro Linux (18.1.5) on /dev/sda7
done
But when i boot i only get arch and mx linux in grub menu.
no matter how much i do grub-mkconfig it don't show manjaro.
Any help will be appreciated.Thanks.
Last edited by tanim_ahmed (2020-02-03 13:06:28)
Offline
Please post the full output of
# grub-mkconfigThe contents of Manjaro's /boot directory would also be useful, for example:
# mount /dev/sda7 /mnt
ls /mnt/bootJin, Jîyan, Azadî
Offline
# grub-mkconfig
Generating grub configuration file ...
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 0eb09abe-8d80-43d7-ad94-7da2f4f3e5d9
else
search --no-floppy --fs-uuid --set=root 0eb09abe-8d80-43d7-ad94-7da2f4f3e5d9
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-lts.img
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0eb09abe-8d80-43d7-ad94-7da2f4f3e5d9' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt1' --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 D523-ABED
else
search --no-floppy --fs-uuid --set=root D523-ABED
fi
echo 'Loading Linux linux-lts ...'
linux /vmlinuz-linux-lts root=UUID=0eb09abe-8d80-43d7-ad94-7da2f4f3e5d9 rw quiet splash acpi_backlight=vendor
echo 'Loading initial ramdisk ...'
initrd /intel-ucode.img /initramfs-linux-lts.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-0eb09abe-8d80-43d7-ad94-7da2f4f3e5d9' {
menuentry 'Arch Linux, with Linux linux-lts' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-0eb09abe-8d80-43d7-ad94-7da2f4f3e5d9' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt1' --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 D523-ABED
else
search --no-floppy --fs-uuid --set=root D523-ABED
fi
echo 'Loading Linux linux-lts ...'
linux /vmlinuz-linux-lts root=UUID=0eb09abe-8d80-43d7-ad94-7da2f4f3e5d9 rw quiet splash acpi_backlight=vendor
echo 'Loading initial ramdisk ...'
initrd /intel-ucode.img /initramfs-linux-lts.img
}
Found fallback initrd image(s) in /boot: initramfs-linux-lts-fallback.img
menuentry 'Arch Linux, with Linux linux-lts (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-fallback-0eb09abe-8d80-43d7-ad94-7da2f4f3e5d9' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt1' --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 D523-ABED
else
search --no-floppy --fs-uuid --set=root D523-ABED
fi
echo 'Loading Linux linux-lts ...'
linux /vmlinuz-linux-lts root=UUID=0eb09abe-8d80-43d7-ad94-7da2f4f3e5d9 rw quiet splash acpi_backlight=vendor
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-lts-fallback.img
}
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux.img
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-0eb09abe-8d80-43d7-ad94-7da2f4f3e5d9' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt1' --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 D523-ABED
else
search --no-floppy --fs-uuid --set=root D523-ABED
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=0eb09abe-8d80-43d7-ad94-7da2f4f3e5d9 rw quiet splash acpi_backlight=vendor
echo 'Loading initial ramdisk ...'
initrd /intel-ucode.img /initramfs-linux.img
}
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-0eb09abe-8d80-43d7-ad94-7da2f4f3e5d9' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt1' --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 D523-ABED
else
search --no-floppy --fs-uuid --set=root D523-ABED
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=0eb09abe-8d80-43d7-ad94-7da2f4f3e5d9 rw quiet splash acpi_backlight=vendor
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fallback.img
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
Found MX 19 patito feo (19) on /dev/sda6
menuentry 'MX 19 patito feo (19) (on /dev/sda6)' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-980682d8-15f0-4a17-b109-2692dbb7bcec' {
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt6' --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 980682d8-15f0-4a17-b109-2692dbb7bcec
else
search --no-floppy --fs-uuid --set=root 980682d8-15f0-4a17-b109-2692dbb7bcec
fi
linux /boot/vmlinuz-4.19.0-6-amd64 root=/dev/sda6
initrd /boot/initrd.img-4.19.0-6-amd64
}
submenu 'Advanced options for MX 19 patito feo (19) (on /dev/sda6)' $menuentry_id_option 'osprober-gnulinux-advanced-980682d8-15f0-4a17-b109-2692dbb7bcec' {
menuentry 'MX 19 patito feo (19) (on /dev/sda6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.19.0-6-amd64--980682d8-15f0-4a17-b109-2692dbb7bcec' {
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt6' --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 980682d8-15f0-4a17-b109-2692dbb7bcec
else
search --no-floppy --fs-uuid --set=root 980682d8-15f0-4a17-b109-2692dbb7bcec
fi
linux /boot/vmlinuz-4.19.0-6-amd64 root=/dev/sda6
initrd /boot/initrd.img-4.19.0-6-amd64
}
}
Found Manjaro Linux (18.1.5) on /dev/sda7
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
doneLast edited by tanim_ahmed (2020-02-04 08:09:34)
Offline
ls /mnt/boot
amd-ucode.img efi intel-ucode.img linux419-x86_64.kver linux55-x86_64.kver memtest86+
Offline
Please edit your posts and use [ code ] tags around output (especially the grub.cfg).
https://wiki.archlinux.org/index.php/Co … s_and_code
https://bbs.archlinux.org/help.php#bbcode
Offline
linux419-x86_64.kver linux55-x86_64.kver
Arch's grub-mkconfig script doesn't recognise those as kernel images because of the idiosyncratic nomenclature.
So you have two options:
Install and configure GRUB from Manjaro
Compare and contrast the contents of /etc/grub.d/ for both Manjaro & Arch to find the script the former is using to identify their images then copy that over to Arch
The second option would probably be best if you want to use Arch as your main system.
It may be worth opening a bug report against the grub package to get support for Manjaro included, if you do that then link to this thread and include Manjaro's GRUB script with the report.
Jin, Jîyan, Azadî
Offline
Please edit your posts and use [ code ] tags around output (especially the grub.cfg).
Thank's for informing me.
Last edited by tanim_ahmed (2020-02-04 08:11:39)
Offline
Another option would be to add the Manjaro entries manually, either to /etc/grub.d/40_custom (then rerun grub-mkconfig) or add them to /boot/grub/custom.config.
https://wiki.archlinux.org/index.php/GRUB#GNU/Linux
https://wiki.archlinux.org/index.php/GR … y_examples
Offline
Pages: 1