Creating bootable Porteus 5.0rc3 USB in Windows 10
Posted: 01 Aug 2021, 17:15
This worked for me and booted on my Windows 10 UEFI system.
USB50.cmd
But on my Windows 10 BIOS machine I get:
loop. Trying to break out gives:
USB50.cmd
Code: Select all
@echo off&title Install Porteus
:: ## Partition & format the USB drive with a msdos Partition table. ##
:: ## > diskpart * Run Command Prompt with Admin Rights. ##
:: ## > list disk ##
:: ## >.... ##
:: ## > select disk 1 * Note: disk nbr is the nbr of the USB disk ##
:: ## > clean ##
:: ## > exit ##
:: User customize settings. ISOdrv can be set when running if wrong.
set ISO=D:\ISOs\Porteus-CINNAMON-v5.0rc3-x86_64.iso
set ISOdrv=H:
set USBdrv=G:
echo Mounting %ISO%
powershell Mount-DiskImage -ImagePath "%ISO%"
if not exist %ISOdrv%\USB_INSTALLATION.txt (
set /p ISOdrv=Enter ISO's mount drive or q to quit: )
if /I "%ISOdrv%" == "q" exit
if exist %ISOdrv%\USB_INSTALLATION.txt (
echo "ISO drive: %ISOdrv%"
) else (
echo "Invalid ISO mount drive"
pause > nul
exit)
vol %USBdrv% > nul
if %errorLevel% == 0 (
echo "USB drive: %USBdrv%"
) else (
echo "Invalid USB drive"
pause > nul
exit)
echo.
echo Copying files from %ISOdrv%\ to %USBdrv%\
xcopy %ISOdrv%\* %USBdrv%\ /y /s /c
if %errorLevel% == 0 (
dir %USBdrv%\
) else (
echo "Xcopy failed!"
pause > nul
exit)
echo.
echo Installing Porteus to the %USBdrv% drive
cd /d %USBdrv%\boot
Porteus-installer-for-Windows.exe
label %USBdrv% Porteus
echo Dismounting %ISO%
powershell Dismount-DiskImage -ImagePath "%ISO%"
echo Done
pause > nul
exit
Code: Select all
SYSLINX 4.06 EDD 2012-10-23 Copyright (C) 1994-2012 H. Peter Anvin et al
vesamenu.c32: not a COM32R image
boot:
Code: Select all
Could not find kernel image: init