mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dan Stromberg <strombrg@dcs.nac.uci.edu>
To: linux-kernel@vger.kernel.org
Subject: Re: recovering data from a corrupt ext3?
Date: Fri, 17 Dec 2004 09:33:26 -0800	[thread overview]
Message-ID: <pan.2004.12.17.17.33.23.632154@dcs.nac.uci.edu> (raw)
In-Reply-To: <1103226657.21806.28.camel@localhost.localdomain>

On Thu, 16 Dec 2004 19:50:59 +0000, Alan Cox wrote:

This is what worked for me:

On FC3's rescue disk:

1) Do startup network interfaces
2) Don't try to automatically mount the filesystems - not even readonly
3) lvm vgchange --ignorelockingfailure -P -a y
4) fdisk -l, and guess which partition is which based on size: the small one was /boot, and the large one was /
5) mkdir /mnt/boot
6) mount /dev/hda1 /mnt/boot
7) Look up the device node for the root filesystem in /mnt/boot/grub/grub.conf
8) A first tentative step, to see if things are working: fsck -n /dev/VolGroup00/LogVol00
9) Dive in: fsck -f -y /dev/VolGroup00/LogVol00
10) Wait a while...  Be patient.  Don't interrupt it
11) Reboot



      reply	other threads:[~2004-12-17 17:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-16 18:20 Dan Stromberg
2004-12-16 19:50 ` Alan Cox
2004-12-17 17:33   ` Dan Stromberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pan.2004.12.17.17.33.23.632154@dcs.nac.uci.edu \
    --to=strombrg@dcs.nac.uci.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®