From owner-freebsd-questions@FreeBSD.ORG Tue Sep 2 18:06:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 972BE1065679 for ; Tue, 2 Sep 2008 18:06:11 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.238]) by mx1.freebsd.org (Postfix) with ESMTP id 5A25C8FC16 for ; Tue, 2 Sep 2008 18:06:10 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so1312515wra.27 for ; Tue, 02 Sep 2008 11:06:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=3cRquAVfJAOZhhhhWZZwoML9nugyw2WBcqAus7HqH+Y=; b=E1wNFChpJkJEmkzqemuzkmrcpelRlInAHmfDHNQ2LPGTFSdWAxm6lUkxIzRLQChjlS 80ejqF4Qx96PlZ9BSHsW8EZjgUBswHOAyV1zooBlD90mgk0ML+ynYp1yzJzLl2cNZciP QggI2LAIGCU0YOU3un8vCG/me1MPnwhLWpefM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=uz/LSeOcYlUkXGs/hL/7uzbtSffnMQdibWgL31bTFGBKmBiwETBlS9417im42/oWFh thMO0pQw2omBJTmFfvAxwc5FfU/y+uDLaOALsetGBEXs5sM2hfkWmsybbZ4DOvjNr6xX 6GQfcHOATq1AuCT98KeL17Cn1vErg8Akqbkrs= Received: by 10.90.53.1 with SMTP id b1mr9939590aga.37.1220378769252; Tue, 02 Sep 2008 11:06:09 -0700 (PDT) Received: by 10.90.33.17 with HTTP; Tue, 2 Sep 2008 11:06:09 -0700 (PDT) Message-ID: <80f4f2b20809021106j16e334e5na10b5675d018f1e5@mail.gmail.com> Date: Tue, 2 Sep 2008 14:06:09 -0400 From: Jim To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: cannot make/mount ext2 partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2008 18:06:11 -0000 I'm trying to create an EXT2 partition so I can share files between FreeBSD and any other operating system I put on the computer, without the limitations of FAT32. My kernel config is the generic kernel, with a bunch of SCSI, RAID and network drivers, MD_ROOT and NFS_ROOT commented out. However, once I'm done making the partition, I can't mount it. When I try mounting it, I get the following error. mount: /dev/ad8s1 : Operation not supported by device Can anyone tell me what I'm doing wrong? I sync'ed the ports tree within the last week, and built the e2fsprogs port this morning. Thanks, -Jim Stapleton The process I went through to create/mount the partition is as follows: [sjss@elrond ~]$ uname -a FreeBSD elrond.var-dev.net 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu Jul 24 22:27:49 UTC 2008 root@elrond.var-dev.net:/usr/obj/usr/src/sys/JIM20080722 i386 [sjss@elrond ~]$ kldstat Id Refs Address Size Name 1 13 0xc0400000 55c4d8 kernel 2 1 0xc095d000 6ed8 snd_ich.ko 3 2 0xc0964000 4a57c sound.ko 4 1 0xc09af000 75592c nvidia.ko 5 2 0xc1105000 285a8 linux.ko 6 1 0xc112e000 6a5d4 acpi.ko 7 1 0xc65fb000 10000 ext2fs.ko [sjss@elrond ~]$ ls /dev | grep '^ad8' ad8 ad8s1 [sjss@elrond ~]$ sudo mke2fs /dev/ad8s1 mke2fs 1.41.0 (10-Jul-2008) Filesystem label= OS type: FreeBSD Block size=4096 (log=2) Fragment size=4096 (log=2) 9773056 inodes, 39072080 blocks 1953604 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=0 1193 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872 Writing inode tables: done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 29 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. [sjss@elrond ~]$ fdisk /dev/ad8 ******* Working on device /dev/ad8 ******* parameters extracted from in-core disklabel are: cylinders=310101 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=310101 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 312576642 (152625 Meg), flag 0 beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: [sjss@elrond ~]$ sudo mount -t ext2 /dev/ad8s1 /mnt mount: /dev/ad8s1 : Operation not supported by device