LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-25-2004, 09:28 PM   #1
solex
Member
 
Registered: Dec 2003
Posts: 30

Rep: Reputation: 15
reiserfsck and cannot read block


Hello,

I have slackware 9.0 on my hd and recently cannot get it to boot. I booted KNOPPIX on my CD and have tried running fsck.resierfs /dev/hda2 and am recieving the following error:

The problem has occurred looks like a hardware problem. If you have
bad blocks, we advise you to get a new hard drive, because once you
get one bad block that the disk drive internals cannot hide from
your sight,the chances of getting more are generally said to become
much higher (precise statistics are unknown to us), and this disk
drive is probably not expensive enough for you to you to risk your
time and data on it. If you don't want to follow that follow that
advice then if you have just a few bad blocks, try writing to the
bad blocks and see if the drive remaps the bad blocks (that means
it takes a block it has in reserve and allocates it for use for
of that block number). If it cannot remap the block, use badblock
option (-B) with reiserfs utils to handle this block correctly.

bread: Cannot read the block (2153): (Input/output error).


Any ideas on what I can do to recover the data on my HD?

Thanks,
Dan
 
Old 08-25-2004, 10:09 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
If you have a second hdd there's a few tools that
may help. http://www.garloff.de/kurt/linux/ddrescue/
for instance does a good job ...

Grab http://freshmeat.net/projects/recoveryispossible/
as an image, it has dd_rescue and a load of other
tools handy.


Cheers, and good luck!
Tink
 
Old 08-26-2004, 09:03 PM   #3
solex
Member
 
Registered: Dec 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Tink,

I have dd_rescue but when I try dd_rescue /dev/hdb2 /dev/hda2 from KNOPPIX on a cdrom I get the error Permission Denied on /dev/hdb2.

Any ideas?

Thanks,
Dan
 
Old 08-26-2004, 09:08 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
sudo su -

and then try again?


Cheers,
Tink
 
Old 09-02-2004, 03:17 PM   #5
solex
Member
 
Registered: Dec 2003
Posts: 30

Original Poster
Rep: Reputation: 15
I have been trying to retrieve some data from backups but am not having much luck. So it is back to trying to recover as much data as possible from this drive and need a little help with the command syntax.

Basically I would like to copy the entire drive to another drive, what must be done to the target, drive for instance should it be formatted exactly as the original drive or can I place the contents of the old drive anywhere?

At this time I have a 4 gb swap partitition and a 16 gb main partition with LILO in the MBR. I am interested only in the data and not necessarily recovering the entire drive image.

Thanks,
Dan
 
Old 09-03-2004, 03:04 AM   #6
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
There are commercial companies with experiences and tools to recover data from crashed disks. If you value your data in sense of money, maybe you could search for one in your location.
 
Old 09-03-2004, 05:52 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by solex
I have been trying to retrieve some data from backups but am not having much luck. So it is back to trying to recover as much data as possible from this drive and need a little help with the command syntax.
What's the question?

Quote:
Basically I would like to copy the entire drive to another drive, what must be done to the target, drive for instance should it be formatted exactly as the original drive or can I place the contents of the old drive anywhere?
You can just dd it and then mount the file via
a loop-back device ...


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to rescue partition? (Bad block in disk, reiserfsck stops) gattumarrudu Linux - Hardware 4 06-29-2010 01:47 PM
reiserfsck questions - have bad block on /dev/hda7 appleg8 Linux - Newbie 0 02-20-2005 04:43 PM
code to read block from the file suchi_s Programming 5 09-08-2004 06:21 AM
Why The block driver I wrote can't read? freasy Programming 2 07-17-2004 06:50 AM
how to format a HD that has the block 0 impossible to read ? ordx Linux - Hardware 2 12-10-2003 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration