LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-08-2008, 06:42 PM   #1
shroder300
LQ Newbie
 
Registered: Mar 2003
Distribution: slackware 12.1
Posts: 23

Rep: Reputation: 15
crash and file restore


I have 12.1 and I tried installing marine sniper in wine. I hung. so I did alt-f2 and shutdown the system. uppon reboot I got an error:

Code:
Couldn't find ext2 superblock, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/sdb

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
I tried that with no luck. I then used sysrescuecd and fund a block at 32768. It looked like it fixed a lot of things. but still no luck.

I then installed an old image backup (8/24) and that booted fine. I have a backup of the crashed system. I can read the file system just fine. Is there a way that I can used the old backup to just repair the superblock?
 
Old 09-08-2008, 07:38 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
If you can read the file system, why not use rsync to update the old backup with the backup of the crashed system ?
 
Old 09-08-2008, 07:42 PM   #3
shroder300
LQ Newbie
 
Registered: Mar 2003
Distribution: slackware 12.1
Posts: 23

Original Poster
Rep: Reputation: 15
currently I have the old backup installed. to rsync will I have to install the chrashed system to a partition?
 
Old 09-08-2008, 08:03 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Your backup file is in your external drive ?
Maybe you don't need a partition, just a mount point like /mnt/hd
I don't know if your image file can be mounted or not, should be though
Better do the rsync from a Live CD

Last edited by keefaz; 09-08-2008 at 08:06 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
restore file or dir from dump file brumela Linux - Newbie 7 01-19-2023 08:20 AM
how to restore file terry brian General 3 05-05-2007 03:29 PM
ext3 crash - how to restore files? Banderazz Linux - Software 1 05-21-2005 03:18 PM
Restore File ? mikeshn Linux - General 3 07-15-2004 01:57 PM
restore file ust Linux - General 1 03-29-2004 03:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:40 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