So i tried to dualboot manjaro btrfs with artix ext4 but after installing it grub doesn’t recognize manjaro. i tried chroot from artix, manjaro-chroot from live manjaro but it only recognized artix and now i am unable to boot into manjaro. also i have bios system not uefi so cant do anything related with that. pls help i have lots of data
Wrong move
When using msdos partition table, it is only possible to install one grub (without chainloading)
When trying to dualboot manjaro with any other linux you need to install the grub manjaro provides !
This indicates, your grub is not the manjaro-one
You may need to provide further information about what you did and, in particular, in what order
Please also provide sudo inxi -czv8 so we can try to help you.
If you want to install multiple operating systems side by side, it is strongly recommended that you first create a GPT partition table on the disk and use UEFI-mode.
The old MSDOS partition tables support too few entries and severely limit installation in other ways. This will always be a hindrance.
Then it is high time to make a backup before you continue tinkering with your installation
![]()
added later
wdym by msdos partition table and btw since i installed artix i have its grub and not manjaro’s so i am unable to find it
this:
You can use any ISO, boot from it and provide the system info
inxi -czv8
You should use the Manjaro ISO to boot from going forward.
Then you will have the tool manjaro-chroot available, which many people here know how to use and can guide you using it.
Perhaps Artix has got a similar tool - but I do not know.
Where is your data?
In the Artix system or in Manjaro?
No, that’s not true. You can have only one grub in the MBR itself, but you can install each distribution’s grub inside their respective root partition and chainload them from within the main grub.
Yes, this is true, because Manjaro’s grub uses a special configuration with submenu(s).
Be advised however that in order to use grub on a system that boots in legacy BIOS mode and has a GPT partition layout, you need to create an unformatted 2 MiB partition of type bios_grub, marked with the boot flag. Without it, the core.img stage of grub would overwrite partition boundaries.
@Alexdex06, if you want make yourself familar with grub on BIOS systems, here is a good wiki entry:
there is no chroot tool for artix and my data is in manjaro
Be advised however that in order to use
grubon a system that boots in legacy BIOS mode and has a GPT partition layout, you need to create an unformatted 2 MiB partition of typebios_grub, marked with thebootflag. Without it, thecore.imgstage ofgrubwould overwrite partition boundaries.
nah no need and how to get manjaro grub on artix/any non manjaro distro
i tried to get gpt but ended up destroying my ssd comletely on endeavour and that is how i ended up with manjaro
Really? In that case, I invite you to try and see for yourself.
If you have a GPT partition layout and your system boots in legacy BIOS mode, and you want to use grub, then you need an unformatted partition of type bios_grub, roughly 2 MiB in size, and marked with the boot flag. If you do not do this, then core.img will overwrite the boundary of the first partition, because it’s too big to fit in the MBR.
The bios_grub partition doesn’t need to reside at the beginning of the drive, as long as it is marked with the boot flag.
Probably because you haven’t read the manual.
Okay i found the answer
first boot into any live distro
then run - sudo mount -o subvol=@ /dev/sdyC /mnt
because its btrfs volume
then run - sudo chroot /mnt /bin/bash
to get a bash shell and update grub from there
found it from GRUB/Restore the GRUB Bootloader - Manjaro
edit
my home directory is empty somehow and running update-grub results this ’ is /dev mounted ’
You have to make sure everything is properly mounted before chrooting into your installed system.
Assuming your root filesystem is on /dev/sda2… ![]()
mount -t btrfs -o subvol=@ /dev/sda2 /mnt
mount -t btrfs -o subvol=@home /dev/sda2 /mnt/home
mount -t btrfs -o subvol=@log /dev/sda2 /mnt/var/log
mount -t btrfs -o subvol=@cache /dev/sda2 /mnt/var/cache
mount --bind /dev /mnt/dev
mount -t proc proc /mnt/proc
mount -t sysfs sysfs /mnt/sys
chroot /mnt /bin/bash
Normally, manjaro-chroot should have been able to handle btrfs by now because I’ve submitted a patch for that back in June, but apparently my patch has not been merged yet. ![]()
?
this partially worked and i ran update-grub after chrooting but now what
how do i get that grub to work with the whole system cuz i still see the artix grub
and btw thanks for any help
You need to install Manjaro’s grub to the MBR, not to a partition. So if your drive is /dev/sda, then you need to install grub to /dev/sda, not to /dev/sda1 or whatever.
Also make sure that os-prober is enabled in Manjaro’s /etc/default/grubbefore running update-grub, so that it can find and add your Artix to the boot menu.
It’s all described in detail in the wiki:
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.