From owner-freebsd-questions Fri Mar 9 7:55:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmod.ath.cx (CC2-1242.charter-stl.com [24.217.116.226]) by hub.freebsd.org (Postfix) with ESMTP id B505737B719 for ; Fri, 9 Mar 2001 07:55:33 -0800 (PST) (envelope-from ajh3@chmod.ath.cx) Received: by chmod.ath.cx (Postfix, from userid 1001) id 0FB48A8D2; Fri, 9 Mar 2001 09:55:26 -0600 (CST) Date: Fri, 9 Mar 2001 09:55:26 -0600 From: Andrew Hesford To: Edwin Groothuis Cc: Rory Savage , questions@freebsd.org Subject: Re: Mounting Linux EXT2FS to a FreeBSD Filesystem Message-ID: <20010309095525.B20852@cec.wustl.edu> References: <20010309093956.C25892@cgmd76206.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010309093956.C25892@cgmd76206.chello.nl>; from edwin@mavetju.org on Fri, Mar 09, 2001 at 09:39:56AM +0100 X-Loop: Andrew Hesford Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If I understand correctly, this method for building the kernel is becoming deprecated. I don't think it even works in -current. In order to remain consistent with the process of building a new kernel when you rebuild the world, the proper method for compiling a kernel is now: 1) Edit the config files, for instance /sys/i386/conf/MYHOST 2) Go into /usr/src 3) Run `make buildkernel KERNCONF=MYHOST` 4) Run `make installkernel KERNCONF=MYHOST` It would be better for new users just to start learning the new method, since no retraining will be necessary later. This method uses the programs in /usr/obj if they are available, ensuring that the kernel and userland are always in sync and built correctly (especially when you build a new kernel after rebuilding the world, but you haven't installed the world yet). On Fri, Mar 09, 2001 at 09:39:56AM +0100, Edwin Groothuis wrote: > On Fri, Mar 09, 2001 at 12:46:30AM -0500, Rory Savage wrote: > > as ad1, and that's okay. But my problem is when I run fsck on /dev/ad1 or > > /dev/wd1 all I see is an entry for Partiotion 1 (EXT2FS), and Partion 2 > > wich reports as an MSDOS Extneded partion. I can't seem to mount this or > > any of the existing partitions to BSD. > > Did you recompile your kernel with the EXT2FS option? > See /sys/i386/conf for the kernel-config, and the handbook on how > to make a new kernel (shortcut, copy GENERIC to MYHOST, add "option > EXT2FS" to MYHOST, "config MYHOST", "cd ../../compile/MYHOST", > "make depend", "make", "make install", "reboot now" :-) -- Andrew Hesford ajh3@cec.wustl.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message