raja the updated USB drive booted my UEFI notebook, my BIOS netbook, and my old Windows 7 desktop. The latter with no mouse or task bar but it did boot the GUI.
No ldlinux.sys that I see.
Code: Select all
Microsoft Windows [Version 10.0.19043.1110]
(c) Microsoft Corporation. All rights reserved.
C:\Users\Ed>dir g:\boot\syslinux
Volume in drive G is PORTEUS
Volume Serial Number is FE1A-6D02
Directory of g:\boot\syslinux
08/02/2021 04:07 PM <DIR> .
08/02/2021 04:07 PM <DIR> ..
05/09/2020 11:24 PM 2,048 boot.cat
05/09/2020 11:24 PM 24,652 chain.c32
05/09/2020 11:24 PM 20 extlinux.conf
11/02/2020 05:53 AM 1,152,600 initrd.xz
07/03/2021 06:25 PM 40,960 isolinux.bin
07/03/2021 06:27 PM 2,048 isolinux.boot
05/09/2020 11:24 PM 20 isolinux.cfg
05/09/2020 11:24 PM 181,944 libcom32.c32
05/09/2020 11:24 PM 23,628 libutil.c32
05/09/2020 11:24 PM 1,248 lilo.conf
05/09/2020 11:24 PM 43,575 plpbt
06/28/2021 07:50 PM 3,212 porteus.cfg
05/09/2020 11:24 PM 92,713 porteus.png
05/09/2020 11:24 PM 46,909 pxelinux.0
05/09/2020 11:24 PM 1,352 reboot.c32
05/09/2020 11:24 PM 20 syslinux.cfg
05/09/2020 11:24 PM 26,684 vesamenu.c32
07/03/2021 06:18 PM 5,507,456 vmlinuz
18 File(s) 7,151,089 bytes
2 Dir(s) 30,364,729,344 bytes free
C:\Users\Ed>dir g:\boot\
Volume in drive G is PORTEUS
Volume Serial Number is FE1A-6D02
Directory of g:\boot
08/02/2021 04:07 PM <DIR> .
08/02/2021 04:07 PM <DIR> ..
06/14/2021 04:27 AM <DIR> docs
07/03/2021 06:18 PM <DIR> syslinux
06/19/2020 01:19 AM 383,400 Porteus-installer-for-Linux.com
05/04/2020 03:13 PM 119,021 Porteus-installer-for-Windows.exe
08/04/2021 09:27 PM 199,533 porteus-win.exe
3 File(s) 701,954 bytes
4 Dir(s) 30,364,729,344 bytes free
C:\Users\Ed>
Since the drive booted on multiple systems maybe not needed??
Added in 2 hours 55 minutes 33 seconds:
raja wrote: ↑04 Aug 2021, 18:02
Now how to create this self extracting and automatic install "sfx" module.?
Ok.
Thank you
raja.
raja wrote: ↑04 Aug 2021, 18:02
You shall download LZMA SDK, 7z development kit. Link below..
https://www.7-zip.org/a/lzma1900.7z
Extract the "bin" folder.
You will find sfx module " 7zS2con.sfx"
create a folder , say loader and copy install.bat,syslinux.exe and syslinux64.exe
Right click on that folder...add to "loader.7z.
I was good right down to the last step. I don't see a "loader.7z" anywhere.
Code: Select all
Microsoft Windows [Version 10.0.19043.1110]
(c) Microsoft Corporation. All rights reserved.
C:\Users\Ed>dir g:\boot\loader
Volume in drive G is PORTEUS
Volume Serial Number is FE1A-6D02
Directory of g:\boot\loader
08/04/2021 05:36 PM <DIR> .
08/04/2021 05:36 PM <DIR> ..
07/31/2021 05:24 AM 1,999 install.bat
10/06/2014 07:00 AM 243,712 syslinux.exe
10/06/2014 07:00 AM 248,832 syslinux64.exe
08/04/2021 05:38 PM <DIR> bin
3 File(s) 494,543 bytes
3 Dir(s) 30,362,370,048 bytes free
C:\Users\Ed>dir g:\boot\loader\bin
Volume in drive G is PORTEUS
Volume Serial Number is FE1A-6D02
Directory of g:\boot\loader\bin
08/04/2021 05:38 PM <DIR> .
08/04/2021 05:38 PM <DIR> ..
08/04/2021 05:38 PM <DIR> installer
02/21/2019 01:00 PM 42,496 7zdec.exe
02/21/2019 12:00 PM 523,776 7zr.exe
02/21/2019 01:00 PM 34,816 7zS2.sfx
02/21/2019 01:00 PM 34,816 7zS2con.sfx
02/21/2019 12:00 PM 124,928 7zSD.sfx
02/21/2019 12:00 PM 108,544 lzma.exe
08/04/2021 05:38 PM <DIR> x64
6 File(s) 869,376 bytes
4 Dir(s) 30,362,370,048 bytes free
C:\Users\Ed>
Added in 1 day 20 hours 9 minutes 56 seconds:
Good grief.
raja wrote: ↑04 Aug 2021, 18:02
Right click on that folder...add to "loader.7z.
Right click on that folder, select 7-zip...Add to "loader.7z"
I can now make the .exe file.
I've going to try a .cmd file in place of your .bat file in which I have tweaked some of your code. Will help see what's happening with missing ldlinux.sys file.
Added in 3 hours 17 minutes 35 seconds:
Ok. Built the .exe using your files including your .bat file. The rebuilt USB drive boots on my UEFI and BIOS 64bit machines but not the old 32bit desktop this time.