USB booting :: pressed for time question



Well, first...trying to install to a USB will take up much more space than the compressed iso version. To run hikarunix-0.4.iso from a USB drive you would need to copy hikarunix-0.4.iso to the USB. Also, you would need to copy qemu.exe and sdl.dll to the drive. Next you should create a directory entitled 'bios' and copy the files  from the 'bios' directory in your Qemu installation to the 'bios' directory on your USB drive. If you are creating a virtual disk drive and want to use it, put that in your USB drive also I named it 'hardisk.img' in the example below).

Then create a windows_qemu.bat file and put the following lines in it:

Code Sample

REM Start qemu on windows.
@ECHO OFF

START qemu.exe -L "\bios" -m 500 -hda hardisk.img -cdrom hikarunix-0.4.iso -boot d -enable-audio -localtime

CLS
EXIT


This should work. Keep us posted on your results.

desNotes

Quote (desnotes @ April 02 2006,23:17)
Well, first...trying to install to a USB will take up much more space than the compressed iso version. To run hikarunix-0.4.iso from a USB drive you would need to copy hikarunix-0.4.iso to the USB. Also, you would need to copy qemu.exe and sdl.dll to the drive. Next you should create a directory entitled 'bios' and copy the files  from the 'bios' directory in your Qemu installation to the 'bios' directory on your USB drive. If you are creating a virtual disk drive and want to use it, put that in your USB drive also I named it 'hardisk.img' in the example below).

Then create a windows_qemu.bat file and put the following lines in it:

Code Sample

REM Start qemu on windows.
@ECHO OFF

START qemu.exe -L "\bios" -m 500 -hda hardisk.img -cdrom hikarunix-0.4.iso -boot d -enable-audio -localtime

CLS
EXIT


This should work. Keep us posted on your results.

desNotes

should I type that the way it is or use....

START qemu.exe -L "\bios" -m 500 -sda1 hardisk.img -cdrom hikarunix-0.4.iso -boot f -enable-audio -localtime

and change "-cdrom" to whatever the designation for the USB slot is?

The designation for the distro must always be -cdrom, that is the way Qemu works. As for for the harddisk.img, that is designated if you want to save any data (like results, configurations, etc.). Qemu does not allow the USB drive by itself to be able to be written to. There is a command to access the USB drive (-hdb fat:/my_directory) but it allows read-only access.

Copy it the way I sent it above and try it out.

desNotes

sorry for taking so long...

I've tried the suggestion on what to copy over from Qemu and where to put things and the batch file too, all I got is....

ata0master: QEMU HARDDISK ATA=2 HARD-DISK (150 MBytes)
ata0 slave: unknown device
ata1 master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom
ata1 slave: unknown device

CDROM boot failure code: 0004
Boot from CD-ROM failed
FATAL: could not read the boot disk

----------------------------------
(something is telling me to give up and just forfeit any hope for a warranty on my laptop purchase by having the company put a blank partition?)

I will try to build one of my USB drives using the hikarunix-0.4.iso this weekend and see what happens and let you know.

Just as a test have you tried burning the iso to a CD and then trying to boot from it? You won't be able to save anything but it would verify that your iso is not corrupt.

desNotes

Next Page...
original here.