Talk:LiveBackup XO-LiveCD

From OLPC
Revision as of 00:26, 18 March 2009 by Hhielscher (talk | contribs) (→‎cheat codes: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a good page; we need to merge with LiveCD... --Sj talk 18:18, 3 October 2008 (UTC)

Live CD mentions this project prominently (is it the OLPC Live CD now that someone removed the old 2007 info from that page?), I think we're OK. -- skierpage 00:31, 8 November 2008 (UTC)

Using the LiveCD image with Qemu

The 2008-11-06 PDF release notes (die, PDF, die!) say

"Alternate you can also use a virtual PC like Vitualbox, qemu, kvm or try any other software out of this category."

I tried using the .iso CD image with qemu on Windows

> cd \My\Path\to\qemu-0.9.0-windows
> qemu.exe -cdrom XO-LiveCD_081106.iso
Could not open '\\.\kqemu' - QEMU acceleration layer not activated
qemu: could not load PC bios '/c/Program Files/Qemu/bios.bin'

OK, so first start kqemu (a separate package)

> net start kqemu

The KQEMU virtualisation module for QEMU service was started successfully.

> qemu.exe -cdrom XO-LiveCD_081106.iso
qemu: could not load PC bios '/c/Program Files/Qemu/bios.bin'

so something hardcoded that path. So I renamed my qemu directory to C:\Program Files\Qemu (I could have probably skipped this and used the -L . command-line parameter.

> qemu.exe -cdrom XO-LiveCD_081106.iso
qemu: could not load PC bios '/c/Program Files/Qemu/bios.bin'

Even though that file is present. I took my old commands to load a .img OS image and replaced long-name_ext3.img with -cdrom XO-LiveCD_081106.iso

> qemu.exe -L . -m 256 -kernel-kqemu -soundhw es1370 -net user 
    -net nic,model=rtl8139 -hda -cdrom XO-LiveCD_081106.iso

progress! that started up a new window:

Plex86/Bochs VGABios current-cvs 14 Jun 2006
This VGA/VBE Bios is released under the GNU LGPL
...
cirrus-compatible VGA is detected
QEMU BIOS - build 11/01/06
$Revision: 1.174 $ $Date: 2006/10/17 16:48:05 $
Options: apmbios pcibios eltorito rombios32

ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (504 MBytes)
ata1 master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom
Boot from Hard Disk 0 failed
FATAL: Not a bootable disk

Hmmm??! Help! -- skierpage 00:52, 8 November 2008 (UTC)


Please correct the commandline!

> qemu.exe -L . -m 512 -kernel-kqemu -soundhw es1370 -net user 
    -net nic,model=rtl8139 -cdrom XO-LiveCD_081106.iso

cheat codes

What is the cheat code to change the resolution? F2 during boot does not work in VirtualBox.--Hhielscher 00:26, 18 March 2009 (UTC)