Skip site navigation (1)Skip section navigation (2)
Date:      04 Oct 2001 09:44:09 +0100
From:      Wayne Pascoe <wayne.pascoe@ehsrealtime.com>
To:        freebsd-questions@freebsd.org
Subject:   Ext2 support on FreeBSD
Message-ID:  <86669veqw6.fsf@pan.home.penguinpowered.org.uk>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm trying to mount an ext2 parition (all my .ogg's) on FreeBSD. I
have added the line from LINT to my config as follows :

options         EXT2FS                  # EXT2 filesystem support

I have compiled and installed the kernel and rebooted.

Looking at the disk with fdisk, I see

# fdisk /dev/ad7
- snip -
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 11,(DOS or Windows 95 with 32 bit FAT)
    start 63, size 14345982 (7004 Meg), flag 0
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 892/ head 254/ sector 63
The data for partition 2 is:
sysid 131,(Linux filesystem)
    start 14346045, size 25832520 (12613 Meg), flag 0
        beg: cyl 893/ head 0/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

Looking at ad7s2 with disklabel gives me 

#        size   offset    fstype   [fsize bsize bps/cpg]
  c: 25832520        0    unused        0     0         # (Cyl.    0 - 1607)
  e: 25832520        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 1607)

Where has my Linux partition gone? The fstype listed here is
4.2BSD... Trying to mount this gives me 

# mount -t ext2fs /dev/ad7s2e /mnt
ext2fs: /dev/ad7s2e: No such file or directory

Any help would be appreciated. Things are too darn quiet here :)

-- 
Wayne Pascoe <wayne.pascoe@ehsrealtime.com>

Things fall apart; the center cannot hold;
Mere anarchy is loosed upon the world. - Yeats

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86669veqw6.fsf>