[GLLUG] Mount ext2/3 drive on OS X
Dennis Kelly
dpk at egr.msu.edu
Thu Aug 9 01:15:28 EDT 2007
That filesystem (and maybe the disk!) sound in pretty bad shape. If
you have data you need on it, ext has backup copies of the
superblock. You can use mke2fs -n [dev] (don't forget -n!!!) to
determine where they would be on your system:
sudo mke2fs -n /dev/sda2
[snip]
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
You could probably just try using these values on your system. Then
use mount to specify the superblock:
mount -o sb=[block #] [rest of mount command]
i.e. mount -o sb=32768 /dev/sda1 /mnt
dpk
On 8/8/07, Karl Schuttler <rexykik at gmail.com> wrote:
> If you have a linux boot cd, you might try mounting it there, just to
> see if it is an OSX error, although by the sound of it, it is not.
>
> On 8/8/07, Dan Ryan <thethinkbox at gmail.com> wrote:
> > Has anyone tried/succeeded in mounting a ext2 or ext3 formatted drive
> > under OS X? I have downloaded extfs manager from SourceForge and
> > tried using the utility to mount it, but it keeps telling me I have a
> > bad super block. What does that mean? Running e2fsck -b xxxx /dev/
> > drive gives me the same error. Running mke2fs looked like it was
> > fixing things but that, too, pulled up the same problem.
> >
> > Cheers,
> > Dan
More information about the linux-user
mailing list