How to configure grub2 for full install Legacy OS 2017?

Using applications, configuring, problems
Post Reply
Message
Author
iggy50
Posts: 4
Joined: Tue 07 Nov 2017, 02:24

How to configure grub2 for full install Legacy OS 2017?

#1 Post by iggy50 »

Started with LUbuntu 15.04 on Presario 2500 with 60 Gbyte HD that already included GRUB2 installed on MBR then repartitioned with:

20 Gbyte for LUbuntu (ext4),
13 Gbyte (ext2) with frugal Wary puppy installed, and
8 Gbyte (ext2) with full install of Legacy OS 2017.

Now I've updated grub2 40_custom file to include booting Wary which works because I found several examples of grub2 menue-entry statements should be but only for Frugal install. Can anyone give me example of what the grub2 (not grub legacy) statements would be for a FULL install of Legacy OS 2017 be?

I noticed my full install of Legacy os 2017 didn't have the initrd.gz file inside the /boot dir so I removed it from the menu-entry. Was that correct? Anyways, when I try to boot Legacy it just gets a kernel panic and reboots.

40_custom file:

Code: Select all

#!/bin/sh
exec tail -n +3 $0
#echo "Adding 40_custom menu entries." >&2
# 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 'Wary Puppy (frugal) HD 0, partition 3' {
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 740fbe79-f67c-49a3-9b6f-e1f3b06e2cdc
echo	'Wary Puppy ...'
linux	/wary/vmlinuz pmedia=atahd psubdir=wary
echo	'Loading initial ramdisk ...'
initrd	/wary/initrd.gz
}
# Next entry (not working yet)
menuentry 'Legacy Puppy (full) HD 0, partition 4' {
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set 26f09c1b-42e1-4f71-9dfa-3e1cc2c94702
echo	'Legacy Puppy ...'
linux	/boot/vmlinuz root=/dev/sda4 pmedia=atahd
}

Post Reply