Re: Mounting dirty ext3 partition

From: nntp (asf_at_sadfkj.cosdf)
Date: 09/29/04


Date: Wed, 29 Sep 2004 04:26:20 -0400


"nntp" <asf@sadfkj.cosdf> wrote in message
news:10lkru4dve7m6d9@corp.supernews.com...
> I have a hard drive(ext3) that was taken from a linux machine that just
bit
> the dust. I installed this hdd as a second drive in a freebsd 5.1 system.
> This computer has no cdrom drive, no floppy, and is not easy to get access
> to it physically.
>
> I am trying to mount the fs on the linux hard drive, here is what i've
done.
>
> 1. recompiled kernel with "options EXT2FS"
>
> willard# mount_ext2fs /dev/ad3s1 /mnt/old/
> mount_ext2fs: /dev/ad3s1: Invalid argument
>
> Now the last time this was booted in linux, the computer was turned off
> "un-cleanly". From what i am reading, there is no way to mount this disk
in
> freebsd (without mounting it in linux and fsck'ing it first.). Is this
> true......
>
> Is there anyway i can do this without having to install a cdrom drive to
> boot a linux cd on?
>
>
> Thank you
>
>

sorry left something out...

--- from dmesg ---
ad2: 7665MB <QUANTUM Bigfoot TX8.0AT> [15574/16/63] at ata1-master UDMA33
ad3: 28629MB <QUANTUM FIREBALLlct20 30> [58168/16/63] at ata1-slave UDMA33
Mounting root from ufs:/dev/ad2s1a
WARNING: mount of ad3s1 denied due to unsupported optional features
WARNING: mount of ad3s1 denied due to unsupported optional features
WARNING: mount of ad3s2 denied due to unsupported optional features
WARNING: mount of ad3s1 denied due to unsupported optional features
ext2fs: ad3: wrong magic number 0 (expected 0xef53)
WARNING: mount of ad3s1 denied due to unsupported optional features
WARNING: mount of ad3s1 denied due to unsupported optional features
ext2fs: ad3s3: wrong magic number 0 (expected 0xef53)
ext2fs: ad3s3: wrong magic number 0 (expected 0xef53)