thanks to all the users for their help
conclusion:
impossible to start linux installed with live cd using cheatcodes
But with his contributions I did the following:
PREVIOUS:
It was needed
to. a Mageia UEFI 64 system installed
b. a bootable usb with Xenial Pup 64 UEFI
from here:
1. I obtained the grubx64.efi of a mageia 5.1 UEFI installation
2. I obtained the /boot/ folder of a mageia 5.1 UEFI installation
3. I obtained the grub.cfg file of a bootable usb
4. extract the list of UUID from the disk partitions of the LAPTOP with w 10 UEFI
PROCEDURE AT THE LAPTOP
1. Resize the partition of W 10
2. create the partition (or partitions) for the Puppylinux ext4
3. Install Xenual Puppy 64 UEFI in sda6 full mode in sda6 (NOOO install grub4dos)
4. Rename the /boot/ folder in Xenial installed as /boot_p/ in sda6
5. copy the folder /boot/ obtained of mageia to sda6/
6. replace the file grub.cfg in sda6/boot/grub2/ with the content (grub.cfg) proposed below
(extracted from the grub.cfg of the bootable usb with XenialPuppy and the mageia grub.cfg)
7. make sure to modify the number 6 of each partition in (hd0, gpt6) and change the UUID according to the case (in grub.cfg)
8. make sure the line linux /boot_p/ vmlinuz root=/dev/sda6, in the '/boot_p/' part
9. Make sure to change the chainloader line '/EFI/Microsoft/Boot/bootmgfw.efi' by chainloader '/EFI-w/Microsoft/Boot/bootmgfw.efi'
.. ( It can be arranged for sda4, sda5, sda6,... ) .
IN THE WINDOWS START PARTITION (fat32, assuming it is sda1)
1. copy /EFI/ as /EFI-w/
2. in /EFI/ remove everything and leave /EFI/Boot/ empty.
3. copy grubx64.efi from mageia to /EFI/Boot.
4. Rename grubx64.efi as bootx64.efi
5. using mc, edit the bootx64.efi --> search stringr '(, gpt #) /boot/grub2' and in # put the number of the partition where the /boot/grub2/grub.cfg is. save
Restart.
In my case, I see a series of error lines but in the end they work the WIndows 10 and the Xenial Puppy 7.5 UEFI full installed
To rebuild the LAPTOP,
1. in partition start delete /EFI/ and rename /EFI-w/ as /EFI
2. remove the ext4 partitions created before
3. Resize the W 10 partition to its original size again.
grub.cfg
Code: Select all
insmod png
background_image /boot_p/xenial.png
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 52ceac00-aa32-4ed7-b84e-b5cdb2a1ef79
else
search --no-floppy --fs-uuid --set=root 52ceac00-aa32-4ed7-b84e-b5cdb2a1ef79
fi
set timeout=50
menuentry 'Xenial Puppy 7.5 UEFI full /dev/sda6 OK)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-52ceac00-aa32-4ed7-b84e-b5cdb2a1ef79' {
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 52ceac00-aa32-4ed7-b84e-b5cdb2a1ef79
else
search --no-floppy --fs-uuid --set=root 52ceac00-aa32-4ed7-b84e-b5cdb2a1ef79
fi
linux /boot_p/vmlinuz root=/dev/sda6
}
menuentry 'Windows 10 Boot Manager SDA1-System sda3' --class windows --class os $menuentry_id_option 'osprober-efi-1C92-8498' {
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 1C92-8498
else
search --no-floppy --fs-uuid --set=root 1C92-8498
fi
chainloader /EFI-w/Microsoft/Boot/bootmgfw.efi
}
menuentry "Shutdown" {
halt
}
menuentry "Reboot" {
reboot
}
menuentry "Xenial-Puppy sda7-frugal" {
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 82029622-0e9f-4c63-9956-7926ea0fa307
else
search --no-floppy --fs-uuid --set=root 82029622-0e9f-4c63-9956-7926ea0fa307
fi
linux /vmlinuz
initrd /initrd.gz
}
(I have not been able to attach the used files)
but:
https://www.filehosting.org/file/detail ... R_boot.zip
Thank you again[/url]