Last active
October 21, 2025 09:42
-
-
Save jas-/1062361 to your computer and use it in GitHub Desktop.
4.0GB Empty ISO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dd if=/dev/zero of=file.iso bs=516096 seek=9182 count=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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; |
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
dont assume people have qemu installed and want to install it
oh you mean on linux nvm but some people dont have linux
and what if you guys use a linux vm?
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
Ok thanks