Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 2000 23:19:28 -0500 
From:      Peter Lai <PeterL@resnet.uconn.edu>
To:        'Andy Farkas ' <andyf@speednet.com.au>, Peter Lai <PeterL@resnet.uconn.edu>
Cc:        "''freebsd-questions@freebsd.org' '" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: how to restore broken bootsector
Message-ID:  <9F36E367710D474E9806AA393FE737FB019EF8@resnetnt.resnet.uconn.edu>

next in thread | raw e-mail | index | archive | help
 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




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