I've been maintainer of a disk imaging project going back to 2004.
Looked at option of creating an RPM, but go a link to mailing list, 
but it then turned out to be dead.

Generally use Fedora to create Project with an iso using syslinux to 
boot for CD or usb, then added option to create usb to boot from 
usb with bios / uefi boot using grub4dos. All works fine.

Also found, could add to the regular grub2 menu with just putting 
the kernel and initramfs file in /boot and adding entry to 
/boot/loaders/entries.

#!/usr/bin/bash
unzip g4l-lite-fc43.zip linux/bz7x10 linux/initramfs.lzma -d /boot
# puts kernel and initramfs in /boot directory
# create /boot/loader/entries for option to load from grub2

machineid=$(cat /etc/machine-id) 

{
echo title G4L 0.70
echo version 0.G4L
echo linux /$(ls bz* | grep -v .config)
echo initrd /initramfs.lzma
echo grub_users \$grub_users
echo grub_arg --unrestricted
echo grub_class fedora
} >/boot/loader/entries/"$machineid"-0-G4L.conf

Then have option to boot directly to it in ram.

Use latest kernels built from kernel.org. then build the initramfs
recently converted from initrd to initramfs and added zstd 
compression, which is faster than older lzo default.
Currently images my 1T laptop drive to a 78G image file in about 
34 minutes. 

On notebook it creates (telnetd is an option to load telnetd)
cat 
/boot/loader/entries/5454d68084c145e496d5ce383b5147de-0-G4L.c
onf 

title G4L 0.70
version 0.G4L
linux /bz7x0.10 telnetd=yes
initrd /initramfs.lzma $tuned_initrd
grub_users $grub_users
grub_arg --unrestricted
grub_class fedora

Latest files.
13329408 May 23 23:20 /boot/bz7x0.10
26252385 May 28 05:17 /boot/initramfs.lzma

Any suggestions. 


+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor (Retired)     
 mailto:[email protected]                            
 mailto:[email protected]
 mailto:[email protected]
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+



-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to