I have an old computer running Xubuntu, 64bit, 2GB RAM. I used the Puppy Bookworm 10.0.8 ISO to install Puppy to partition #3 on an MBR disk.
During the install I was asked for a directory name, which I gave as Puppy10.
When I was askied if I wanted to install a boot loader, I said no, as I did not want to break my current setup. I thought I could just run update-grub from within xubuntu and it would create a grub entry using os-prober.
But Os-prober, which finds the other OS's on the system, cannot find Puppy.
I tired manually creating a menu entry in my current grub.cfg file, but that did not work and I had to revert to the backup copy of grub.cfg, to get my ssytem to boot at all.
How should i proceed to create a menu entry in grub.cfg, that will boot Puppy?
Solved:
Using the example provided and the explanation of how 40_custom works I was able to create a menu entry and boot Puppy from my usual grub menu.
Thank you all.
pgmer6809