Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2002 01:25:32 +0100 (BST)
From:      =?iso-8859-1?q?Ryan=20Baldwin?= <ryanb486@yahoo.co.uk>
To:        freebsd-questions@FreeBSD.org
Subject:   Mounting extfs hd image under FreeBsd - it worked once
Message-ID:  <20020417002532.27078.qmail@web10405.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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




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