Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2001 23:10:13 +0000
From:      Edvard Fagerholm <desti@sigtrap.com>
To:        freebsd-questions@freebsd.org
Subject:   Multiple FreeBSDs on one disk
Message-ID:  <3ABE7AD5.96B8BE15@sigtrap.com>

next in thread | raw e-mail | index | archive | help
I've been trying to install both -stable and -current on the same disk
with no success.

I first tried the installation program, but when I'm installing the
second system it tells me it can't do a root partition in the location I
want it to be made (in the third slice that is, the second slice is for
OpenBSD).

To fix this I created /, /var, /tmp, /home, /usr inside my third slice
and mounted them under /mnt on my -stable system. Then I tried building
the system from source like this:

make world DESTDIR=/mnt
...
make distribution...
...
make buildkernel...
make installkernel...
cd /mnt/dev
sh MAKEDEV all

and then I created /mnt/etc/fstab

Now I tried booting to my fresh system, but the boot manager wont find
any OS in the slice ad0s3 and I have to give it the right parametres by
hand i.e.
0:ad(3,e)/boot/loader

Now it starts booting my newly created system, but it stops as it
doesn't find any of the /dev/ad0s3* disks. After checking /dev I notice
that lots of devices are removed including the ad0s3* devices. I really
can't come up with any good reason why FreeBSD would remove stuff from
/dev, or is the boot manager giving some drive info incorrectly or
something?

I really hope there's some easy way to install multiple FreeBSD systems
on the same disk. Any suggestions are welcome :)

- Edvard

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?3ABE7AD5.96B8BE15>