From owner-freebsd-questions Wed Apr 17 15:47: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web10403.mail.yahoo.com (web10403.mail.yahoo.com [216.136.130.95]) by hub.freebsd.org (Postfix) with SMTP id 1354137B417 for ; Wed, 17 Apr 2002 15:46:43 -0700 (PDT) Message-ID: <20020417224642.40952.qmail@web10403.mail.yahoo.com> Received: from [62.31.224.3] by web10403.mail.yahoo.com via HTTP; Wed, 17 Apr 2002 23:46:42 BST Date: Wed, 17 Apr 2002 23:46:42 +0100 (BST) From: =?iso-8859-1?q?Ryan=20Baldwin?= Subject: ANY HELP GREATLY APPRECIATED - PLEASE 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 fs with mke2fs. Next I mounted this fs from Freebsd as follows: vnconfig /dev/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, Grub mounts it fine to load the kernel - but when I try to mount it from FreeBSD mount complians of: ext2fs: /dev/vn0s1: Invalid argument .... /kernel: ext2fs: #vn/0x2002: wrong magic number 0x656d(expected 0xef53) but seems to randomly omit the second line. I am using exactly the same method as I did originaly( shown above ) Now I have mounted this fs previously, I can mount it fine from dlxlinux running under bochs. Grub mounts it ok to load the kernel image, The image still boots ok. fdisk /dev/vn0 under FreeBsd reports the correct partition infomation - I have tried repeating the process from afresh(creating image, using dlxlinux to fdisk a partition and create ext2fs fs) thinking that maybe Grub destroyed some infomation which allowed FreeBsd to mount the fs originaly but get the same problem(except it find magic no 0x0 instead). The most frustrating thing is that I did this all fine first time arount and am sure I am doing exactly the same thing - I have considred re-booting the machine but surely this shouldent be needed(It is hassel to do so). I reaslise it seems I must be doing something completely wrong but 'c.img' contains a fully bootable image with a ext2fs fs on the first partition which both grub and dlxlinux mount without complaint. Surely the above procedure should work(I'm sure it did first time around) and I'm sure my blood presure has doubled since. Any suggestions would be welcome. 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