Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 2004 18:50:46 +0100
From:      Erik Norgaard <norgaard@locolomo.org>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Solved: Lost MBR/wrong disk geometry
Message-ID:  <41AA0FF6.1000208@locolomo.org>
In-Reply-To: <41A8DB45.5070505@locolomo.org>
References:  <41A8D1FA.8030005@locolomo.org> <41A8D7D0.8020400@gldis.ca> <41A8DB45.5070505@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Erik Norgaard wrote:
> Jeremy Faulkner wrote:
>> 'fdisk -B' didn't work?
> Nope :-( I have installed gpart, it complians*

dd if=/dev/zero of=/dev/ad0 bs=512 count=32
fdisk -BI ad0
dd if=/dev/zero of=/dev/ad0s1 bs=512 count=32
bsdlabel -w -B ad0s1

did the job. I think I shouldn't have specified -w in the last command 
because it created a root partition taking the whole disk which I then 
had to delete.

But, at least I'm up booting :-)

Cheers, Erik

-- 
Ph: +34.666334818                                  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2



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