Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2002 11:03:22 -0400
From:      Scott Robbins <scottro@nyc.rr.com>
To:        joe <joe@sotham.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Migrating from Mandrake to FreeBSD 4.4
Message-ID:  <20020407110322.561bccd1.scottro@nyc.rr.com>
In-Reply-To: <20020407144417.5B7FC37B417@hub.freebsd.org>
References:  <20020407144417.5B7FC37B417@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 6 Apr 2002 05:44:15 -0800
joe <joe@sotham.com> wrote:

> I've migrated my server from mandrake 8.1 to FreeBSD. (Migrating may a
> slightly strong description..._starting over with_ is more apt
> description) 
> 
> Two physical disks exist ad0, ad1.  I installed the system, on ad0,
> and was up and running with the system within two hours. For the last
> two days I have been pondering (...reading documentation, man pages)
> trying to figure out how to mount the second set of partitions as file
> systems without wacking the data on these drives.  I am a complete
> loss as to how to proceed.

It's one of those things that seem more difficult than it really is. (Of
course, most things are simple once you figure out how to do them.)

Firstly, I'm assuming the MD stuff is on ext2 or 3. Last time I tried, I
wasn't able to mount anything that was on reiser. Then you'll have to
recompile your kernel and add support for Linux.  I'm going to assume
that you're still using the GENERIC kernel as you've only just begun. cd
/usr/src/sys/i386/conf vi GENERIC  (or whatever text editor you want)
add this--you can add it at the bottom.
options	     EXT2FS
(a quick note--at some point or another take a look at LINT in the same
directory--it has all the options you could possibly imagine.)  Save the
modified file config GENERIC
you'll see a message like 
don't forget to do make depend
Kernel build directory is ../../compile/GENERIC
cd ../../compile/GENERIC
make depend && make && make install

Upon reboot you'll have Linux support.
Now as it seems that the Linux stuff is in an extended partition, you'll
probably have to mount parts of it like

mount_ext2fs ad1s5

Just do ls /dev/ad1* and see what the possibilities are.  If mounting
ad1s1 gives you an error, try with 2, etc.

HTH
Scott Robbins

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?20020407110322.561bccd1.scottro>