From ccfecc9ac2f450e63e4f1e810e0258d1217bb4db Mon Sep 17 00:00:00 2001 From: Alexandre Buisse Date: Mon, 7 Feb 2005 15:04:00 +0000 Subject: none --- Hurd/QemuImageForL4.mdwn | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Hurd') diff --git a/Hurd/QemuImageForL4.mdwn b/Hurd/QemuImageForL4.mdwn index 84b9d64e..bfbd6013 100644 --- a/Hurd/QemuImageForL4.mdwn +++ b/Hurd/QemuImageForL4.mdwn @@ -11,7 +11,7 @@ You will need the following : * automake 1.7 (or greater) * autoconf 2.53 (or greater) * grub -* the CVS version of hurd-l4, which you can retrieve from the savannah server: `cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/CVSROOT/hurd co hurd-l4` +* the CVS version of hurd-l4, which you can retrieve from the savannah server: `export CVS_RSH=ssh && cvs -z3 -d:ext:anoncvs@savannah.gnu.org:/cvsroot/hurd co hurd-l4` * two flavours of Pistachio, the L4 kernel, which can be found at . Take the demodisk for ia32 (`pistachio-ia32-0.4-demodisk.bin.bz2`) and the CVS version (NOT the source tarball !) : `cvs -d:pserver:guest@cvs.l4ka.org:/public-cvs login && cvs -z3 -d:pserver:guest@cvs.l4ka.org:/public-cvs co pistachio` We will begin with the hurd itself (these steps are taken from the `README`). @@ -100,7 +100,7 @@ We now have to modify a little bit the demodisk to use the kernel and servers we $ cd grub $ vi menu.lst -Your `menu.lst` should look like : +Your should edit `menu.lst` to make it look like : title GNU Hurd on L4 kernel /boot/laden -D -o serial,uart1,speed=9600 @@ -115,6 +115,8 @@ Your `menu.lst` should look like : The two -D are intended for debug, you can delete them if you want. It is possible that filenames are limited to 8 characters, check your image/boot directory for ia32-kernel. If it has been renamed into ia32-ker, modify the according line in menu.lst +When you start qemu, you will have two windows : the shell from which you launched it and a VGA window. You can interact with L4 in both windows (switching with the `config/console` command in the debugger). You can choose to have wortel and laden output to the serial device (the shell), which is default behaviour, or to VGA (change `-o serial,urt1,speed=9600` by `-o vga` in your menu.lst). + The image is now ready : $ cd ../../../ @@ -124,7 +126,7 @@ We can launch qemu: $ qemu -dummy-net -serial stdio -fda pistachio-ia32-0.4-demodisk.bin -boot a -Congratulations, you just booted Hurd/L4 ! To switch the KDB mode from character (I find it unusable) to command line, type +Congratulations, you just booted Hurd/L4 ! To start the Kernel Debugger, press `ESC`. To switch the KDB mode from character (I find it unusable) to command line, type > c /conf> m -- cgit v1.2.3