
Not sure what you mean, the current version of Grub2Win or the installing it to a Windows 10 system? I believe you installed Grub2Win to a flash drive last fall, can you copy it from there?
Code: Select all
guest@porteus:~$ EFI/porteus-efi-usb.sh
ISO=/mnt/sda6/ISOs/Porteus-CINNAMON-v4.0-x86_64.iso
USB=/mnt/sdb1
PORTEUS=/mnt/sda6/porteus4.0
Press Enter to continue, Ctrl+C to cancel.
Enter root's password
Password:
ls /mnt/sdb1
EFI USB_INSTALLATION.txt boot porteus porteus-efi-usb.sh <<<<<<<< Porteus 3.x system
/mnt/sdb1 drive?
Remove all existing files on /mnt/sdb1? [y/n] y
Copying porteus ISO files and folders to the USB drive.
Please wait!! This can take a minute or two.
And if it doesn't something is wrong!! Abort.
Press Enter to continue...
Installing Porteus to the USB drive - from the Live system?
Verifying archive integrity... All good.
Uncompressing Porteus Installer......
_.====.._
,:._ ~-_
'\ ~-_
\ \.
,/ ~-_
-..__..-'' PORTEUS ~~--..__
==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--
Installing Porteus to /dev/sdb1
WARNING: Make sure this is the right partition before proceeding.
Type 'ok' to continue or press Ctrl+c to exit.
ok
Flushing filesystem buffers...
Using extlinux bootloader.
Installation finished successfully.
You may reboot your PC now and start using Porteus.
Please check the /boot/docs folder for additional information about
the installation process, Porteus requirements and booting parameters.
In case of making tweaks to the bootloader config,
please edit: /mnt/sdb1/boot/syslinux/porteus.cfg file.
Press Enter to exit.
Porteus 4.0 install complete. Set to begin my restores.
Press Ctrl+C to exit & reboot, press Enter to continue...
guest@porteus:~$ ls /mnt/sdb1/
EFI/ USB_INSTALLATION.txt* boot/ porteus/ porteus-efi-usb.sh*
guest@porteus:~$
francois wrote: ↑05 Aug 2018, 02:48optimal partitioning:
https://community.spiceworks.com/topic/ ... -usb-stick
https://superuser.com/questions/379074/ ... ose-consid
ext4, ext2, noatime in fstab
Thanks for the link.Blaze wrote: ↑05 Aug 2018, 19:25
Ok, I found example screenshot where used GPT (UEFI) with installed Windows - /dev/sda[1-3] partitions.
/dev/sda4 for DATA (NTFS partition)
/dev/sda5 (SWAP - in modern times as such it is not needed)
/dev/sda[6-7] (ext4 or better ext2 can be as partition for Porteus)
Question. Can I install GRUB2 to /dev/sda1 for dual boot Windows and Porteus? In my option Windows installed on sda3, and Porteus installed on sdb1.
For example, for MBR I install GRUB like this grub2 menu entry (Post by Blaze #59969)
How it will looks for UEFI (I mean command for install GRUB2 in UEFI mode and how must looks grub.cfg for Porteus and Windows for dual boot in UEFI mode)?Thanks.Code: Select all
grub-install --efi-directory=??? --boot-directory=??? --bootloader-id=??? --target=x86_64-efi
@brokenman:brokenman wrote: ↑05 Aug 2018, 15:14Here is a config that works for me.
LABEL GRAPHICAL
MENU LABEL Graphics mode
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/intel-ucode.cpio,/boot/syslinux/initrd.xz
APPEND from=/mnt/sda2/port-current load=xfce4
On /mnt/sda1 I have a FAT32 partition with the EFI and boot folder.
On /mnt/sda2 I have operating systems on ext2
/mnt/sda2/port-current/porteus/base/{001-core.xzm,002-xorg.xzm}
So, can you try with a from=/mnt command first. If it fails please explain in more detail how it fails.
Code: Select all
root@debian:/mnt/sdc1/boot# ls
docs Porteus-installer-for-Windows.exe
Porteus-installer-for-Linux.com syslinux
root@debian:/mnt/sdc1/boot# Porteus-installer-for-Linux.com
bash: Porteus-installer-for-Linux.com: command not found
root@debian:/mnt/sdc1/boot#
Code: Select all
LABEL GRAPHICAL
MENU LABEL Graphics mode
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/intel-ucode.cpio,/boot/syslinux/initrd.xz
APPEND from=/mnt/sdc2/64bit_v31 load=/porteus/base/xfce4
LABEL GRAPHICAL
MENU LABEL Graphics mode
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/intel-ucode.cpio,/boot/syslinux/initrd.xz
APPEND from=/dev/disk/by-uuid/34103e53-f26a-4d02-8a9a-c6cb0915ab53/64bit_v31 load=/porteus/base/xfce4
Code: Select all
root@debian:/home/rimbaud# blkid
/dev/sda1: UUID="e9b98257-3751-4458-86cb-e01af19572e0" TYPE="ext4" PARTUUID="41827a0a-01"
/dev/sda5: UUID="a013dd46-2cfa-4238-982d-efb1e6229799" TYPE="swap" PARTUUID="41827a0a-05"
/dev/sdb1: LABEL="porteus" UUID="ba41ed7f-ed95-4555-bdbd-2ccd5a345cf8" TYPE="ext4" PARTUUID="75bd44ed-01"
/dev/sdb2: LABEL="manjaro" UUID="dbece8af-bf80-4407-8098-e086177240e8" TYPE="ext4" PARTUUID="75bd44ed-02"
/dev/sdc1: UUID="86F3-9F22" TYPE="vfat" PARTUUID="5bc85df4-01"
/dev/sdc2: UUID="34103e53-f26a-4d02-8a9a-c6cb0915ab53" TYPE="ext2" PARTUUID="5bc85df4-02"
/dev/sdc3: UUID="27ea40bf-6475-4b49-b761-768eddef6cf9" TYPE="ext2" PARTUUID="5bc85df4-03"
root@debian:/home/rimbaud#
This is odd.from=/dev/disk/by-uuid/34103e53-f26a-4d02-8a9a-c6cb0915ab53/64bit_v31
Code: Select all
from=UUID:34103e53-f26a-4d02-8a9a-c6cb0915ab53/64bit_v31
Code: Select all
from=/dev/sdc2/64bit_v31
Can you explain in more detail? What do you get? Blanks screen, error output?So I boot in syslinux but not into porteus 40.
Code: Select all
LABEL GRAPHICAL with UUID
MENU LABEL Graphics mode
KERNEL /boot/syslinux/vmlinuz
INITRD /boot/syslinux/intel-ucode.cpio,/boot/syslinux/initrd.xz
APPEND from=UUID:34103e53-f26a-4d02-8a9a-c6cb0915ab53/64bit_v31 load=/porteus/base/xfce4 extramod=/mnt/sdc2/64bit_v31/xfce/ changes=UUID:34103e53-f26a-4d02-8a9a-c6cb0915ab53/64bit_v31/xfce login=root