OK...mmmm I'm real bad about writing good how-to's dude
it's a long story....
however, assuming you already know how to make multiple partitions and install linux
then we're good to go...
there are in all I think 6 scripts in portable-qemu
make_vhd.sh (to make a qemu-img, of whatever size, raw, unformatted or partitioned, a blank)
make_vhd.bat (for windows)
install.bat
install.sh ( for booting a distro off iso image to either install or run read-only)
run.sh
run.bat ( for running distro off installed qemu-img rw or read-only as a real distro runs)
imitates a real os exactly except it's virtual
i can even access my real cdrom/usb/hd thru portable-qemu
meaning it's a hacking tool, not for those of unethical intentions, dig?
this is THE portable VM dogpound
so, here is the scripts now, before you edit them
you must edit them 1st!
make_vhd.sh
Code:
#!/bin/sh
# $Id: Invoke Portable-Qemu to make a VHD.
# 05/13/09 Exp root $
# -------------------------------------------------------------------------
# Purpose:
# To have the ability to install Slackware 12.2 DVD to a raw VHD and have
# it run as an installed OS from USB or a folder on your Desktop in both
# Linux and Windows!
# Needed:
# Portable-Qemu, SlackDVD, and slk_run.sh/.bat
# Author:
# Bryan Starr <thepenandpaper@gmail.com> 05/13/09
# -------------------------------------------------------------------------
./qemu-img create edit_name_and_size 0M
there you see edit name if name is "myvhd" and size is 200mb
it would be
Code:
./qemu-img create myvhd 200M
dig?
install.sh
Code:
#!/bin/sh
# $Id: invoke Portable-Qemu, boots multiple instances of Linux
# playing on Qemu root Exp root $
# -------------------------------------------------------------------------
# Purpose:
# To have the ability to play Linux(various) on Portable-Qemu
# From USB, within another Virtual system, and/or out
# of the folder on your Desktop!
# Author:
# Bryan Starr <thepenandpaper@gmail.com> 06/29/09
# -------------------------------------------------------------------------
for num in 1; do
qemu/qemu -L qemu/ qemu/kvm -no-kqemu -soundhw all -localtime -m 256 -boot d -cdrom name_of_isoimage.iso -hda qemu/name_of_image &
sleep 1s
done
note again the edits
Code:
-m 256 -boot d -cdrom name_of_isoimage.iso -hda qemu/name_of_image
edit for memory and name of iso and hd name IN qemu folder
Code:
-m 256 -boot d -cdrom my.iso -hda qemu/myvhd
dig?
run.sh
Code:
#!/bin/sh
# $Id: invoke Portable-Qemu, boots multiple instances of Linux
# playing on Qemu root Exp root $
# -------------------------------------------------------------------------
# Purpose:
# To have the ability to play Linux(various) on Portable-Qemu
# From USB, within another Virtual system, and/or out
# of the folder on your Desktop!
# Author:
# Bryan Starr <thepenandpaper@gmail.com> 06/29/09
# -------------------------------------------------------------------------
for num in 1; do
qemu/qemu -L qemu/ qemu/kvm -no-kqemu -soundhw all -localtime -m 256 -hda qemu/name_of_image &
sleep 1s
done
again, this time it's booting FROM the qemu-img as a hd
Code:
-m 256 -hda qemu/myvhd
qemu will only let you use 1/2 ypour real memory
so if you got 512mb ram
give qemu as mjuch as 250 maybe or it won't run
where it says
for num in 1; do
if you change that to
for num in 1 2 3; do
you'll get 3 qemu's pop up!
here's portable-qemu! 2mb
(
http://multidistro.com/downloads/iso...le-Qemu.tar.gz )
some distro's don't work
like debian and ubuntu
you want to use light window managers
no gnome, no kde, sorry
itll run slow
holler if you need help