[From nobody Mon Dec 24 19:09:00 2018 From: "William L. Maltby" <BillsCentOS@triad.rr.com> To: CentOS General List <centos@centos.org> Subject: Re: [CentOS] Restoring data from disk w/ messed up partition tables Date: Tue, 13 Jun 2006 20:37:39 +0000 Content-Type: Multipart/mixed; boundary="NextPart_Webmail_9m3u9jl4l_12008_1150232077_1" --NextPart_Webmail_9m3u9jl4l_12008_1150232077_1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-EiYqyeSfOWMVN8weskW0" --=-EiYqyeSfOWMVN8weskW0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2006-06-13 at 20:20 +0000, techlists@comcast.net wrote: > I had the electricity go out the other day. When my Centos 4.3 workstatio= n came up, I said yes when it got to the prompt "Unclean shutdown, force fi= lesystem check?" prompt. >=20 > It ground away for awhile and then said something about a bad superblock.= Yikes! I thought, that's a bad sign. >=20 > After a reboot, I got nothing but a grub> prompt. >=20 > I tried booting into rescue mode using the install CD, and got a message = "No valid partitions found". I tried to mount /dev/hda, and got a message "= no /etc/fstab found". >=20 > I tried running the install CD, and went into Disk Druid to see if it cou= ld see any existing partitions on the drive, and got the message "Partition= table corrupted, must re-initialize disk, and reformat". Not a good sign. = I backed out at that point, not wanting to go beyond a point of no return. >=20 > I have about 4 years of archived e-mails, and some other misc stuff on th= at drive that I don't want to lose.=20 >=20 > Anyone have any suggestions what steps to take next? The critical Q: do you *know* exactly what the partition settings were before? If so, there is certainly hope. Manual partitioning can be done using plain old fdisk or sfdisk. That gives some *possibilities*. I won't bore you with details yet. I have recovered from this situation with no special software (test and live) but I knew the layouts. I'll be alert for your message. Maybe there's some software that can help? Back in days of yore, I wrote some "C" that looked at some 3B FDs and HDs and detected the start of partition(s) (found super blocks, free inode lists, etc.). Maybe something like that in the FS world? > <snip sig stuff> > Paul HTH --=20 Bill --=-EiYqyeSfOWMVN8weskW0 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBEjyIB/1DcCJj5ZgkRAlAOAKC7esTtDN2ATeLuASGG04nnPS0ABgCg3qYY i6z/ecK2bl5rTwF/qzUGg1M= =itcC -----END PGP SIGNATURE----- --=-EiYqyeSfOWMVN8weskW0-- --NextPart_Webmail_9m3u9jl4l_12008_1150232077_1-- ]