Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

50%
+0 −0
Q&A How can I access Manjaro without any error? (I had installed two grub-loader)

I was using Manjaro. And, I had Windows alongside Manjaro. I have installed Debian without "removing" any OS (I had removed Prime OS). And, I was using grub-loader of Manjaro earlier (Manjaro's gru...

1 answer  ·  posted 3y ago by deleted user  ·  last activity 3y ago by deleted user

#2: Post edited by (deleted user) · 2021-06-28T12:49:09Z (over 3 years ago)
  • I was using Manjaro. And, I had Windows alongside Manjaro. I have installed Debian without "removing" any OS (I had removed Prime OS). And, I was using grub-loader of Manjaro earlier (Manjaro's grub loader was detecting Prime OS by some new codes). But, I have installed grub-loader of Debian mistakenly. Even, currently I am using grub-loader of Debian. I can access Windows and Debian without any problem. But, I try to start Manjaro. I get bunch of error.
  • ![error from left side](https://linux.codidact.com/uploads/pPANf1F96K9WQ7tjeSU2BSuE)
  • ![error from right side](https://linux.codidact.com/uploads/EiyJ9nrZrdmJvdUof2DLKBdG)
  • I had tried to update grub in Debian also. I got another error again
  • >bash: update-grub: command not found
  • So, I had thought to install grub loader again. I got the same error again
  • >bash: grub-install: command not found
  • How can I access Manjaro without any error?
  • I was using Manjaro. And, I had Windows alongside Manjaro. I have installed Debian without "removing" any OS (I had removed Prime OS). And, I was using grub-loader of Manjaro earlier (Manjaro's grub loader was detecting Prime OS by some new codes). But, I have installed grub-loader of Debian mistakenly. Even, currently I am using grub-loader of Debian. I can access Windows and Debian without any problem. But, I try to start Manjaro. I get bunch of error.
  • ![error from left side](https://linux.codidact.com/uploads/pPANf1F96K9WQ7tjeSU2BSuE)
  • ![error from right side](https://linux.codidact.com/uploads/EiyJ9nrZrdmJvdUof2DLKBdG)
  • I had tried to update grub in Debian also. I got another error again
  • >bash: update-grub: command not found
  • So, I had thought to install grub loader again. I got the same error again
  • >bash: grub-install: command not found
  • How can I access Manjaro without any error?
  • grub.cfg of Manjaro :
  • ```
  • [Istiak grub]# cat grub.cfg
  • #
  • # 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="${saved_entry}"
  • 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
  • }
  • set menu_color_normal=light-gray/black
  • set menu_color_highlight=green/black
  • if [ x$feature_default_font_path = xy ] ; then
  • font=unicode
  • else
  • insmod part_msdos
  • insmod ext2
  • set root='hd0,msdos6'
  • if [ x$feature_platform_search_hint = xy ]; then
  • search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • else
  • search --no-floppy --fs-uuid --set=root 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • 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
  • insmod part_msdos
  • insmod ext2
  • set root='hd0,msdos6'
  • if [ x$feature_platform_search_hint = xy ]; then
  • search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • else
  • search --no-floppy --fs-uuid --set=root 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • fi
  • insmod gfxmenu
  • loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_12.pf2
  • loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_14.pf2
  • loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_16.pf2
  • loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_24.pf2
  • loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_48.pf2
  • loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_bold_16.pf2
  • loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_mono_12.pf2
  • loadfont ($root)/usr/share/grub/themes/manjaro/terminus-12.pf2
  • loadfont ($root)/usr/share/grub/themes/manjaro/terminus-14.pf2
  • loadfont ($root)/usr/share/grub/themes/manjaro/terminus-16.pf2
  • loadfont ($root)/usr/share/grub/themes/manjaro/terminus-18.pf2
  • loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b12.pf2
  • loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b14.pf2
  • loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b16.pf2
  • loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b18.pf2
  • insmod png
  • set theme=($root)/usr/share/grub/themes/manjaro/theme.txt
  • export theme
  • if [ x$feature_timeout_style = xy ] ; then
  • set timeout_style=hidden
  • set timeout=5
  • # Fallback hidden-timeout code in case the timeout_style feature is
  • # unavailable.
  • elif sleep --interruptible 5 ; then
  • set timeout=0
  • fi
  • ### END /etc/grub.d/00_header ###
  • ### BEGIN /etc/grub.d/10_linux ###
  • menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-93d7c69b-c3e2-475e-9b22-292c8d37a6ff' {
  • savedefault
  • load_video
  • set gfxpayload=keep
  • insmod gzio
  • insmod part_msdos
  • insmod ext2
  • set root='hd0,msdos6'
  • if [ x$feature_platform_search_hint = xy ]; then
  • search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • else
  • search --no-floppy --fs-uuid --set=root 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • fi
  • linux /boot/vmlinuz-5.10-x86_64 root=UUID=93d7c69b-c3e2-475e-9b22-292c8d37a6ff rw quiet splash apparmor=1 security=apparmor udev.log_priority=3
  • initrd /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
  • }
  • submenu 'Advanced options for Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-93d7c69b-c3e2-475e-9b22-292c8d37a6ff' {
  • menuentry 'Manjaro Linux (Kernel: 5.10.42-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.42-1-MANJARO x64-advanced-93d7c69b-c3e2-475e-9b22-292c8d37a6ff' {
  • savedefault
  • load_video
  • set gfxpayload=keep
  • insmod gzio
  • insmod part_msdos
  • insmod ext2
  • set root='hd0,msdos6'
  • if [ x$feature_platform_search_hint = xy ]; then
  • search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • else
  • search --no-floppy --fs-uuid --set=root 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • fi
  • linux /boot/vmlinuz-5.10-x86_64 root=UUID=93d7c69b-c3e2-475e-9b22-292c8d37a6ff rw quiet splash apparmor=1 security=apparmor udev.log_priority=3
  • initrd /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
  • }
  • menuentry 'Manjaro Linux (Kernel: 5.10.42-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.42-1-MANJARO x64-fallback-93d7c69b-c3e2-475e-9b22-292c8d37a6ff' {
  • load_video
  • set gfxpayload=keep
  • insmod gzio
  • insmod part_msdos
  • insmod ext2
  • set root='hd0,msdos6'
  • if [ x$feature_platform_search_hint = xy ]; then
  • search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • else
  • search --no-floppy --fs-uuid --set=root 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • fi
  • linux /boot/vmlinuz-5.10-x86_64 root=UUID=93d7c69b-c3e2-475e-9b22-292c8d37a6ff rw quiet splash apparmor=1 security=apparmor udev.log_priority=3
  • initrd /boot/initramfs-5.10-x86_64-fallback.img
  • }
  • menuentry 'Manjaro Linux (Kernel: 4.14.235-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.235-1-MANJARO x64-advanced-93d7c69b-c3e2-475e-9b22-292c8d37a6ff' {
  • savedefault
  • load_video
  • set gfxpayload=keep
  • insmod gzio
  • insmod part_msdos
  • insmod ext2
  • set root='hd0,msdos6'
  • if [ x$feature_platform_search_hint = xy ]; then
  • search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • else
  • search --no-floppy --fs-uuid --set=root 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • fi
  • linux /boot/vmlinuz-4.14-x86_64 root=UUID=93d7c69b-c3e2-475e-9b22-292c8d37a6ff rw quiet splash apparmor=1 security=apparmor udev.log_priority=3
  • initrd /boot/intel-ucode.img /boot/initramfs-4.14-x86_64.img
  • }
  • menuentry 'Manjaro Linux (Kernel: 4.14.235-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.235-1-MANJARO x64-fallback-93d7c69b-c3e2-475e-9b22-292c8d37a6ff' {
  • load_video
  • set gfxpayload=keep
  • insmod gzio
  • insmod part_msdos
  • insmod ext2
  • set root='hd0,msdos6'
  • if [ x$feature_platform_search_hint = xy ]; then
  • search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • else
  • search --no-floppy --fs-uuid --set=root 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • fi
  • linux /boot/vmlinuz-4.14-x86_64 root=UUID=93d7c69b-c3e2-475e-9b22-292c8d37a6ff rw quiet splash apparmor=1 security=apparmor udev.log_priority=3
  • initrd /boot/initramfs-4.14-x86_64-fallback.img
  • }
  • menuentry 'Manjaro Linux (Kernel: 4.9.271-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.271-1-MANJARO x64-advanced-93d7c69b-c3e2-475e-9b22-292c8d37a6ff' {
  • savedefault
  • load_video
  • set gfxpayload=keep
  • insmod gzio
  • insmod part_msdos
  • insmod ext2
  • set root='hd0,msdos6'
  • if [ x$feature_platform_search_hint = xy ]; then
  • search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • else
  • search --no-floppy --fs-uuid --set=root 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • fi
  • linux /boot/vmlinuz-4.9-x86_64 root=UUID=93d7c69b-c3e2-475e-9b22-292c8d37a6ff rw quiet splash apparmor=1 security=apparmor udev.log_priority=3
  • initrd /boot/intel-ucode.img /boot/initramfs-4.9-x86_64.img
  • }
  • menuentry 'Manjaro Linux (Kernel: 4.9.271-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.271-1-MANJARO x64-fallback-93d7c69b-c3e2-475e-9b22-292c8d37a6ff' {
  • load_video
  • set gfxpayload=keep
  • insmod gzio
  • insmod part_msdos
  • insmod ext2
  • set root='hd0,msdos6'
  • if [ x$feature_platform_search_hint = xy ]; then
  • search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • else
  • search --no-floppy --fs-uuid --set=root 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • fi
  • linux /boot/vmlinuz-4.9-x86_64 root=UUID=93d7c69b-c3e2-475e-9b22-292c8d37a6ff rw quiet splash apparmor=1 security=apparmor udev.log_priority=3
  • initrd /boot/initramfs-4.9-x86_64-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 ###
  • menuentry 'Windows 10 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-10C4F74DC4F73416' {
  • savedefault
  • insmod part_msdos
  • insmod ntfs
  • set root='hd0,msdos1'
  • if [ x$feature_platform_search_hint = xy ]; then
  • search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 10C4F74DC4F73416
  • else
  • search --no-floppy --fs-uuid --set=root 10C4F74DC4F73416
  • fi
  • parttool ${root} hidden-
  • drivemap -s (hd0) ${root}
  • chainloader +1
  • }
  • set timeout_style=menu
  • if [ "${timeout}" = 0 ]; then
  • set timeout=10
  • fi
  • ### END /etc/grub.d/30_os-prober ###
  • ### BEGIN /etc/grub.d/30_uefi-firmware ###
  • ### END /etc/grub.d/30_uefi-firmware ###
  • ### BEGIN /etc/grub.d/40_custom ###
  • # This file provides an easy way to add custom menu entries. Simply type the
  • # menu entries you want to add after this comment. Be careful not to change
  • # the 'exec tail' line above.
  • menuentry "Prime OS" {
  • set root='(hd0,2)'
  • linux /android/kernel root=/dev/ram0 androidboot.hardware=android_x86_64 androidboot.selinux=permissive quiet SRC=/android DATA=/data vga=788
  • initrd /android/initrd.img
  • }
  • ### END /etc/grub.d/40_custom ###
  • ### 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 ###
  • ### BEGIN /etc/grub.d/60_memtest86+ ###
  • if [ "${grub_platform}" == "pc" ]; then
  • menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
  • search --fs-uuid --no-floppy --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 93d7c69b-c3e2-475e-9b22-292c8d37a6ff
  • linux16 /boot/memtest86+/memtest.bin
  • }
  • fi
  • ### END /etc/grub.d/60_memtest86+ ###
  • ```
#1: Initial revision by (deleted user) · 2021-06-27T11:49:39Z (over 3 years ago)
How can I access Manjaro without any error? (I had installed two grub-loader)
I was using Manjaro. And, I had Windows alongside Manjaro. I have installed Debian without "removing" any OS (I had removed Prime OS). And, I was using grub-loader of Manjaro earlier (Manjaro's grub loader was detecting Prime OS by some new codes). But, I have installed grub-loader of Debian mistakenly. Even, currently I am using grub-loader of Debian. I can access Windows and Debian without any problem. But, I try to start Manjaro. I get bunch of error.

![error from left side](https://linux.codidact.com/uploads/pPANf1F96K9WQ7tjeSU2BSuE)

![error from right side](https://linux.codidact.com/uploads/EiyJ9nrZrdmJvdUof2DLKBdG)

I had tried to update grub in Debian also. I got another error again

>bash: update-grub: command not found

So, I had thought to install grub loader again. I got the same error again

>bash: grub-install: command not found

How can I access Manjaro without any error?