From owner-freebsd-questions Sat Jul 15 18:33:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtpe.casema.net (smtpe.casema.net [195.96.96.172]) by hub.freebsd.org (Postfix) with SMTP id 9D00737B560 for ; Sat, 15 Jul 2000 18:33:41 -0700 (PDT) (envelope-from jan.rhebergen@pobox.com) Received: (qmail 17454 invoked from network); 16 Jul 2000 01:33:39 -0000 Received: from unknown (HELO uniques.linux.bogus) (212.64.78.52) by smtpe.casema.net with SMTP; 16 Jul 2000 01:33:39 -0000 Received: from uniques.linux.bogus [192.168.1.3] (jan) by uniques.linux.bogus with esmtp (Exim 2.05 #1 (Debian)) id 13DdJL-0000Lh-00; Sun, 16 Jul 2000 03:33:39 +0200 X-Mailer: exmh version 2.0.2 2/24/98 (debian) To: freebsd-questions@FreeBSD.ORG Subject: ext2fs problem, wrong magic number From: Jan Rhebergen Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 16 Jul 2000 03:33:39 +0200 Message-Id: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi there, I'm running BSD 4.0 release. To be able to mount my old Linux partitions I recompiled the kernel with support for ext2fs by adding the line option ext2fs to the MYKERNEL configuration file. After installing the kernel and rebooting I tried to mount the ext2 partition but got an error message about wrong magic number expecting,... BSD is installed on slice 3 i.e. /dev/ad4s3a etc. The Linux ext2 partition is on the second one on the drive. Presumably /dev/ad4s2 right? So mounting it should be something like this mount -t ext2fs /dev/ad4s2 /mnt if I'm not mistaken. On top of that I have some ext2 partition living in side an etended dos partition which is /dev/ad4s4 Questions: - What am I doing wrong trying to mount the ext2 partition? - How should I mount ext2 partition that are encapsulated in a dos extended partition? Help is appreciated, regards, Jan ---- home: M. Gouweloospoort 8, 2611 JN Delft, Nederland, phone: +31 15 2144660 web-personal: http://www.pobox.com/~jan.rhebergen, personal-ICQ#: 12946867 work-Email: Rhebergen@fel.tno.nl, work-phone: +31 70 3740772 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message