Date: Mon, 24 Aug 2009 11:50:28 -0400 From: PJ <af.gourmet@videotron.ca> To: freebsd-questions@freebsd.org Subject: Re: moving a disk Message-ID: <4A92B6C4.8070309@videotron.ca> In-Reply-To: <4A929241.5060406@videotron.ca> References: <4A929241.5060406@videotron.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
PJ wrote: > I am trying to move a 7.2 installation to another computer where it is > to be the only OS acting as a server for the lan. > On bootup I get the message: > Using drive 0, partition 3. > And there it hangs. > I have tried to rewrite the mbr but that did absolutely nothing. > fik ad0 returns: > partitions 1,2,3 are <UNUSED> > Parrtition 4 give the cylinder, heads, sectors, blocks stuff > > The disk did boot up on another box... > > What should I do? And what information do I need to supply or look for > to solve this. > I'd rathernot go through another installation even if this is farly > elementary. > Oh, yes... all my former problems were definitely software related as I > have checked and double, triple checked my HDDs and cannot find any > problems therewith. here is what I have found in looking at the disk when it's mounted on another FBSD system through an USB interface: it is mounted on /dev/ad0 fdisk ad0 ---> returns partitions 1,2,3 as <UNUSED>; partition 4 is marked for sysid 166 OpenBSD (this seems to be left over from an installation that was never completed) fdisk ad0s4 ---> returns same, except partition 4 is: sysid 165 (FreeBSD,NetBSD/386BSD) I also note that the other functioning FBSD 7.2 has partitions 2-4 as <UNUSED> and partition 1 has the cylinder parameters. I get the impression that I should use the disklabel editor to change all that but am not familiar with it and am not sure how to use it. Here is what bsdlabel shows: # /dev/ad0s4: #this is the one that does not boot 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2097152 63 4.2BSD 2048 16384 28552 b: 2097152 2097215 swap c: 12594897 63 unused 0 0 # "raw" part, don't edit d: 2097152 4194367 4.2BSD 2048 16384 28552 e: 2097152 6291519 4.2BSD 2048 16384 28552 f: 4204544 8388671 4.2BSD 2048 16384 28552 partition c: partition extens past end of unit disklabel: partition c doesn't start at 0! disklabel An incorrect partition c may cause problems for standard system utilities # /dev/ad4s1: #this one boots 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 4194304 0 4.2BSD 2048 16384 28552 b: 6291456 4194304 swap c: 156301425 0 unused 0 0 # "raw" part, don't edit d: 6291456 10485760 4.2BSD 2048 16384 28552 e: 4194304 16777216 4.2BSD 2048 16384 28552 f: 69206016 20971520 4.2BSD 2048 16384 28552 g: 66123889 90177536 4.2BSD 2048 16384 28552 Is there a way to fix this thingy?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A92B6C4.8070309>