mounting linux ext3 partition

dave dmehler26 at woh.rr.com
Mon Aug 25 22:15:24 PDT 2003


Hello,
    I'm trying to mount a linux ext3 partition. I understand that it's
possible to do it using the ext2 kernel driver so i've recompiled a kernel
with that option in it. When i do:
mount_ext2fs /dev/ad1 /mnt
this is what i get.

ad1: 38166MB <WDC WD400AB-32CDB0> [77545/16/63] at ata0-slave UDMA100
ext2fs: ad1: wrong magic number 0 (expected 0xef53)
WARNING: mount of ad1s1 denied due to unsupported optional features
ext2fs: ad1: wrong magic number 0 (expected 0xef53)
WARNING: mount of ad1s1 denied due to unsupported optional features
ext2fs: ad1: wrong magic number 0 (expected 0xef53)
ext2fs: ad1: wrong magic number 0 (expected 0xef53)
ext2fs: ad1: wrong magic number 0 (expected 0xef53)

ad1 is a slave drive. Here is the fdisk output.

******* Working on device /dev/ad1 *******
parameters extracted from in-core disklabel are:
cylinders=77545 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=77545 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131 (0x83),(Linux native)
    start 63, size 78156162 (38162 Meg), flag 80 (active)
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

Any help appreciated.
Dave.



More information about the freebsd-questions mailing list