Hi all,
Thanks to a huge patch from Harald (2 lines), the ELF vmlinux kernel
can now be booted from a NetBSD partition, using the new NetBSD bootblocks.
Steps to achieve this:
- Boot a NetBSD 1.4 Beta snapshot (see www.netbsd.org)
- use disklabel to create a small NetBSD partition, and a larger one
for linux, (and swap...)
- Install a minimal system on /dev/rz?a, with the new bootblocks
- Compile your linux kernel, including my NetBSD partition patch.
- Transfer the vmlinux (ELF kernel, not the nbImage ECOFF image) to
the root of the NetBSD partition.
- use the boot command below. Please not the dummy first argument
before console=, the netBSD bootloader somehow eats the first argument.
KN05 V2.1k
>boot 3/rz3/vmlinux -- console=ttyS2 root=/dev/sda1
>> NetBSD/pmax Secondary Boot, Revision 1.0
>> (simonb@mona, Fri Mar 26 14:48:06 EST 1999)
Boot: 3/rz3/vmlinux
1169552+122480/[190+94448+89966]=0x168b74
Starting at 0x800405cc
This DECstation is a DS5000/2x0
Loading R4000 MMU routines.
CPU revision is: 00000440
Primary instruction cache 16kb, linesize 16 bytes)
Primary data cache 16kb, linesize 16 bytes)
Secondary cache sized at 1024K linesize 32
Linux version 2.2.1 (root@elrond) (gcc version egcs-2.90.27 980315 (egcs-1.0.2
release)) #21 Fri Apr 23 16:56:42 MEST 1999
Calibrating delay loop... 59.90 BogoMIPS
Memory: 193120k/196604k available (1016k kernel code, 2180k data)
You can find the complete log at
http://www.xs4all.nl/~vhouten/mipsel/status.html
Regards,
--
Karel van Houten
----------------------------------------------------------
The box said "Requires Windows 95 or better."
I can't understand why it won't work on my Linux computer.
----------------------------------------------------------
|