Yet again Grub issues, can't find my MX xfce  [Solved]

Help with the version of MX KDE officially released by the Development Team.
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
argonaut459
Posts: 527
Joined: Tue Oct 04, 2022 11:49 am

Re: Yet again Grub issues, can't find my MX xfce

#11 Post by argonaut459 »

Posted the entry in question as screenshot in above message.
Or rather copy paste the whole section?

Into the NEW custom.cfg on the kde partition.
Thanks for clarifying, I literally read it twice to "insert it in the KDE one"
Holy cow, that could've been a mess 😆

EDIT;
Alright, managed to finally create the file and only content of it is:

Code: Select all

menuentry 'MX 21.2.1 Wildflower' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7a86bd5b-d3a6-45ae-9a0d-45b813ee884f' {
What should happen now, if I reboot the PC?
Thank you very much in advance :heart:
Linux noob being grateful for help and assistance.

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

Re: Yet again Grub issues, can't find my MX xfce

#12 Post by fehlix »

argonaut459 wrote: Wed Mar 29, 2023 9:32 am Posted the entry in question as screenshot in above message.

Or rather copy paste the whole section?

Into the NEW custom.cfg on the kde partition.
Thanks for clarifying, I literally read it twice to "insert it in the KDE one"
Holy cow, that could've been a mess 😆

EDIT;
Alright, managed to finally create the file and only content of it is:

Code: Select all

menuentry 'MX 21.2.1 Wildflower' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7a86bd5b-d3a6-45ae-9a0d-45b813ee884f' {
What should happen now, if I reboot the PC?
You didn't read my post carefully.
In case you don't know some editors can display sections of lines folded.
May be you don't know what fold and unfold of lines means?

User avatar
argonaut459
Posts: 527
Joined: Tue Oct 04, 2022 11:49 am

Re: Yet again Grub issues, can't find my MX xfce

#13 Post by argonaut459 »

Holy cow I'm really stupid today.
Of course you meant with a closing } not an opening.

I'll copy

Code: Select all

menuentry 'MX 21.2.1 Wildflower' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7a86bd5b-d3a6-45ae-9a0d-45b813ee884f' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod btrfs
	set root='hd2,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  7a86bd5b-d3a6-45ae-9a0d-45b813ee884f
	else
	  search --no-floppy --fs-uuid --set=root 7a86bd5b-d3a6-45ae-9a0d-45b813ee884f
	fi
	echo	'Loading Linux 6.0.0-6mx-amd64 ...'
	linux	/@/boot/vmlinuz-6.0.0-6mx-amd64 root=UUID=7a86bd5b-d3a6-45ae-9a0d-45b813ee884f ro rootflags=subvol=@  quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/@/boot/initrd.img-6.0.0-6mx-amd64
}
into the custom.cfg file.

That should be correct now.

FYI, the next part begins with
submenu "advanced options"
followed by
menuentry "MX21 ... Linux 6.0.0 systemd "

These and more are not needed, right. Just the part I copy & pasted here.
Thank you very much in advance :heart:
Linux noob being grateful for help and assistance.

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

Re: Yet again Grub issues, can't find my MX xfce

#14 Post by fehlix »

argonaut459 wrote: Wed Mar 29, 2023 9:59 am Holy cow I'm really stupid today.
Of course you meant with a closing } not an opening.

I'll copy

Code: Select all

menuentry 'MX 21.2.1 Wildflower' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7a86bd5b-d3a6-45ae-9a0d-45b813ee884f' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod btrfs
	set root='hd2,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  7a86bd5b-d3a6-45ae-9a0d-45b813ee884f
	else
	  search --no-floppy --fs-uuid --set=root 7a86bd5b-d3a6-45ae-9a0d-45b813ee884f
	fi
	echo	'Loading Linux 6.0.0-6mx-amd64 ...'
	linux	/@/boot/vmlinuz-6.0.0-6mx-amd64 root=UUID=7a86bd5b-d3a6-45ae-9a0d-45b813ee884f ro rootflags=subvol=@  quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/@/boot/initrd.img-6.0.0-6mx-amd64
}
into the custom.cfg file.

That should be correct now.

