« Return to Thread: dd copy of FreeBSD-7.2 won't boot

Re: dd copy of FreeBSD-7.2 won't boot

by Daniel O'Connor-3 :: Rate this Message:

Reply to Author | View in Thread

On Tue, 23 Jun 2009, Jim Flowers wrote:

> I have a remote server that was dd copied from one hard drive to
> another - essentially the same size.  The disk device name (ad4) is
> the same but the geometry for the new drive has a CHS of 969021/16/63
>
> On booting it hangs at:
>
> F1        FreeBSD
> Boot:     F1
>
> I copied the MBR with 'boot0cfg -B -opacket ad4' just to be sure but
> no joy. fbsd fdisk reports start 63, with CHS beg: 0/1/1 end:
> 1023/15/63.
>
> Any help on direction to solve this?
I would have thought that boot0cfg would DTRT.

You could also try running fdisk -BI on your new disk to reinit the MBR,
then running boot0cfg on it.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


signature.asc (195 bytes) Download Attachment

 « Return to Thread: dd copy of FreeBSD-7.2 won't boot