From owner-freebsd-questions@FreeBSD.ORG Mon Feb 16 13:32:14 2004 Return-Path: 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 465F816A4CE for ; Mon, 16 Feb 2004 13:32:14 -0800 (PST) Received: from niobe.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1512443D1F for ; Mon, 16 Feb 2004 13:32:14 -0800 (PST) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (localhost.ijs.si [127.0.0.1]) by niobe.ijs.si (Postfix) with ESMTP id 1E49B1DD53D; Mon, 16 Feb 2004 22:32:13 +0100 (CET) Received: from niobe.ijs.si ([193.2.4.66]) by localhost (niobe.ijs.si [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 57713-04; Mon, 16 Feb 2004 22:32:08 +0100 (CET) Received: from rincewind.ijs.si (rincewind.ijs.si [193.2.4.137]) by niobe.ijs.si (Postfix) with ESMTP id B971E1DD4B9; Mon, 16 Feb 2004 22:32:08 +0100 (CET) From: Dejan Lesjak To: "Evan Dower" Date: Mon, 16 Feb 2004 22:32:08 +0100 User-Agent: KMail/1.6 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402162232.08502.dejan.lesjak@ijs.si> X-Virus-Scanned: by amavisd-new / Sophos+Sophie at ijs.si cc: freebsd-questions@freebsd.org Subject: Re: Recovering Damaged Partition Table X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 21:32:14 -0000 On Monday 16 of February 2004 07:50, Evan Dower wrote: > Well, it worked mostly. I've got the partition table back and reinstalled > boot0, but I must be confused about the later boot stages, because I can't > get the partition I want to boot properly. I can boot from ad0s1a, but I > want to boot from ad0s2a. I can mount ad0s1a and ad0s2a as well as > ad0s3{d,e,f}, and everything seems to be in tact. In the bootloader, when I > hit F2 to boot ad0s2a it just beeps at me. I tried to use 'bsdlabel -B > /dev/ad0s2', but I must have done something wrong, because it didn't work. > I also tried 'bsdlabel -B -b /current/boot/boot /dev/ad0s2' where > /dev/ad0s2a is mounted on /current to no avail. What do I need to do? > Thanks some more, Hm, I'm afraid I have no idea why you can't boot from second slice. Still, I would try fiddling with boot0cfg(8) or restoring boot manager - see http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#BOOTMANAGER-RESTORE but do that from the most recent installation that you have on slices (if that is the one on ad0s2 then perhaps by entering sysinstall from install cd). You did manage to make your backups by now of course? Dejan