Merge 1ec415e852 into 5f0ccd3362
commit
de512ba3c6
|
|
@ -54,14 +54,19 @@ goto setup95
|
|||
|
||||
:setupNT
|
||||
\slax\boot\syslinux.exe -maf -d /slax/boot/ %DISK%:
|
||||
if %ERRORLEVEL% == 0 goto setupDone
|
||||
if %ERRORLEVEL% == 0 goto setupEFI
|
||||
goto errorFound
|
||||
|
||||
:setup95
|
||||
\slax\boot\syslinux.com -maf -d /slax/boot/ %DISK%:
|
||||
if %ERRORLEVEL% == 0 goto setupDone
|
||||
if %ERRORLEVEL% == 0 goto setupEFI
|
||||
goto errorFound
|
||||
|
||||
:setupEFI
|
||||
mkdir %DISK%:\EFI\Boot
|
||||
copy \slax\boot\EFI\Boot\* %DISK%:\EFI\Boot
|
||||
goto setupDone
|
||||
|
||||
:setupDone
|
||||
echo Installation finished.
|
||||
goto pauseit
|
||||
|
|
|
|||
|
|
@ -148,6 +148,10 @@ if [ "$DEV" != "$PART" ]; then
|
|||
) | fdisk $DEV >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
# UEFI boot loader
|
||||
mkdir -p "$BOOT/../../EFI"
|
||||
mv "EFI/Boot" "$BOOT/../../EFI/"
|
||||
|
||||
echo "Boot installation finished."
|
||||
echo "Press Enter..."
|
||||
read junk
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -24,10 +24,16 @@ goto setup95
|
|||
|
||||
:setupNT
|
||||
\boot\syslinux.exe -maf -d /boot/ %DISK%:
|
||||
goto setupDone
|
||||
goto setupEFI
|
||||
|
||||
:setup95
|
||||
\boot\syslinux.com -maf -d /boot/ %DISK%:
|
||||
goto setupEFI
|
||||
|
||||
:setupEFI
|
||||
mkdir %DISK%:\EFI\Boot
|
||||
copy \boot\EFI\Boot\* %DISK%:\EFI\Boot
|
||||
goto setupDone
|
||||
|
||||
:setupDone
|
||||
echo Installation finished.
|
||||
|
|
|
|||
|
|
@ -40,5 +40,9 @@ if [ "$DEV" != "$PART" ]; then
|
|||
) | fdisk $DEV >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
# UEFI boot loader
|
||||
mkdir -p "$BOOT/../../EFI"
|
||||
mv "EFI/Boot" "$BOOT/../../EFI/"
|
||||
|
||||
echo "Boot installation finished."
|
||||
cd "$CWD"
|
||||
|
|
|
|||
6
build
6
build
|
|
@ -49,11 +49,15 @@ if [ "$INITRAMFS" != "" ]; then
|
|||
mv "$INITRAMFS" $BOOT/initrfs.img
|
||||
fi
|
||||
|
||||
cp bootfiles/* $BOOT
|
||||
cp -r bootfiles/* $BOOT
|
||||
cat bootfiles/syslinux.cfg | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" > $BOOT/syslinux.cfg
|
||||
cat bootfiles/bootinst.bat | sed -r "s:/boot/:/$LIVEKITNAME/boot/:" | sed -r "s:\\\\boot\\\\:\\\\$LIVEKITNAME\\\\boot\\\\:" > $BOOT/bootinst.bat
|
||||
cp $VMLINUZ $BOOT/ || exit
|
||||
|
||||
# UEFI booting
|
||||
mv $BOOT/EFI/Boot/syslinux.efi $BOOT/EFI/Boot/bootx64.efi
|
||||
cat $BOOT/syslinux.cfg | sed -r "s:/$LIVEKITNAME/boot/vesa::" > $BOOT/EFI/Boot/syslinux.cfg
|
||||
|
||||
# create compressed 01-core.sb
|
||||
COREFS=""
|
||||
for i in $MKMOD; do
|
||||
|
|
|
|||
Loading…
Reference in New Issue