Test your bootable USB Flash Drive IN qemu Hi All When working with bootable and multiboot USB Flash drives,you need to test your flash by restarting your system and booting by UFD. And this takes a lot of time,specialy when you need to do this work several times. When searching the web pages to find a way to be able to test bootable UFD inside windows,i saw an free application that does this job. I have tested it several times by different bootable flash drives and worked perfect.
How To Test USB Drive(Pendrive) Is Bootable or Not. Get MObaLiveUSB Extract it and copy MobaLiveUSB.exe file to your pendrive. Email This BlogThis! Share to Twitter Share to Facebook. Newer Post Older Post Home. So i thought it may be helpful for some users too and now do as below: ===== 1.Make your bootable flash dive. 2.Download MobaLiveUSB_0.2.exe from link below: 2.Copy MobaLiveUSB_0.2.exe in root of your bootable usb flash drive. 3.Run MobaLiveUSB_0.2.exe inside your flash drive That's all,After few seconds your bootable flash drive will be run in.
So i thought it may be helpful for some users too and now do as below: 1.Make your bootable flash dive. 2.Download MobaLiveUSB0.2.exe from link below: 2.Copy MobaLiveUSB0.2.exe in root of your bootable usb flash drive.
3.Run MobaLiveUSB0.2.exe inside your flash drive That's all,After few seconds your bootable flash drive will be run in qemu. Hope will be some help. Shirin zaban.
Hi jaclaz I can not understand what do you mean Do you mean that a bootable usb device that runs in qemu,may be can not run by computer?? If you give more informations,i will be thankful shirin zaban Yes and no. Basically you are mapping a USB device mounted as physicaldrive by the host system (2K/XP/Vista/whatever) as the first or second hard disk in Qemu. First and second hard disk in Qemu are (virtually) PCI devices, and being mapped through the host OS may get them a different geometry from the actual one (i.e.
Get anyway the 'forced' 255/63 geometry these OSes use). Secondly the Qemu BIOS is a rather 'strict' one, it follows accurately the theoretical CHS mappings, as an example a USB stick (or image) smaller than 512 Mb will require to be booted, AT LEAST if it has partition type 06 (FAT16 CHS mapped) or 0B (FAT32 CHS mapped), a geomtry of 16/63. Some rudimental USB support (though AFAIK not yet booting support) has been added to recent Qemu releases, try playing a bit with Qemu Manager 6: experiment with PLoP in it: with an image of the USB device.
I don't think it is really working yet, VMware should: Hope the above clears the matter, if not feel free to ask about your doubts. Hey, just wanted to give a note to all: It is possible to do an actual USB boot in Qemu. And it seems to work fine according to tests I've done so far.
Needed: Qemu 0.14.1 (e.g. 0.11.1 didn't work at all, didn't try other/previous versions) Seabios 1.6.3, e.g.
From Modified vgabios-cirrus.bin from Qemu doesn't seem to support usb boot via parameter (yet). However SeaBIOS 1.6.3 has a boot menu via F12. From there you can boot a USB drive, either real physikal disk or qemu image, whichever you want to use. If you force the qemu boot order to empty, SeaBIOS will default to USB. Hope this helps.
P.S.: I use Qemu manager for configuration, since I'm working on Windows. Edited by fellaw, 08 March 2012 - 10:16 PM. That's quite useful, thanks. Qemu-system-x8664.exe -boot menu=on -L.m 256 -usb -usbdevice disk://./PhysicalDrive1This shows boot menu, after the timeout boots PhysicalDrive1 as USB disk in 1.1 or 1.0 speed. F12 for boot options and the disk can be selected this way.
PLoP 5.0.14 on the disk works and speeds it up. Qemu-system-x8664.exe -L.m 256 -usb -usbdevice disk://./PhysicalDrive1This boots directly PhysicalDrive1 as USB disk. Testing it with QEMU 13.0 and BIOS files from the links above. If a hard disk image is added too, i.e.
Qemu-system-x8664.exe -boot menu=on -L.m 256 -usb -usbdevice disk://./PhysicalDrive1 -hda test.imgit defaults to booting it, so USB boot can be used via F12 only. Thanks for update.
This seems to work until including 0.15.1, however not 1.0 and above. The F12 menu just doesn't show any USB drives. 1.0 as well as 0.15.1 support EHCI natively(still under development), thus giving 2.0 speed right from the start. Check 1.0.1 docs/usb2.txt for more(EHCI patches have been included since 0.15.1 iirc).
My command line for 0.15.1: qemu-system-x8664.exe -L.m 512 -readconfig configs ich9-ehci-uhci.cfg -drive file=. PhysicalDrive3,if=none,id=usbdrive1 -device usb-storage,bus=ehci.0,drive=usbdrive1 ich9-ehci-uhci.cfg was copied straight from 1.0.1 docs/ich9-ehci-uhci.cfg and contains parameters for a combined UHCI/EHCI PCI device. SeaBIOS has EHCI support since 0.6.0, as well as USB boot support. Qemu 1.0.1 comes with SeaBIOS 0.6.2, therefore there's no need to replace it with 1.6.3. Edited by fellaw, 10 March 2012 - 11:30 PM. This file enables USB boot possibilty for Qemu 1.0.1. To explain it a little bit further: Some time ago, I noticed that none of the top five standalone x86 emulators/hypervisors - VMWare Player/Workstation/Server, Virtual Box, Virtual PC, Qemu, Bochs - supports booting directly from USB, like common computers do.
That feature would be useful for tests with portable OSes. A common method to get a USB drive booted in a virtualized environment is setting it up as an internal drive(e.g.drive file=.PhysikalDrive1 in Qemu). But this gives no qualified conclusion whether such a OS would boot from USB on bare metal, maybe even leading to 0x7B stop errors or similar if you'd boot windows.Other methods used boot managers like PloP. I also found this thread regards. Some research of myself turned out that Qemu supports booting from USB, if you use a more recend version of it's BIOS rom, SeaBIOS. Best progress was made with Qemu 0.15.1 and SeaBIOS 1.6.3.
However, I had some stability issues in Qemu 0.15.1 and wanted to use version 1.0.1. In Qemu version 1.0.1, the USB entry from SeaBIOS 1.6.3 was suddenly gone.
I ran some debugging to find out the cause, but without luck. Yesterday, I compiled SeaBIOS pre-1.6.3.4 from source. It gave back the USB menu entry. I thought it would be nice to share it until the next stable release is out. Edited by fellaw, 17 March 2012 - 08:25 AM. It is very good, it is, not only for testing, it is a winxp for booting by Frends with his own Configuration and own Programms in a clean room without Formating and Partitioning and.and.and.
Without booting again. It is easy plugin the Stick and start you own XP. + you can copy and past any on the usb-stick. And can start in a 'clean room' maby for testing. With networkbrige in the Networktopology, sound, and so what it is need for let run a fully WinXP. Or Win95, 98, or maby a cool running from usb-dos 6.22.lol.
i have 4 8G-USB flying around here. Aand i have made a bootable-dos622.iso( i had know to need it. Hehe) i have a suggestion.
Can you make a single exe seach te iso in the same folder, start it, use the USB as C: maby MobaisoinstallLiveUSBxx.xx.exe to create a real running System on USB. Boot iso, check system (dos 6.22/win95/win98/XP/7 or maby linux ) add -if (realy) need- a g4d for booting the systems who it's need ad voila. How to push past with hard drives is desired in the past, you have the systems to USB via clean room. Qemu ( ohh on dos playing tyrian and doom 1 in dos with sb16 emu and in Win95 Doom2 ) or a 8 Gig usb with 4 Primary Partitions - 4 Systems. Dos, Win95/98, WinXP and Win7 and grub for dos is selecting to booting the system on the USB-stick. Maby a bootable iso like XP or W7 and take the usb as C: for installing on the USB-Stick for the 2nd start can use MobaLiveUSB for installing to end.
Or maby easy MobaLiveUSB /iso=C:worksystem.iso and without parameters direcktly on Host-cdrom for installing over CDRom on USB as C: the Sound it is SB16 Network 100Mbit card briged for booting with iso a clean usb for installing the system and hang it on for boot and CDromemu on next without this parameter use automatical the Floppy, CDrom of hostComputer. Coooolll + geeek-like!! If i mus get a Note =99Points(need iso-installer -1 Point) Note 1 as a easy portable VM on USB! Best regards Blacky Edited by Blackcrack, 13 May 2012 - 03:47 PM.