Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
v0.9.9.4
Browse files Browse the repository at this point in the history
- New menu: ISO & IMG Mapper. Just copy the ISO file to the AIO Boot drive and then boot from this menu.
	- Tested with Debian, Ubuntu, Fedora... FreeBSD, pfSense. Windows installer ISOs are not supported.
	- The AIO Boot drive will be temporarily replaced by a small partition labeled AIO_MAP. The partitions will be restored the next time you boot into Grub2. Do not add, delete or modify files on this partition before you restore the AIO Boot drive.
	- If the PartIMG_Root.img and/or ISO files are fragmented, you will need to defragment it first. Just defragment the file, no need to defragment the drive.
	- If you are updating from the old version, you should reinstall Grub2 by running AIOCreator.exe, selecting Grub2 from the Bootloaders.
	- Only MBR disks are supported.
- Added Porteus (UEFI & Legacy & persistent). Only supports USB.
  • Loading branch information
nguyentumine committed Aug 17, 2020
1 parent a112d77 commit 0c1a1de
Show file tree
Hide file tree
Showing 38 changed files with 284 additions and 568 deletions.
Binary file added AIO/Files/PartIMG_ROOT.img
Binary file not shown.
File renamed without changes.
Binary file modified AIO/Tools/AIOCreator_x64.exe
Binary file not shown.
File renamed without changes.
1 change: 1 addition & 0 deletions AIO/Tools/grub4dos/bootiso.g4b → AIO/bootiso.g4b
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

:: AIO Boot - www.aioboot.com

find --set-root --ignore-floppies --ignore-cd %1
map %1 (0xff) || map --mem %1 (0xff)
map --hook
chainloader (0xff)
1 change: 1 addition & 0 deletions AIO/Tools/grub4dos/bootraw.g4b → AIO/bootraw.g4b
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

:: AIO Boot - www.aioboot.com

find --set-root --ignore-floppies --ignore-cd %1
map %1 (fd0) || map --mem %1 (fd0)
map --hook
root (fd0)
Expand Down
1 change: 1 addition & 0 deletions AIO/Tools/grub4dos/bootvhd.g4b → AIO/bootvhd.g4b
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

:: AIO Boot - www.aioboot.com

find --set-root --ignore-floppies --ignore-cd %2
map --mem /AIO/Tools/grub4dos/ntboot.iso (0xff)
map --hook
(0xff)/NTBOOT %1=%2
51 changes: 22 additions & 29 deletions AIO/grub/Main.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ menuentry "[${hotkey}] ${installwiniso}" --hotkey=${hotkey} {
#unset ignore_dir_args
#export ignore_fs_args="fat procfs pyfs"
#export ignore_dir_args="procfs pyfs"
unset pim
unset fs_args
unset file_ext_args
unset file_in_loop_args
Expand All @@ -18,6 +19,23 @@ menuentry "[${hotkey}] ${installwiniso}" --hotkey=${hotkey} {
configfile ${prefix}/FileManager.cfg
}
### End InstallWinISO
### Start ISO & IMG Mapper
if [ "$scheme" == "msdos" ]; then
GetHotkey
submenu "[${hotkey}] ISO & IMG Mapper" --hotkey=${hotkey} {
#unset ignore_fs_args
#unset ignore_dir_args
#export ignore_fs_args="fat procfs pyfs"
#export ignore_dir_args="procfs pyfs"
unset fs_args
unset file_ext_args
unset file_in_loop_args
export file_ext_args="iso img"
export pim=1
FileManager "(${root})"
}
fi
### End ISO & IMG Mapper
### Start BootFrom
GetHotkey
menuentry "[${hotkey}] ${bootfrom}" --hotkey=${hotkey} {
Expand All @@ -27,6 +45,7 @@ menuentry "[${hotkey}] ${bootfrom}" --hotkey=${hotkey} {
#export fs_args="fat ntfs exfat"
#export ignore_fs_args="fat procfs pyfs"
#export ignore_dir_args="procfs pyfs"
unset pim
unset fs_args
unset file_ext_args
unset file_in_loop_args
Expand Down Expand Up @@ -71,8 +90,8 @@ fi
if [ -n "$pc" ]; then
GetHotkey
menuentry "[${hotkey}] Grub4dos" --hotkey=${hotkey} {
grub4dosroot
set opt="debug off; root ${g4droot} > nul; configfile /AIO/Menu/Grub4dos.lst"
Grub4dosRoot
set opt="root ${g4droot};configfile /AIO/Menu/Grub4dos.lst"
linux ${g4d_path}/grub.exe --config-file=${opt}
}
fi
Expand All @@ -95,12 +114,6 @@ fi
}
### End refind
fi
### Start Partition Tools
GetHotkey
menuentry "[${hotkey}] ${parttoolmenu}" --hotkey=${hotkey} {
configfile ${prefix}/PartitionTool.cfg
}
### End Partition Tools
### Start Search Grub2 configfile
GetHotkey
menuentry "[${hotkey}] ${searchcfgmenu}" --hotkey=${hotkey} {
Expand Down Expand Up @@ -136,29 +149,9 @@ menuentry "[${hotkey}] ${changeroot}" --hotkey=${hotkey} {
### End changeroot
### Start help
GetHotkey
submenu "[${hotkey}] ${lhelp}" --hotkey=${hotkey} {
submenu "[${hotkey}] ${settings}" --hotkey=${hotkey} {
set hotkey="_"
GetHotkey
menuentry "[${hotkey}] ${about}" --hotkey=${hotkey} {
helpmenu about
}
GetHotkey
menuentry "[${hotkey}] ${menu}" --hotkey=${hotkey} {
helpmenu menu
}
GetHotkey
menuentry "[${hotkey}] PartIMG Mapper" --hotkey=${hotkey} {
helpmenu partimg
}
GetHotkey
menuentry "[${hotkey}] ${bootfiles}" --hotkey=${hotkey} {
helpmenu bootfiles
}
GetHotkey
menuentry "[${hotkey}] ${fm}" --hotkey=${hotkey} {
helpmenu filemanager
}
GetHotkey
submenu "[${hotkey}] ${bgmenu}" --hotkey=${hotkey} {
ChangeBackground
}
Expand Down
74 changes: 0 additions & 74 deletions AIO/grub/PartitionTool.cfg

This file was deleted.

1 change: 1 addition & 0 deletions AIO/grub/background.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bg="splash.png"
Loading

0 comments on commit 0c1a1de

Please sign in to comment.