• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1991
  • Last Modified:

Checking ext2 partitions

I am setting up a new FreeBSD 6.2 box, and need to mount a number of ext2 partitions. I am able to mount them under normal conditions (after loading the linux emulation and ext2fs modules), but I am unable to fsck them when needed. I am using fsck.ext2 which is included with the Linux compatibility package, but it fails with:

 FATAL: kernel too old
 pid <thePID> (fsck.ext2), uid 0: exited on signal 11
 Segmentation fault

Can anyone provide pointers on how to run fsck successfully? I can boot from a Linux rescue disk if necessary, but I would prefer to find a more direct route.
0
glcummins
Asked:
glcummins
  • 2
1 Solution
 
srgilaniCommented:
try to run it in freebsd single moode
0
 
glcumminsAuthor Commented:
Unfortunately, it fails with the same error in single. Any other ideas?
0
 
gheistCommented:
Install
/usr/ports/sysutils/e2fsprogs

It has fsck.ext3 and fsck.ext2

fsck will not work over linux emulation layer.
0
 
glcumminsAuthor Commented:
That works beautifully. Thanks!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now