On 22 Jan 2023 at 9:00, stan via users wrote:
Date sent:       Sun, 22 Jan 2023 09:00:50 -0700
To:              users@lists.fedoraproject.org
Subject:         Re: @x86-baremetal-tools on F37
Organization:    zohofree
Send reply to:   Community support for Fedora users <users@lists.fedoraproject.org>
From:            stan via users <users@lists.fedoraproject.org>
Copies to:       stan <upaitag@zoho.com>
> On Sat, 21 Jan 2023 16:25:51 -0600
> Ranjan Maitra <mlmaitra@gmx.com> wrote:
>
> > Hi,
> >
> > I am trying to roll my own Fedora 37 openbox spin (for personal use).
> >
> > However, i came across the group @x86-baremetal-tools in
> > /usr/share/spin-kickstarts/fedora-live-base.ks
> >
> > but I get:
> >
> > # sudo dnf groupinstall @x86-baremetal-tools
> >   Last metadata expiration check: 2:15:02 ago on Sat 21 Jan 2023
> > 02:01:56 PM CST. Module or Group 'x86-baremetal-tools' is not
> > available. Error: Nothing to do.
> >
> > Where do i get this group?
>
> I was intrigued, so did some investigation.  It is gone, no longer
> needed.
>
> https://pagure.io/fedora-kickstarts/pull-request/895
>
> I also found this script that you might find useful, at least as a
> reference.
>
> https://gist.github.com/cyborganizer1/b34fa50afa2d79d3e002187497a133da
>
> It has baremetal-tools in it, but you could just comment or remove that
> line.
Not sure what this group was for, but looked at the page, and it talks about memtest86+ as well.
The latest grub iso of memtest86+ has two memtest programs (One that works fine with legacy boot, and one that works with UEFI boot).
I've used isomaster to pull the two programs, but change names to memtest.leg and memtest.uefi and put them in /boot. Then modifiy the /etc/grub.d/20_memtet86+ to
# !/bin/sh
exec tail -n +3 $0
# 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 'Memtest Legacy' {
 echo 'Loading memtest 6.01 for BIOS BOOT SYSTEM'
 linux /memtest.leg
}
menuentry 'Memtest UEFI' {
 echo 'Loading memtest 6.01 for UEFI BOOT SYSTEM'
 linux /memtest.uefi
}
That then adds the two lines to the grub boot menu, and picking the correct one for boot seems to work fine in both cases.
As for baremetal backup, I've been maintainer of g4l since 2004, and it is basically a disk imaging program, and have had option to add it to grub menu as well. Latest version does work with both legacy and uefi boot in my test machine (not secure boot thou).
Use 40_custom with
# !/bin/sh
exec tail -n +3 $0
# 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 G4L_Version_0.63_video_800x600 {
 set gfxpayload=800x600x16,800x600
 linux /bz6x1.7 root=/dev/ram0 telnetd=yes
 initrd /ramdisk.lzma
}
kernels built from kernel.org, and ramdisk.lzma built using Fedora 36 as base at moment.
Just put files in /boot
10856224 Jan 19 00:28 bz6x1.7
26252475 Jan 22 18:03 ramdisk.lzma
also have an usb that uses grub4dos to boot with both legacy and uefi options.
So, not exactly sure what they were doing with group. Used it a lot with my computer labs before I retired, but still use it to create back images  and clone my home machines.
Really like have working memtest86+ 6.01.
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-leave@lists.fedoraproject.org
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor (Retired)    
 mailto:mikes@guam.net                           
 mailto:msetzerii@gmail.com
 Guam - Where America's Day Begins                       
 G4L Disk Imaging Project maintainer
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+