D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] grub error 25

 

On Fri, 2 Dec 2011, Pat Sumner wrote:

There was a discussion about grub error 17 a while back but this doesn't seem to be in the archive; a search on 'grub' just returned zero. Can anyone point me to the discussion?

The PC (Debian lenny) has two SATA discs and I get no further than the grub error. I have put a Knoppix live DVD in and what I have learned is
 1. I can mount /dev/sda, which has four partitions;
 2. dmesg starts off with a lot of error messages about ata
3. I can't mount the other disc, /dev/sdb, which is the one with all the important files on
     it;
  4. /dev/sdb has a reiserfs file system and dmesg  says

[ 4870.294237] REISERFS warning (device sdb): sh-2006 read_super_block: bread failed (dev sdb, block 2, size 4096) [ 4870.294259] REISERFS warning (device sdb): sh-2006 read_super_block: bread failed (dev sdb, block 16, size 4096) [ 4870.294264] REISERFS warning (device sdb): sh-2021 reiserfs_fill_super: can not find reiserfs

What I am hoping you can tell me is (a) whether this disk and all its files are lost, or (b) is there a recovery program I can get that will extract at least some of them. Is there maybe a live OS with more comprehensive resue capabilities than Knoppix 6.7?

It's it's (was) running Debian Lenny, you can use a Debian Lenny NetInst CD to boot off into rescue mode, then mount the original root drive as root (probably /dev/sda1) - then you're up and running again...

... - so apt-get purge grub ; apt-get install lilo and off you go ;-)

Or do whatever you need to do to re-install grub, but it sounds like there's a disk fault, so you might want to start by running badblocks and smartctl to read the drives smart status codes...

Gordon

--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq