Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2011 15:53:27 +0200
From:      Polytropon <freebsd@edvax.de>
To:        "Graham Bentley" <admin@cpcnw.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Re-create MBR
Message-ID:  <20110905155327.c5265ff1.freebsd@edvax.de>
In-Reply-To: <45FC473B20A540FB8BC59D14A35989D2@admin>
References:  <20110905120034.969251065832@hub.freebsd.org> <45FC473B20A540FB8BC59D14A35989D2@admin>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Sep 2011 13:26:38 +0100, Graham Bentley wrote:
> Hi All,
> 
> I had to install Linux to participate in a project I was involved with.
> Now is all finished I have restored the partition but now
> need a 3bsd boot sector back. Scheme is ;
> 
> 0 Primary XP
> 0 Extended FAT32
> 1 Primary FreeBSD
> 
> Approx 1/3 disc for each. How can I restore the 3bsd
> boot sector?

See "man fdisk". In your case - depending on device names
you are currently using - something _like this_ should do
the trick:

	# fdisk -B /dev/ad0s2

I think you can also use the sysinstall Partition screen
to update the boot sector (make no change to the slice
listing, maybe mark the FreeBSD slice as "active", then
exit the screen and choose either "standard MBR" or the
"boot manager" depending on your requirements).

As I'm not a multi-boot person, I can't be more specific,
sorry.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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