Hi Ron,

>From what I can understand: sda1 is /boot, sda2 is /.

http://kezhong.wordpress.com/2009/06/27/linux-ext2ext3-superblock-recovery/

This link has good info on recovering the superblock on ext2 and ext3.   Both 
ext2/ext3 have the same format, but ext3 uses journals.

Since you have other systems that were loaded in the same way, you can use 
dumpe2fs on another system and find out where the superblock resides.   Then 
use this information to do the recovery on the corrupt system.

Paul

----- Original Message -----
From: "Ron Croonenberg" <[email protected]>
To: "Paul M. Dyer" <[email protected]>
Cc: [email protected]
Sent: Thursday, June 3, 2010 12:38:49 PM
Subject: Re: dell 2850 initrd problem.

Hi Paul,

I already did that.

I have /dev/sda1 and /dev/sda2

if I run fsck on /dev/sda1 it warns about not finding /etc/fstab but
than says that /boot is fine.

when I run fsck on /dev/sda2 I get the same fstab warning but then says
it can't find the ext2 superblock.
(bad magic number in superblock, corrupt super block or not an ext2
filesystem)

This was installed from the distro, so if sda1 is ext2 then sda2 is
too(?). The only thing done after the install of the distro was
upgrading the kernel from 2.6.12-1.667 to 2.6.12-1.1381


Ron

Paul M. Dyer wrote:
> boot into Rescue mode: boot from CD, then "linux rescue"
>
> answer no when asked to try and mount filesystems.
>
> then run:
>
> fdisk -l /dev/sda (find out what partitions you have)
>
> fsck /dev/sda1 (check the first partition)
> fsck /dev/sda2 (check the second partition)
>
> Paul
>
> ----- Original Message -----
> From: "Ron Croonenberg" <[email protected]>
> To: [email protected]
> Sent: Thursday, June 3, 2010 11:25:45 AM
> Subject: Re: dell 2850 initrd problem.
>
> is it a good idea to run fsck from the rescue cd first?
>
> do something like fsck -v -y /dev/... (what ever the device is)
>
> or should I just use mkinitrd, and keep my fingers crossed it will
> create all the missing stuff again.
>
> (I might need fsck, because, as I mentioned, I saw some messages about
> an unclean shutdown, well..
> it crashed with a kernel panic)
>
> _______________________________________________ Linux-PowerEdge
> mailing list [email protected]
> https://lists.us.dell.com/mailman/listinfo/linux-poweredge Please read
> the FAQ at http://lists.us.dell.com/faq
>


-- ==================================================================
main(p){printf(p,34,p="main(p){printf(p,34,p=%c%s%c,34); }",34); }
================================================================== Ron
Croonenberg |
| Phone: 1 765 658 4761
Lab Instructor & | Fax: 1 765 658 4732
Technology Coordinator |
|
Department of Computer Science | e-mail: [email protected]
DePauw University |
275 Julian Science & Math Center |
602 South College Ave. |
Greencastle, IN 46135 |
==================================================================

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to