Tiny Core Base > TCB Talk

Tinycorelinux Qemu Embedded

(1/4) > >>

alex:
Hi:

It would be great if RobertS adapts the DSL Embedded files to Tinycorelinux.

I'm trying to run tinycore from a pendrive and boot either
natively or from within Windows.

I'm trying to follow Roberts's DSL Embedded quide but I had no sucess with Qemu.

I have two questions:

1) which options do I have to include in qemu in order to boot with BzImage and tinycore.gz files AND have persistancy the same way as booting natively

tried :

qemu.exe -L . -m 384 -kernel bZImage -initrd tinycore.gz -append "vga=791 quiet"

qemu.exe, bZimge and tinycore.gz are in the same directory

but no sucess with booting

2) is there any option to pass to tinycore when booting natively in order to recognize a virtual hd (in DSL was restore=harddisk , where harddisk is the name of the virtual disk image).

I'm a linux and english language newbee so please apologies.

Regards, and keep the good work!



Lee:
Hi Alex,

I have been using TC in Qemu on Win XP pretty painlessly like this:

1) Download & install qemu

--- Code: ---http://www.h6.dion.ne.jp/~kazuw/qemu-win/qemu-0.9.0-windows.zip
--- End code ---

2) Modify qemu-win.bat  as follows:

--- Code: ---@ECHO OFF
REM Start qemu on windows.

REM SDL_VIDEODRIVER=directx is faster than windib. But keyboard cannot work well.
SET SDL_VIDEODRIVER=windib

REM SDL_AUDIODRIVER=waveout or dsound can be used. Only if QEMU_AUDIO_DRV=sdl.
SET SDL_AUDIODRIVER=dsound

REM QEMU_AUDIO_DRV=dsound or fmod or sdl or none can be used. See qemu -audio-help.
SET QEMU_AUDIO_DRV=dsound

REM QEMU_AUDIO_LOG_TO_MONITOR=1 displays log messages in QEMU monitor.
SET QEMU_AUDIO_LOG_TO_MONITOR=0

REM PCI-based PC(default): -M pc
REM ISA-based PC         : -M isapc
REM -M isapc is added for NE2000 ISA card.

IF x%1x == xx GOTO NOARG

IF EXIST %1 GOTO LOAD

:BADARG
  ECHO %1 not found.  Please specify one of the following:
  DIR *.iso
  GOTO END

:NOARG
  ECHO No system specified.  Please specify one of the following:
  DIR /b *.iso
  ECHO.
  PAUSE
  GOTO END

:LOAD
  REM qemu.exe -L . -m 64 -hda /dev/sda -soundhw all -localtime -M isapc
  qemu.exe -L . -m 128 -cdrom %1 -boot d -hda \\.\PhysicalDrive0
  GOTO END

:END

--- End code ---

3) Make a shortcut to qemu-win.bat

4) Download the latest TC iso to the qemu directory

5) To run it, simply drag the TC iso and drop it onto the qemu-win.bat shortcut.  For some reason this process is referred to as "dragon droppings", or something like that.

You might want to modify your qemu-win.bat for safety - do away with

--- Code: ----hda \\.\PhysicalDrive0
--- End code ---

or to change the allocated memory - modify

--- Code: ----m 128
--- End code ---

alex:
Hi Lee:

Thank you for your response.

I'm afraid that the option -hda \\.\PhysicalDrive0 will not work since I don't have administrator right's in my PC.

What I'm looking is to have persistancy in my USB flash having launched Qemu.

I'll keep trying to adapt the DSL Embedded *.bat files

Regards,

Alex.

roberts:
Sorry, I no longer run or have access to any Windows OS.

tobiaus:

--- Quote from: alex on March 27, 2009, 06:40:24 AM ---What I'm looking is to have persistancy in my USB flash having launched Qemu.

--- End quote ---

getting tc running in qemu is easy, just use qemu [any special items you want like -m 128 ... although qemu uses 128 anyway] -boot d -cdrom drive:\path\tinycoreimage.iso [then instead of -hda etc use -hda usbdriveletter:\path\qemuvirtualimage, where virtualimage is a blank image you've created, or! one you created for dsl.]

Navigation

[0] Message Index

[#] Next page

Go to full version