Skip to content

Instantly share code, notes, and snippets.

@jas-
Last active August 20, 2025 00:35
Show Gist options
  • Save jas-/1062361 to your computer and use it in GitHub Desktop.
Save jas-/1062361 to your computer and use it in GitHub Desktop.
4.0GB Empty ISO
dd if=/dev/zero of=file.iso bs=516096 seek=9182 count=0
#!/bin/bash
# [email protected]
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
Exec()
{
if [ -f "os/$1" ] ; then
nohup qemu-system-x86_64 -m 1024 os/$1 -net user -net nic -redir tcp:8080::80 -redir tcp:2222::22 -redir tcp:4343::443 -vnc 127.0.0.1:1 -daemonize &
exit
else
echo "ISO not found, build it?" && ShowMenu
fi
}
ShowMenu()
{
echo "What would you like to do?"
echo " 1 - LAMP Server"
echo " 2 - Ulteo OVD Server"
echo " 3 - DMZ Server"
echo " 4 - ISO Builder"
echo " 5 - Quit"
echo "Enter your selection:"
read DATA
if [ $DATA ] ; then
while [ $DATA ] ; do
case "$DATA" in
1 ) echo "Launching LAMP Server..." && Exec "lamp.iso" ;;
2 ) echo "Launching Ulteo OVD Server..." && Exec "ulteo.iso" ;;
3 ) echo "Launching DMZ Server..." && Exec "bsd.iso" ;;
4 ) echo "ISO Builder Menu" && ShowBuildMenu ;;
5 ) exit 0 ;;
* ) ShowMenu ;;
esac
done
else
ShowMenu;
fi
}
ShowBuildMenu()
{
echo "Build menu not built..."
}
ShowMenu;
@Jimhasaburger
Copy link

Where is the file

@Bluscrn99
Copy link

its right there

thats the file

@RiffleXReal-Games
Copy link

and where can you download it what must i click

@Bluscrn99
Copy link

at the top right click download zip

@RiffleXReal-Games
Copy link

Ok thanks

@jas-
Copy link
Author

jas- commented Jun 29, 2025

You guys are making me laugh. Use the dd tool to make an empty file to use with qemu.

Here is an example. dd if=/dev/zero of=file.iso bs=516096 seek=9182 count=0

@Bluscrn99
Copy link

dont assume people have qemu installed and want to install it

@Bluscrn99
Copy link

oh you mean on linux nvm but some people dont have linux

@someone826
Copy link

and what if you guys use a linux vm?

@Bluscrn99
Copy link

some people dont and dont want to go through that much hassle just for a iso

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment