Re: how to recover data even when unable to mount?

From: Paul E Condon (pecondon_at_mesanetworks.net)
Date: 10/09/04

  • Next message: Alan Chandler: "Re: New user Q: Best way to stay up to date on "testing"?"
    Date: Fri, 8 Oct 2004 16:26:35 -0600
    To: debian-user@lists.debian.org
    
    

    I suggest that you first remove the old hard disk. Then do
    a complete new install of Sarge on the new hard disk.
    In Debian, dd-rescue is in the ddrescue package.

    Don't try to operate from knoppix, if you have a brand new HD
    on which you can install quickly all the packages that you
    need.

    Once your new system is up and running and you have gathered info here
    and from googling, etc., prepare to reinstall the old HD by adding
    lines to /etc/fstab for each the the partitions that you hope to
    recover. Reinstall the old HD, but this time as the slave drive
    (/dev/hdb).

    Have a detailed plan of what you want to recover and in what
    order. Watch during boot to see if any/all partitions on hdb
    are mounted during boot. If some mount and others don't work
    on recovering data from the ones that mount.

    On Fri, Oct 08, 2004 at 04:50:25PM -0500, John A Chaves wrote:
    > Take a look at e2salvage <http://e2salvage.sourceforge.net/>.
    > It worked well for me in similar situations.
    >
    > John
    >
    > On Friday 08 October 2004 03:04 pm, tripolar wrote:
    > > It appears my 120G harddrive is near-death. Being unable to boot I used a
    > > knoppix cd to run smartd and /sbin/badblocks.
    > > my hard drive 3 partitions I wish to make backups of. After googling I have
    > > found several options- one being
    > > dd if=/dev/hda of=/dev/hdb conv=noerror,sync
    > > I have a new 160G hard drive.
    > > Here is my plan
    > > install new hard drive ( I already have partioned with fdisk & used
    > > mkfs.reiserfs ), put near-dead hd into machine then boot into knoppix live
    > > cd. Use dd if=/dev/hda .... etc
    > > I have no clue how much life is left in the old one and I dont want to make
    > > it work any harder than just getting files copied to new disk.
    > > Are there any arguements to boot knoppix with to prevent old disk from
    > > spinning up until need be?
    > > dd_rescue is also on this knoppix cd. Is that a better option than dd
    > > if=.....etc?
    > > Before I pulled the old hd out I was unable to mount 2 partitions
    > > Input/output errors.
    > > Anyway to force a ro mount on a corrupted filesystem?
    > > Do I need to mount those partitions to do a dd if= .... ?
    > > The reason I ask here is because I feel it may already be too late for much
    > > of the data and that I have very limited time to save the data.
    > > Hoping I can get the most efficient & best options from this group.
    > > Any tips would be appreciated.
    > > thanks
    >
    >
    > --
    > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
    > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    >
    >
    >

    -- 
    Paul E Condon           
    pecondon@mesanetworks.net
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Alan Chandler: "Re: New user Q: Best way to stay up to date on "testing"?"

    Relevant Pages

    • Re: Hmm.....ho hum......
      ... Continuously, in some cases, if the BSoD happens during the Boot ... out probs like that using the "Recovery Console" Command Line thingy ... you to Format the Hard Disk yourself & then do an ordinary Install, ...
      (uk.people.silversurfers)
    • Re: Hard drive question
      ... Whether or not you can Boot up from a Hard Disk that is Connected ... Have you tried Booting from your current Hard Drive thingy? ... Installation, but you could Install a *different* Installation ...
      (uk.people.silversurfers)
    • NeXT format disklabels/partition tables
      ... I have taken a CD image of my NS 3.3 install CD but find that ... the following sequence always ends in a failure to boot the installer, ... load Device Drivers floppy, ... proceed - get to Mach boot screen, ATA hard disk and ATAPI ...
      (comp.sys.next.sysadmin)
    • Re: tiny linux distr. with dvdplayer only
      ... > something at the boot prompt and it will install. ... Copy everything else from the cdrom there too. ... > cdrom mounting bit and change it to use the hard disk. ...
      (alt.os.linux)
    • Re: Clone HDD
      ... Partition the new hard disk in the SAME ORDER, such that, the device ... rewriting of the boot sector on the ... Once partitioned, each partition must be "formatted" before mounting. ... may be mounted under a mount point, and the content copied on to them. ...
      (comp.os.linux.misc)