Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2011 15:53:27 +0200
From:      Polytropon <>
To:        "Graham Bentley" <>
Subject:   Re: Re-create MBR
Message-ID:  <>
In-Reply-To: <45FC473B20A540FB8BC59D14A35989D2@admin>
References:  <> <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,

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

Want to link to this message? Use this URL: <>