FYI, the next part begins with
submenu "advanced options"
followed by
menuentry "MX21 ... Linux 6.0.0 systemd "

These and more are not needed, right. Just the part I copy & pasted here.
That's what was said.
Also suggest the change the menentry title, e.g by adding Xfce to the first quets title string,
so it get better visibility as the laste entry on the kde grub-menu.

User avatar
argonaut459
Posts: 527
Joined: Tue Oct 04, 2022 11:49 am

Re: Yet again Grub issues, can't find my MX xfce

#15 Post by argonaut459 »

Code: Select all

menuentry 'XFCE MX 21.2.1' --class mx --class gnu-  .......
like that?

And now? Save, reboot and select the XFCE entry?
If I botched something up, did I ruin XFCE and KDE or will I be able to at least get back to KDE and try again
Thank you very much in advance :heart:
Linux noob being grateful for help and assistance.

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

Re: Yet again Grub issues, can't find my MX xfce

#16 Post by fehlix »

argonaut459 wrote: Wed Mar 29, 2023 10:13 am

Code: Select all

menuentry 'XFCE MX 21.2.1' --class mx --class gnu-  .......
like that?

And now? Save, reboot and select the XFCE entry?
If I botched something up, did I ruin XFCE and KDE or will I be able to at least get back to KDE and try again
You didn't "reported" where you created and copied those lines into. I mean just in case it was not clearly advised.

User avatar
argonaut459
Posts: 527
Joined: Tue Oct 04, 2022 11:49 am

Re: Yet again Grub issues, can't find my MX xfce

#17 Post by argonaut459 »

Filename is:
custom.cfg

KDE>boot>grub

for some reason nothing happens when I press "print" key - or I woul've posted screenshot of it all together.
windows key + e don't open dolphin either, anymore
Thank you very much in advance :heart:
Linux noob being grateful for help and assistance.

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

Re: Yet again Grub issues, can't find my MX xfce

#18 Post by fehlix »

argonaut459 wrote: Wed Mar 29, 2023 10:35 am Filename is:
custom.cfg

KDE>boot>grub
Appears to be correct ...
argonaut459 wrote: Wed Mar 29, 2023 10:35 am for some reason nothing happens when I press "print" key - or I woul've posted screenshot of it all together.
windows key + e don't open dolphin either, anymore
Sorry, don't understand why you need to print something:

ls -l /boot/grub/custom.cfg

and

cat /boot/grub/custom.cfg

would display what grub would load at next boot.

User avatar
argonaut459
Posts: 527
Joined: Tue Oct 04, 2022 11:49 am

Re: Yet again Grub issues, can't find my MX xfce

#19 Post by argonaut459 »

not print in terms of printing of paper - the german name for the key is in layman terms "Druck(en) Taste".

there we go -- looks promising:

Code: Select all

punisher@mxKDE:~
$ ls -l /boot/grub/custom.cfg
-rw-r--r-- 1 root root 837 29. Mär 16:10 /boot/grub/custom.cfg
punisher@mxKDE:~
$ cat /boot/grub/custom.cfg
menuentry 'XFCE MX 21.2.1' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7a86bd5b-d3a6-45ae-9a0d-45b813ee884f' {
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_gpt
        insmod btrfs
        set root='hd2,gpt3'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  7a86bd5b-d3a6-45ae-9a0d-45b813ee884f
        else
          search --no-floppy --fs-uuid --set=root 7a86bd5b-d3a6-45ae-9a0d-45b813ee884f
        fi
        echo    'Loading Linux 6.0.0-6mx-amd64 ...'
        linux   /@/boot/vmlinuz-6.0.0-6mx-amd64 root=UUID=7a86bd5b-d3a6-45ae-9a0d-45b813ee884f ro rootflags=subvol=@  quiet splash
        echo    'Loading initial ramdisk ...'
        initrd  /@/boot/initrd.img-6.0.0-6mx-amd64
}
punisher@mxKDE:~
Thank you very much in advance :heart:
Linux noob being grateful for help and assistance.

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

Re: Yet again Grub issues, can't find my MX xfce

#20 Post by fehlix »

reboot

Post Reply

Return to “MX KDE Official Release”