Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2001 09:55:26 -0600
From:      Andrew Hesford <ajh3@cec.wustl.edu>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        Rory Savage <rsavage@blastpoint.nando.net>, questions@freebsd.org
Subject:   Re: Mounting Linux EXT2FS to a FreeBSD Filesystem
Message-ID:  <20010309095525.B20852@cec.wustl.edu>
In-Reply-To: <20010309093956.C25892@cgmd76206.chello.nl>; from edwin@mavetju.org on Fri, Mar 09, 2001 at 09:39:56AM %2B0100
References:  <Pine.BSF.4.21.0103090036200.53557-100000@blastpoint.nando.net> <20010309093956.C25892@cgmd76206.chello.nl>

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




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