Assuming you have Windows installed and boot it using UEFI. Partition table after Windows install is: gpt.
Boot to your current Porteus/X USB.
Step1. Partitions
--Resize the NTFS C: partition using GParted
--make a new ext4 partition labeled "PorteuSX"
--Optionally fine-tune it:
Code: Select all
tune2fs -m1 /dev/sda5
(Setting reserved blocks percentage to 1%)
tune2fs -o journal_data_ordered /dev/sda5
--download PorteuX iso and mount it
--copy from it the porteux folder onto the new ext4 partition
--copy from the iso/boot/syslinux 2 files: initrd.zst and vmlinuz onto /mnt/sda1/ appending X to their names
--get a grub2: we need grub's bootx64.efi, grubx64.efi, and grub.cfg
--copy those 3 files into a new subfolder /mnt/sda1/EFI/grub/
Step3. Make a grub.cfg to be like this:
(By the way, how does one make text of the grub menu larger?)set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
set timeout=5
menuentry 'Porteus' {
linux /vmlinuz changes=/porteus login=root from=LABEL:PorteuSX fsck zram=33%
initrd /initrd.zst
}
menuentry 'PorteuX ' {
linux /vmlinuzX from=LABEL:PorteuSX changes=/porteux login=root fsck
initrd /initrdX.zst
}
Step4. UEFI menu
--Reboot, press F2 etc. to get into your BIOS
--add a new UEFI boot menu entry e.g. "Grub" pointing to the /EFI/grub/bootx64.efi
Step5. Reboot to Windows to check if it's still working. Check its resized NTFS partition for errors
Step6. Reboot choosing the Grub menu, then choose PorteuX. That should boot into PorteuX off the hard disk
Step7. Do the same with Porteus
Then the hard disk ext4 partition will contain 2 folders: porteux and porteus. The first, EFI partition will have 4 files: initrdX.zst, vmlinuzX; and initrd.zst, vmlinuz