From owner-freebsd-questions Tue Apr 16 17:25:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web10405.mail.yahoo.com (web10405.mail.yahoo.com [216.136.130.97]) by hub.freebsd.org (Postfix) with SMTP id 3002B37B41B for ; Tue, 16 Apr 2002 17:25:33 -0700 (PDT) Message-ID: <20020417002532.27078.qmail@web10405.mail.yahoo.com> Received: from [62.31.224.3] by web10405.mail.yahoo.com via HTTP; Wed, 17 Apr 2002 01:25:32 BST Date: Wed, 17 Apr 2002 01:25:32 +0100 (BST) From: =?iso-8859-1?q?Ryan=20Baldwin?= Subject: Mounting extfs hd image under FreeBsd - it worked once To: freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Brefly what I have done is create a disk image, and used dlxlinux in bochs IA32 emulator to fdisk the image and then created a partition with mke2fs. Next I mounted this partition from Freebsd as follows: vnconfig vn0 ./c.img mount -t ext2fs /dev/vn0s1 ./mymnt I then copied in my stuff and used grub to install grub as bootloader. This all worked great. The problem is that now I can't seem to mount the partition again. I can mount it ok under dlxlinux - but when I try to mount it from FreeBSD mount either complians of: ext2fs: /dev/vn0s1: Invalid argument .... /kernel: ext2fs: #vn/0x2002: wrong magic number 0x656d(expected 0xef53) I am using exactly the same method as I did originaly( shown above ) Now I have mounted this partition previously, I can mount it fine from dlxlinux running under bochs. fdisk /dev/vn0 under FreeBsd reports the correct partition infomation - It sugests to me some kind of corruption in the image(maybe the partition table?) - BUT then why doesent linux refuse to mount it ??? is FreeBsd's mount -t ext2fs in some way more fussy ?? PLEASE can someone sugest a reason why FreeBsd has decided that it now can't mount the partition, preferably before blood vessels start to burst in my brain. Thanks for listening, and thanks for any help Ryan __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message