Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

Thomas Mueller mueller23 at insightbb.com
Sun Apr 8 10:32:44 UTC 2012


from Xavier <xavierfreebsdquestions at gmail.com>:

> I have:

> casa# disktype /dev/da1

> --- /dev/da1
> Character device, size 3.771 GiB (4048551936 bytes)
> FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2)
> BSD disklabel (at sector 1), 8 partitions
> Partition c: 2.145 GiB (2302711808 bytes, 4497484 sectors from 0)
>   Type 0 (Unused)
> DOS/MBR partition map
> Partition 1: 3.547 GiB (3808272384 bytes, 7438032 sectors from 63)
>   Type 0x83 (Linux)
>   Ext3 file system
>     UUID D1A7E6D6-3A34-4864-B6E8-C4DAA34AD776 (DCE, v4)
>     Last mounted at "/"
>     Volume size 3.547 GiB (3808272384 bytes, 929754 blocks of 4 KiB)
> Partition 2: 227.5 MiB (238533120 bytes, 465885 sectors from 7438095)
>   Type 0x05 (Extended)
>   Partition 5: 227.5 MiB (238500864 bytes, 465822 sectors from 7438095+63)
>     Type 0x82 (Linux swap / Solaris)
>     Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
>       Swap size 227.4 MiB (238489600 bytes, 58225 pages of 4 KiB)

> I'm running from FreeBSD 9.0-RELEASE

> I try:

> casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/
> mount: /dev/da1a : Invalid argument

> How can I mount it ?

I'm confused between the BSD disklabel and DOS/MBR partition map.

What does (running from Linux)

fdisk -lu /dev/sdb (or whatever the Linux name for that disk is) show?

How do you mount that Linux ext3fs partition in Linux?  That knowledge might help me figure how to mount that partition from FreeBSD.

I'm still not sure how or if FreeBSD supports ext3fs as opposed to ext2fs.

I don't see the rationale for setting up an extended partition when you only use two partitions.  The second (Linux swap) partition could be primary, and you would be well under the quota of four primary partitions.

Tom


More information about the freebsd-questions mailing list