Boot on Usb and slide to the hard drive ...
Posted: 16 Jul 2021, 16:41
Very quickly after having tested ISOs on Usb Key, I noticed that files were written on the hard disk, whereas I had not installed Porteus on this one (but only copied the 2 folders "boot" and "porteus" on an Ext4 partition, because I did not want to install it and thus to overwrite the mbr to be able to still boot on Windows which I had just installed)
( I'm not on recent machines, so I don't know if the problem exists on those with Uefi )
So if I boot Porteus on an USB key (Iso or Installed), once the menu is displayed, the boot will look for the porteus folder with the same version on the hard disk partition (ntfs or ext4) and boot on it !
if I boot on the usb key with a desktop that is different from the one installed on the hard disk, but with the same version of Porteus (4 or 5*) it will boot on the desktop of the hard disk
- The problem is easily solved if the Porteus is installed on the USB key; you just have to edit the boot menu (porteus.cfg in the "syslinux" folder of the key) by adding on each line "APPEND" :
It works perfectly !
- For ISOs deposited on USB keys installed with Ventoy, the "APPEND" lines of "porteus.cfg" must be modified before for each Iso as follows:
- For ISOs in Hard disk startup with Grub2Win , I can improve things only for Porteus V.5 ( not with V.4 ... I don't know why !) with adding "from=/mnt/sda8/Porteus5/Porteus-LXDE-v5.0rc2-x86_64.iso" :
( The configs files I edit are in "grub2/windata/customconfigs/ )
*
it won't make the difference between .0rc1, 2 or 3 either
( I'm not on recent machines, so I don't know if the problem exists on those with Uefi )
So if I boot Porteus on an USB key (Iso or Installed), once the menu is displayed, the boot will look for the porteus folder with the same version on the hard disk partition (ntfs or ext4) and boot on it !
if I boot on the usb key with a desktop that is different from the one installed on the hard disk, but with the same version of Porteus (4 or 5*) it will boot on the desktop of the hard disk
- The problem is easily solved if the Porteus is installed on the USB key; you just have to edit the boot menu (porteus.cfg in the "syslinux" folder of the key) by adding on each line "APPEND" :
Code: Select all
from=/dev/sdb1/
- For ISOs deposited on USB keys installed with Ventoy, the "APPEND" lines of "porteus.cfg" must be modified before for each Iso as follows:
Code: Select all
APPEND from=/dev/sdb1/Porteus-XFCE-v5.0rc3-x86_64.iso
- For ISOs in Hard disk startup with Grub2Win , I can improve things only for Porteus V.5 ( not with V.4 ... I don't know why !) with adding "from=/mnt/sda8/Porteus5/Porteus-LXDE-v5.0rc2-x86_64.iso" :
( The configs files I edit are in "grub2/windata/customconfigs/ )
Code: Select all
clear
set isopath='/Porteus5/Porteus-LXDE-v5.0rc2-x86_64.iso'
set kernelpath='/boot/syslinux/vmlinuz'
set initrdpath='/boot/syslinux/initrd.xz'
set bootparms='boot=/Porteus5/ iso-scan/filename='$isopath' from=/mnt/sda8/Porteus5/Porteus-LXDE-v5.0rc2-x86_64.iso noprompt noeject ---'
#
g2wisoboot # Run the g2wisoboot function
*
it won't make the difference between .0rc1, 2 or 3 either