LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 02-18-2008, 05:52 PM   #1
davidengel
LQ Newbie
 
Registered: Feb 2008
Posts: 6

Rep: Reputation: Disabled
Question Combination bootable Linux USB key and QEMU launch?


I am looking for a distribution/setup, or more specifically a 'how-to,' that I can use on USB key that will:
  • allow me to boot off the USB pen drive to a Linux system
  • allow me to access the Linux system from Windows (using Qemu, etc.) without rebooting if the computer is already running.

I have taken a look at DSL, Puppy, and some other systems, but I am having problems figuring out how to make $HOME (or some directory) readable by both setups.

Anyone with an idea out there on how to do this? Encryption would be nice but is not a priority.

David
 
Old 02-18-2008, 07:27 PM   #2
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
I'm sure there are more elegant ways to solve this, but a quick and dirty solution might be put puppy on a usb drive, then use vmware or virtualbox to open it as an iso, when you need to use it from within windows. In the "guest settings" change the "cdrom" to an iso image, located on the usb drive. I haven't tested it, but it should work. I prefer virtualbox, which does have a windows version, but I think you have to use the closed source version (but still free as in beer, I think) to have usb support, but maybe not. This I can test quick....I think the closed source version supports usb for the guest, I think you can use an iso image on a usb drive from the host with either version. I'll test it out quick and get back to you here.

David

OK, I just did my little test, and virtualbox, the free GPL version, boots up with no "hard drive", just an iso image located on a usb thumb drive. Now, you just need to make sure that the iso image located on a thumb drive will boot up without virtualbox or vmware or whatever looking after it. I did also find another post about just this sort of thing.

http://www.linuxquestions.org/questi...ewbies-621783/

Last edited by budword; 02-18-2008 at 08:07 PM.
 
Old 06-16-2009, 02:50 PM   #3
davidengel
LQ Newbie
 
Registered: Feb 2008
Posts: 6

Original Poster
Rep: Reputation: Disabled
Talking Combination bootable Linux USB key and QEMU launch - SOLVED

I found this solution:

http://www.pendrivelinux.com/all-in-...ivelinux-2008/
 
Old 06-16-2009, 03:56 PM   #4
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
mmmm...yeah, but does pendrive play on Linux too?
and with mine you can play the qemu even in a linux livecd/usb too
I got lots of different ones, some not listed
wanna try new 6 partition vhd Portable-MultiDistro-0.10?
It's a 1.6GB vhd with
1-tinycore-2.0 with lots of apps
2-WebServerPuppy1 HD install
3-DSL-4.4.10 HD Install
4-Puplet Netbook904 Frugal Install
5-MyDSL-4.4.10 Frugal-MyDSL Install
6 swap

all distro's run and play just like real linux too.
I got some here too
( http://multidistro.com/downloads/por...portables.html )
screenshots are of tinycore-2.0 portable/lappy install and dsl portable
( http://multidistro.com/shots/scrnshots.html )
( http://multidistro.com/tinycore-shots/tc-scrnshots.html )
Portabel-qemu has both scripts for making vhd's and installing/running.
not all distro's work.
You want link for multidistro-portable above hit me up
 
Old 12-04-2011, 04:45 PM   #5
kickuindajunk
LQ Newbie
 
Registered: Aug 2010
Posts: 10

Rep: Reputation: 0
Solution: Boot Usb drive in QEMU

Hi,

Came across this post and many other list this which did not provide an easy solution.

Here is my solution to boot a usb drive in QEMU

1) open terminal
2) $ lsusb
3) find the bus and device number for the usb to boot: "Bus 002 Device 008: ID 13fe:3600 Kingston Technology Company Inc."
4) run qemu with command args: sudo qemu-system-x86_64 -m 512 -enable-kvm -usb -device usb-host,hostbus=2,hostaddr=8
where hostbus and hostaddr come from the lsusb output

Hope this helps as it is an easy solution, no more rebooting to test usb devices.
 
  


Reply

Tags
bootable, portable, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create Bootable CD from USB key galliar Suse/Novell 2 02-08-2008 07:01 AM
How to make a bootable multi-LiveOS USB key? adLucem Linux - Newbie 1 07-20-2007 06:03 AM
Bind Mouse Button Combination to Keyboard Key Combination? neoAKiRAz Linux - Desktop 0 05-04-2007 01:49 PM
howto auto-launch a script when usb key inserted? adamrosspayne Linux - Newbie 3 09-22-2006 05:21 AM


All times are GMT -5. The time now is 10:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration