Dual boot

When you run into problems installing MX Linux XFCE
Message
Author
antreasdimo

Dual boot

#1 Post by antreasdimo »

In a Pc with no OS how i can do it to have dual boot MX with Antergos? I am total new to this. Plesse tell me step by step.

User avatar
fehlix
Developer
Posts: 12901
Joined: Wed Apr 11, 2018 5:09 pm

Re: Dual boot

#2 Post by fehlix »

antreasdimo wrote: Thu Apr 11, 2019 3:04 am In a Pc with no OS how i can do it to have dual boot MX with Antergos? I am total new to this. Plesse tell me step by step.
I would do it this way: Install first Antergos leaf enough empty space for MX Linux. After that install MX linux on to that free space, where you need to create manual partitions for "/"-root . I would start with leaving /home partition under "/"-root partitions. MX Linux installed grub-menu should show the other installation's.
Or create manually all needed partitions first in install than.
Actually it doesnt matter which one you install first, as GRUB shall find the other OS and display within the grub boot menu.

antreasdimo

Re: Dual boot

#3 Post by antreasdimo »

Can i use swap space common for the 2 distros?

User avatar
fehlix
Developer
Posts: 12901
Joined: Wed Apr 11, 2018 5:09 pm

Re: Dual boot

#4 Post by fehlix »

antreasdimo wrote: Thu Apr 11, 2019 5:24 am Can i use swap space common for the 2 distros?
yes.

antreasdimo

Re: Dual boot

#5 Post by antreasdimo »

Can i give space to MX after i install Antergos?

User avatar
fehlix
Developer
Posts: 12901
Joined: Wed Apr 11, 2018 5:09 pm

Re: Dual boot

#6 Post by fehlix »

antreasdimo wrote: Thu Apr 11, 2019 7:56 am Can i give space to MX after i install Antergos?
Yes, use Gparted when booted from LiveUSB

User avatar
Head_on_a_Stick
Posts: 919
Joined: Sun Mar 17, 2019 3:37 pm

Re: Dual boot

#7 Post by Head_on_a_Stick »

Note that the Antergos boot entry will fail if the menu is generated from MX Linux and you have one of the CPU microcode packages installed in Antergos.

Use something like this in /boot/grub/custom.cfg to get Antergos booting:

Code: Select all

menuentry 'Antergos' {
   set root=(hdX,Y)
   linux /boot/vmlinuz-linux rw root=/dev/sdZY quiet
   initrd /boot/$manufacturer-ucode.img /boot/initramfs-linux.img
}
Replace X with the GRUB number for your drive (sda is 0, sdb is 1, sdc is 2, etc), replace Y with the partition number, replace Z with the drive letter and replace $manufacturer with the CPU manufacturer (ie, either amd or intel).
mod note: Signature removed, please read the forum rules

User avatar
fehlix
Developer
Posts: 12901
Joined: Wed Apr 11, 2018 5:09 pm

Re: Dual boot

#8 Post by fehlix »

Head_on_a_Stick wrote: Thu Apr 11, 2019 2:32 pm Note that the Antergos boot entry will fail if the menu is generated from MX Linux and you have one of the CPU microcode packages installed in Antergos.

Use something like this in /boot/grub/custom.cfg to get Antergos booting:

Code: Select all

menuentry 'Antergos' {
   set root=(hdX,Y)
   linux /boot/vmlinuz-linux rw root=/dev/sdZY quiet
   initrd /boot/$manufacturer-ucode.img /boot/initramfs-linux.img
}
Replace X with the GRUB number for your drive (sda is 0, sdb is 1, sdc is 2, etc), replace Y with the partition number, replace Z with the drive letter and replace $manufacturer with the CPU manufacturer (ie, either amd or intel).
Or perhabs just copy the first menuentries from the Antergos generated grub.cfg ( /boot/grub/grub.cfg on Antegeros partion) into /boot/grub/custom.cfg on the MX-linux partition.

User avatar
Head_on_a_Stick
Posts: 919
Joined: Sun Mar 17, 2019 3:37 pm

Re: Dual boot

#9 Post by Head_on_a_Stick »

Yes, that's probably a better idea.
mod note: Signature removed, please read the forum rules

Post Reply

Return to “Installation”