I had decided to buy a cheap 240GB SSD in order to give my old DEll Vostro 230 a bit of a boost. I mentioned this to my son in law and he had a little used 500GB SSD with some windows directories on it which he gave me. I currently had two "rust" drives on the machine one of which contained Linux Mint and the other contained my Pups, Dogs and a copy of Easy OS. These drives were booted separately. The Mint drive was booted using it's grub2 and the puppy one using grub4dos. I thought with the SSD I would install Mint to one partition and the Pups etc to a second partition both formatted to ext4 and boot all of them using the version of grub2 installed by Mint. I deleted the windows directories before reformatting the drive. As I had a lot of room now I gave Mint around a 200GB ext4 partition. I successfully installed Linux Mint 21.1 to this partition. I made another 200GB ext4 partition to contain the Pups etc. This left about 65GB unallocated. I had done something similar in the past when I only had one "rust" drive. Again I had a Mint partition and a Pup etc partition. I used "Grub Customiser" to help write the Pup boot stanzas to grub2. This worked well for me but I've read that Grub Customiser is no longer supported as it allegedly causes problems. I installed the files for F96-CE_4 in a directory of the same name on the Pups partition with a view to booting this OS as a test. I looked in the forum for instructions as to how to do this and found this thread.
Bellow is the menuentry script I used.
Code: Select all
menuentry 'Puppy Linux - F96-CE_4' {
search --no-floppy --fs-uuid --set=root 4af42c9e-ef64-4453-a3c3-96da260b25e0
linux /F96-CE_4/vmlinuz pmedia=atahd psubdir=/F96-CE_4
initrd /F96-CE_4/initrd.gz
}
This was added to/etc/grub.d/40_custom
the contents of which are shown below.
Code: Select all
#!/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 'Puppy Linux - F96-CE_4' {
search --no-floppy --fs-uuid --set=root 4af42c9e-ef64-4453-a3c3-96da260b25e0
linux /F96-CE_4/vmlinuz pmedia=atahd psubdir=/F96-CE_4
initrd /F96-CE_4/initrd.gz
I ran sudo update-grub
then shutdown and rebooted. I did not see a boot menu showing both Mint and F96-CE_4 but only a blank screen then the Linux Mint boot up symbol which eventually booted to the Mint desktop. On further reading I thought the command perhaps should be sudo update-grub2
but this made no difference.
Below is a quote from a post further down this thread.
But instead of using the custom40 file which requires a grub update from the command line to be made operational, I place the code in a custom.cfg file in the /boot/grub folder. As it is not a BASH executable but a text file, it only contains the GRUB2 code, in fact, as many as required. The new code(s) will automatically be picked up in the GRUB process and displayed in the boot menu.
In addition, this method makes for a very quick process to add a new frugal Puppy OS or modify the existing GRUB2 script.
I am unsure about trying this method so have not. However, I have looked inside the existing /boot/grub/grub.cfg
file and at the very bottom it does contain my menuentry as shown above. You may be able to tell that I don't use grub2 much so any help as to how I can use the Mint version of grub2 to boot F96-CE_4 would be much appreciated.
Regards,
Ken.