Computing.Net > Forums > Unix > Ext2FS mounting under FreeBSD

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Ext2FS mounting under FreeBSD

Reply to Message Icon

Name: endymion
Date: September 21, 2004 at 06:09:18 Pacific
OS: FreeBSD 4.9
CPU/Ram: 756 MB Ram 1200 Mhz
Comment:

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.



Sponsored Link
Ads by Google

Response Number 1
Name: Wolfbone
Date: September 21, 2004 at 18:58:54 Pacific
Reply:

ext2fs? - try ext2 or man mount


0

Response Number 2
Name: endymion
Date: September 22, 2004 at 04:06:31 Pacific
Reply:

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Ext2FS mounting under FreeBSD

Mounting SolarisX 3BSD5.1 & Suse9.1 www.computing.net/answers/unix/mounting-solarisx-3bsd51-amp-suse91/6941.html

mouse doesn't work under Freebsd 4. www.computing.net/answers/unix/mouse-doesnt-work-under-freebsd-4/3965.html

freebsd pcmcia modem card www.computing.net/answers/unix/freebsd-pcmcia-modem-card/6603.html