From owner-freebsd-current Sat Nov 14 15:15:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA24998 for freebsd-current-outgoing; Sat, 14 Nov 1998 15:15:41 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mx2.ews.uiuc.edu (mx2.ews.uiuc.edu [130.126.161.238]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA24986 for ; Sat, 14 Nov 1998 15:15:39 -0800 (PST) (envelope-from locke@mcs.net) Received: from petedorm (isr3193.urh.uiuc.edu [130.126.64.183]) by mx2.ews.uiuc.edu (8.8.8/8.8.8) with SMTP id RAA18548 for ; Sat, 14 Nov 1998 17:15:13 -0600 Message-Id: <3.0.5.32.19981114171514.00a154f0@popmail.mcs.net> X-Sender: locke@popmail.mcs.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sat, 14 Nov 1998 17:15:14 -0600 To: freebsd-current@FreeBSD.ORG From: Peter Johnson Subject: Help! Recovering from a ELF kernel moveover that didn't work!! Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I decided to move to an ELF kernel today--mistake, as it turns out: I compiled the kernel as ELF and installed as /kernel.elf, then manually did a "/boot/loader" at the boot: prompt, aborted the kernel boot, and typed "boot kernel.elf". That worked perfectly, booting fine with no errors. Then I did the following: "disklabel -B -b /boot/boot1 -s /boot/boot2 da0a" (da0a is my / slice). Now my system just reboots when I try to boot FreeBSD.. note: I'm booting from the Windows NT boot manager.. do I need to update the boot sector NT keeps in order for this to work? How can I reverse the disklabel command without being able to boot into FreeBSD? Should I grab a bootdisk? Help!! :) Thanks, Pete Johnson locke@mcs.net ------------------------------------- Peter Johnson ------------------------------------- locke@mcs.net http://locke.home.ml.org PGP Keys available from above address. ------------------------------------- Freelance C/C++/Java/Pascal/Asm programmer for DJGPP, Borland, and Watcom compilers Member of BiLogic demo group -> http://BiLogic.home.ml.org/ ------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message