Date: Sat, 27 Nov 2004 14:38:56 -0500 From: Jeremy Faulkner <gldisater@gldis.ca> To: Erik Norgaard <norgaard@locolomo.org> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: Lost MBR/wrong disk geometry Message-ID: <41A8D7D0.8020400@gldis.ca> In-Reply-To: <41A8D1FA.8030005@locolomo.org> References: <41A8D1FA.8030005@locolomo.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Erik Norgaard wrote: > Hi, > > It appears that I have screwed my disk (60GB) thoroughly. I had used the > sample install.cfg for sysinstall but it has "partition=exclusive" and > not "all". I did > > dd if=/dev/zero of=/dev/ad0 count=1k > > as explained in the faq, and the exclusive partioning was gone. > > I can run sysinstall, slice up the disk and install stuff. But on reboot > the system doesn't find a usefull mbr. > > I can boot up a rescue disk, mount the partitions, read data stored and > use any programs installed. But I can't recover or create a new mbr with > > dd if=/boot/mbr of=/dev/ad0 > > or with /boot/boot0, or use fdisk to manually set slices and active > slice, run sysinstall and choose a bootmanager or similar. > > Please, how to I get back an mbr and a working partition table? > > Thanks! > > Cheers, Erik > 'fdisk -B' didn't work? -- Jeremy Faulkner <gldisater@gldis.ca> Resume: http://www.gldis.ca/gldisater/resume.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41A8D7D0.8020400>