Skip to content

Instantly share code, notes, and snippets.

@jas-
Last active October 21, 2025 09:42
Show Gist options
  • Select an option

  • Save jas-/1062361 to your computer and use it in GitHub Desktop.

Select an option

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
# jason.gerfen@gmail.com
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;
@Bluscrn99

Copy link
Copy Markdown

its right there

thats the file

@RiffleXReal-Games

Copy link
Copy Markdown

and where can you download it what must i click

@Bluscrn99

Copy link
Copy Markdown

at the top right click download zip

@RiffleXReal-Games

Copy link
Copy Markdown

Ok thanks

@jas-

jas- commented Jun 29, 2025

Copy link
Copy Markdown
Author

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
Copy Markdown

dont assume people have qemu installed and want to install it

@Bluscrn99

Copy link
Copy Markdown

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

@someone826

Copy link
Copy Markdown

and what if you guys use a linux vm?

@Bluscrn99

Copy link
Copy Markdown

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