Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Recently someone adviced me FreeBSD and im fairly happy with it. Works good exept for 1 thing. Ive successfully mounted 2 ufs filesystems but i cant seem to mount my old ext2 filesystem (wich i have data on, so i dont want to format it). When trying to mount i bounce on the following problem.
Labratory# mount -t ext2fs /dev/ad3s1 /mnt/disk2
ext2fs: /dev/ad3s1: Invalid argument
Labratory#/mnt/disk2 does exist and i have recompiled my kernel with option ext2fs. The fdisk ad3 command gives the following.
******* Working on device /dev/ad3 *******
parameters extracted from in-core disklabel are:
cylinders=58168 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=58168 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,(Linux filesystem)
start 63, size 58633281 (28629 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 15/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>Thanks in advance,
EndyMion
Servers are linux, Workstations are windows.

man mount just gives the help files, wich im pretty sure ive checked before posting here ;)
freebsd is a unix variant and not linux, therefor mount uses the ext2fs and not ext2. if you try to mount with ext2 it says that it cant find the "linux" command mount_ext2 wich is good because its mount_ext2fs. Ive found another error wich ive seen from "dmesg" and it said "ext2fs: wrong magic number 0 expected (0f0e57)" on the syslog. Ive seen more threads like this on other forums and never had any good reply on how to fix this problem, i think for now the only solution is install linux on my own system copy the data from the hd and format it to freebsd filesystem, then put the data back. But there must be a more simple solution.Thanks for the reply,
EndyMion
Servers are linux, Workstations are windows.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |