Re: how to recover data even when unable to mount?
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
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
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.
> 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 firstname.lastname@example.org
Paul E Condon