diff options
Diffstat (limited to 'Hurd')
-rw-r--r-- | Hurd/QemuImageForL4.mdwn | 8 |
1 files changed, 5 insertions, 3 deletions
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 <http://www.l4ka.org/projects/pistachio/download.php>. 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 |