Running linux live from a usb drive
ive been looking around the net on tutorials on how to do this but everything ive been coming up with is how to boot linux from a thumbdrive.
what im hoping to do is run linux from the thumbdrive in a window inside whatever os im running. so basically i am wondering if this is possible and what steps id have to take to achieve it |
Welcome to LQ!
i think you mean run linux from usb in windows while running windows? maybe no... i think you mean run linux from usb in windows while running windows? maybe YES! via qemu interested in virtual linux qemu runs from usb/hd/cd on windows and linux can be read-only via iso or as REAL system via partitioned qemu-img I'm the Maker, let me pat myself on the back...:) Others have made them that run only on windows, but mine runs on both very fast and got kvm for linux part too that'll be $49.95 dude for that LOL, just joking I don't think you can run linux in windows without qemu or other virtual machine? if interested in portable-qemu I 'll drop link and where to get portable-kqemu for Dindows too:) |
yeah, running linux while running windows, much like in vm is what i was hoping to acheive.
im definitely interested in portable-qemu for windows and linux so a link would be sweet. i was thinking of using a portable version of vm but this thought just came to me today and had only started searching around after i put this post up. |
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 it would be Code:
./qemu-img create myvhd 200M install.sh Code:
#!/bin/sh Code:
-m 256 -boot d -cdrom name_of_isoimage.iso -hda qemu/name_of_image Code:
-m 256 -boot d -cdrom my.iso -hda qemu/myvhd run.sh Code:
#!/bin/sh Code:
-m 256 -hda qemu/myvhd 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:) |
thanks man, i should be able to get it working with what you gave me
its been a while since ive done anything in-depth with linux so this will be a nice refresher. ill let ya know how things turn out but it may be a few days before i get enough free time to work on it. much appreciated, and dont worry, im not one to hack for malicous reasons, actually going for the ethical hacker cert later this year :) |
cool
dsl-4.4.10 full hd install(not MyDSL), using single user using bootcode dma=on boots fastest I have seen at 35sec to desktop on 1.8 ghz 768mb ram amdXP 2200+ PC 2nd fastest may be browserpuppy49 frugal or tinycore-2.1+ with opera, flash10, etc lite apps (tcz's) big ole slack with xfce4 is pretty slow...too bad:( |
http://www.linux-live.org/... I haven't tried this yet but it looks like tutorials and information can all be found there. This will make a bootable linux flash drive or cd... your bios would have to support booting from usb.
QEMU has a stand alone version that works in both windows and linux supposedly. |
All times are GMT -5. The time now is 10:56 AM. |