Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 1998 20:41:16 +1000 (EST)
From:      Andrew Kenneth Milton <akm@zeus.theinternet.com.au>
To:        mike@smith.net.au (Mike Smith)
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Booting Elf Kernel
Message-ID:  <199811021041.UAA23800@zeus.theinternet.com.au>
In-Reply-To: <199811020817.AAA08915@dingo.cdrom.com> from Mike Smith at "Nov 2, 98 00:17:36 am"

next in thread | previous in thread | raw e-mail | index | archive | help
+----[ Mike Smith ]---------------------------------------------
| > Is it possible to boot an ELF kernel?
| 
| Yes.
| 
| > The Release Notes say that the kernel is still in aout format, but, is
| > there a way? I don't have any active LKM's to worry about, and I'm
| > reinstalling most of my stuff in ELF format anyway.
| 
| You probably want to update to -current first.  Following a 'make world',
| build an ELF kernel by setting KERNFORMAT to 'elf' in the environment 
| before doing the kernel build.  Install the kernel as /kernel.elf

I'd got this far... of course it wouldn't boot :-)

| Reboot, and at the boot: prompt type '/boot/loader', then abort the 
| kernel load and type 'boot kernel.elf'.

I did some mucking around today.

I got to the point of putting /boot/loader into boot.config
and then got very confused... as it didn't want to load
',kernel.old' 

I've got it booted now in time to read this email...

| If this works for you, the next step is to update the bootblocks with
| 'disklabel -B -b /boot/boot1 -s /boot/boot2 <disk>' where <disk> is 
| your boot slice.  Remove any existing /boot.config file.

This is my final step :-)

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   |  Andrew
The Internet (Aust) Pty Ltd          |  F:+61 7 3870 4477   |  Milton
ACN: 082 081 472                     |  M:+61 416 022 411   |72 Col .Sig
PO Box 837 Indooroopilly QLD 4068    |akm@theinternet.com.au|Specialist

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811021041.UAA23800>