Date: Sun, 15 Sep 2002 08:11:43 -0500 From: "Jack L. Stone" <jackstone@sage-one.net> To: pjklist@ekahuna.com, questions@FreeBSD.ORG Subject: Re: Sysinstall corrupts disklabel Message-ID: <3.0.5.32.20020915081143.00fbeac8@mail.sage-one.net> In-Reply-To: <20020915093615355.AAA770@empty1.ekahuna.com@dyn205.ekahuna .com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 02:36 AM 9.15.2002 -0700, Philip J. Koenig wrote: >Running 4.6-STABLE from 8/2002. > >Added a disk (1 AMI MegaRAID existing logical disk, added a new HD on >Adaptec ahc0 as da0), went into Sysinstall to try to fdisk/disklabel >it. > >Somewhere in the process of wrestling with the usual confusing >prompts (no Quit option, cancel accepts, doesn't go where the cursor >is pointed, gets "stuck" on a disk device and won't allow the other >to be selected, yada yada) Sysinstall blew away my disklabel. > >This is a common problem it seems, I've run into it before. Had to >manually piece it together last time on a different box. Apparently >there's an old bug (someone posted in July about this) where if you >try to change a partition type in Sysinstall, it hoses the disklabel. >Well I didn't *actually* try to change the partition type, but I may >have pressed the command once in Sysinstall and then tried to cancel >out. (but who knows, with Sysinstall it's often like Orwell's 1984: >War is Peace, Yes is No, cancel is accept.. :-) > >Anyway, I don't have a backup copy of the disklabel, currently the in- >memory version just shows a "c" partition, if I try to read it from >disk I get "disklabel: bad pack magic number (label is damaged...)" > >Is there a shortcut to getting this back or do I have to go through >the partitions one-by-one and try to figure out all the offsets? >(This machine has 6 partitions on it) > >Funny thing is the system seems to boot OK, df and mount output look >normal, etc. But I can't do anything with the disks like disklabel >the new one, etc. > >TIA, > >Phil > Although I haven't used this utility that is in the ports, I seen posts on it showing successes in this type of partition recovery... perhaps at least identifying them. Not sure it does what you want but may be worth a try before the manual approach... http://www.stud.uni-hannover.de/user/76201/gpart/ LOL... Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20020915081143.00fbeac8>