From owner-freebsd-questions@FreeBSD.ORG Tue Jul 19 10:25:55 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C0BA16A41C for ; Tue, 19 Jul 2005 10:25:55 +0000 (GMT) (envelope-from dexter@ambidexter.com) Received: from tortoise.way.lv (7.lmuza.lv [195.13.151.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id D070343D53 for ; Tue, 19 Jul 2005 10:25:54 +0000 (GMT) (envelope-from dexter@ambidexter.com) Received: from localhost (localhost [127.0.0.1]) by tortoise.way.lv (Postfix) with ESMTP id 2F7D81FED57 for ; Tue, 19 Jul 2005 13:25:43 +0300 (EEST) Received: from tortoise.way.lv ([127.0.0.1]) by localhost (tortoise [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07252-04 for ; Tue, 19 Jul 2005 13:25:38 +0300 (EEST) Received: from [192.168.1.100] (unknown [62.85.46.110]) by tortoise.way.lv (Postfix) with ESMTP id D61D11FED52 for ; Tue, 19 Jul 2005 13:25:37 +0300 (EEST) Mime-Version: 1.0 Message-Id: Date: Tue, 19 Jul 2005 13:25:47 +0300 To: freebsd-questions@freebsd.org From: Michael Dexter Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at way.lv Subject: Remove GRUB? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 10:25:55 -0000 Hello, I was experimenting with the GRUB bootloader and would now like to remove it. Something went wrong and I must now use a bootable CD that gives me an option to "boot to the first partition" and the system boots fine. man bsdlabel gives: Installing Bootstraps If the -B argument is specified, bootstrap code will be read from the file /boot/boot and written to the disk. Assuming that this affects the mbr of the who drive, I tried: localhost# bsdlabel -B /dev/ad0 localhost# bsdlabel: /dev/ad0: no valid label found No problem, let's try the root partition: bsdlabel -B /dev/da0s1a No error, it blinked the hard drive activity light and appears to have done something but alas, it still reports a GRUB error 21 rather than given any sign of the FreeBSD loader. Any pointers to the rescue/install procedures applicable to this? Best regards, Michael Dexter