From owner-freebsd-questions Sat Dec 2 20:23:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from resnetnt.resnet.uconn.edu (resnet.resnet.uconn.edu [137.99.156.20]) by hub.freebsd.org (Postfix) with ESMTP id 532DE37B401 for ; Sat, 2 Dec 2000 20:23:22 -0800 (PST) Received: by resnetnt.resnet.uconn.edu with Internet Mail Service (5.5.2650.21) id ; Sat, 2 Dec 2000 23:19:34 -0500 Message-ID: <9F36E367710D474E9806AA393FE737FB019EF8@resnetnt.resnet.uconn.edu> From: Peter Lai To: 'Andy Farkas ' , Peter Lai Cc: "''freebsd-questions@freebsd.org' '" Subject: RE: how to restore broken bootsector Date: Sat, 2 Dec 2000 23:19:28 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG yeah will i fixed it using /stand/sysinstall going into the the partition editor and setting /dev/ad0s1 as bootable, hitting 'w' (which btw, is not listed during the installation process), and rebooting. -----Original Message----- From: Andy Farkas To: Peter Lai Cc: 'freebsd-questions@freebsd.org' Sent: 12/2/2000 8:50 PM Subject: Re: how to restore broken bootsector On Fri, 1 Dec 2000, Peter Lai wrote: > while i was doing some upgrading, i think i accidently broke my MBR. I can > boot using a fixit disk, and mount everything nicely, but when I try to boot > regularly, the BIOS says "incorrect partition table" or something. > > how would i rewrite that from either fixit or sysinstall? disklabel -w -B ad0 auto man 8 disklabel -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message