Linux Mint + MX Linux + Windoze....is that possible on 1 PC?

Message
Author
User avatar
HessenZone
Posts: 57
Joined: Wed Jun 27, 2018 11:17 am

Re: Linux Mint + MX Linux + Windoze....is that possible on 1 PC?

#11 Post by HessenZone »

I have been using boot-repair for many years, it's a real lifesaver. Works with Windows/Linux dual/triple installations. Pay attention to the queries on the screen, ususally the defaults work though. Can't praise this free software enough. https://sourceforge.net/projects/boot-repair-cd/
.

MX Linux Rocks, in America, in Europa, in Australien, einfach ÜBERALL. :linuxlove:

User avatar
Stevo
Developer
Posts: 12776
Joined: Fri Dec 15, 2006 8:07 pm

Re: Linux Mint + MX Linux + Windoze....is that possible on 1 PC?

#12 Post by Stevo »

For those that have installed Mint, does its installer allow for installing GRUB in the root of the install instead of on the MBR or in the UEFI boot section? This would be so I could chainload it using the MX 17 GRUB install. If I did that, then I'd have the situation in the thread title.

User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: Linux Mint + MX Linux + Windoze....is that possible on 1 PC?

#13 Post by Richard »

Wimsomnia wrote: Sat Jun 09, 2018 10:26 am Fehlix, Penguin, Rokytnji and Sunrat,

I'm very sorry to say that due to a tragic accident
in my family, I won't be able to visit this forum(or any
other for that matter) for at least a few weeks.


Thanks for all the help and I hope I can come back here when
all is settled down.

Greetings
Sorry to hear of the misfortune in your life.

Come on back when you feel like it.

Richard.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

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

Re: Linux Mint + MX Linux + Windoze....is that possible on 1 PC?

#14 Post by fehlix »

Stevo wrote: Sat Jun 30, 2018 3:16 pm For those that have installed Mint, does its installer allow for installing GRUB in the root of the install instead of on the MBR or in the UEFI boot section? This would be so I could chainload it using the MX 17 GRUB install. If I did that, then I'd have the situation in the thread title.
Yes. You can install MINT's grub (or any other grub2) into pmbr partion and you could chainload the PMBR of that root-partiton, but you don't have to create the mbr/pmbr boot-recoed (or UEFI-menu envars), et all.
Its even easier and potentialy more robust to not chainload the PMBR from the root-partion
but instead to chainload grub's core.img through grub's muiltiboot chainloading feature.
The reason why it is not so robust, is that any modifcation of the partition-table entry, will also make the PMBR-boatloader information invalid, while chainloading into grubs core.img is more robust as long as you do not touch (move/copy) the core.img.
Here two typical grub-menu entries for Mint and MX I do use within grub's custom.cfg utilising multiboot chainloading :

Code: Select all

    menuentry 'GRUB MULTIBOOT Linux Mint MATE 18  64-bit (/dev/sda5 mim18m33)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'grub-multiboot-08b6acd3-467d-484b-b43c-9253903bb7e6' {
    # ----------------------------------
      savedefault
        insmod part_gpt
        insmod ext2
        # /dev/sda5: LABEL="mim18m33" UUID="08b6acd3-467d-484b-b43c-9253903bb7e6" TYPE="ext4" PARTUUID="98d423f1-45ef-47f9-9eae-fa361b2e7c5e"
        set root='hd0,gpt5'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  08b6acd3-467d-484b-b43c-9253903bb7e6
        else
          search --no-floppy --fs-uuid --set=root 08b6acd3-467d-484b-b43c-9253903bb7e6
        fi
        set OS_boot_config='/boot/grub/grub.cfg'
        multiboot /boot/grub/i386-pc/core.img
    }

    menuentry 'GRUB MULTIBOOT MX 17 Horizon (on /dev/sda6)' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'grub-multiboot-7bfc8e75-74bd-442e-8d45-fbe88dfcb321' {
    # ----------------------------------
      savedefault
      insmod part_gpt
      insmod ext2
      # /dev/sda6: LABEL="mx17" UUID="7bfc8e75-74bd-442e-8d45-fbe88dfcb321" TYPE="ext4"
      set root='hd0,gpt6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  7bfc8e75-74bd-442e-8d45-fbe88dfcb321
		else
		  search --no-floppy --fs-uuid --set=root 7bfc8e75-74bd-442e-8d45-fbe88dfcb321
		fi
        set OS_boot_config='/boot/grub/grub.cfg'
        multiboot /boot/grub/i386-pc/core.img
    }
The identical multiboot-chainloadig works for UEFI-system too.
:snail:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “XFCE Desktop Environment”