Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: new windows batch file< Next Oldest | Next Newest >
krazynesphreak Offline

Group: Members
Posts: 49
Joined: May 2004
Posted: Aug. 08 2005,01:49 QUOTE

since qemu 7.0 you can now boot from a physical drive. i haven`t seen anyone post this so i will. here is the code/bat in order to boot the drive. and you don`t need the embedded version to boot either.

Code Sample

@echo off

if EXIST d:\DSL.bat set BOOTDRIVE=\\.\d:
if EXIST e:\DSL.bat set BOOTDRIVE=\\.\e:
if EXIST f:\DSL.bat set BOOTDRIVE=\\.\f:
if EXIST g:\DSL.bat set BOOTDRIVE=\\.\g:
if EXIST h:\DSL.bat set BOOTDRIVE=\\.\h:
if EXIST i:\DSL.bat set BOOTDRIVE=\\.\i:
if EXIST j:\DSL.bat set BOOTDRIVE=\\.\j:
if EXIST k:\DSL.bat set BOOTDRIVE=\\.\k:
if EXIST l:\DSL.bat set BOOTDRIVE=\\.\l:
if EXIST m:\DSL.bat set BOOTDRIVE=\\.\m:
if EXIST n:\DSL.bat set BOOTDRIVE=\\.\n:
if EXIST o:\DSL.bat set BOOTDRIVE=\\.\o:
if EXIST p:\DSL.bat set BOOTDRIVE=\\.\p:
if EXIST q:\DSL.bat set BOOTDRIVE=\\.\q:
if EXIST r:\DSL.bat set BOOTDRIVE=\\.\r:
if EXIST s:\DSL.bat set BOOTDRIVE=\\.\s:
if EXIST t:\DSL.bat set BOOTDRIVE=\\.\t:
if EXIST u:\DSL.bat set BOOTDRIVE=\\.\u:
if EXIST v:\DSL.bat set BOOTDRIVE=\\.\v:
if EXIST w:\DSL.bat set BOOTDRIVE=\\.\w:
if EXIST x:\DSL.bat set BOOTDRIVE=\\.\x:
if EXIST y:\DSL.bat set BOOTDRIVE=\\.\y:
if EXIST z:\DSL.bat set BOOTDRIVE=\\.\z:

start qemu\qemu.exe -L qemu/ -m 128 -cdrom %BOOTDRIVE% -enable-audio -localtime


this code is how i have mine set.
Back to top
Profile PM 
0 replies since Aug. 08 2005,01:49 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Quick Reply: new windows batch file

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code