Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Apr 2006 21:58:16 -0500
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        "valentin_nils@be-known-online.com" <valentin_nils@be-known-online.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Filesystem layout with sperated /boot partition
Message-ID:  <d7195cff0604021958g78ab75e3j739449298efcc4f0@mail.gmail.com>
In-Reply-To: <20060403023342.ioc7cb6koeww8o4s@www.be-known-online.com>
References:  <20060403023342.ioc7cb6koeww8o4s@www.be-known-online.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/2/06, valentin_nils@be-known-online.com
<valentin_nils@be-known-online.com> wrote:
> Hello FreeBSD Fans,
>
> I wanted to create a new system and was thinking about the following layo=
ut.
>
> Size | Mountpoint | Device name | File system
> 100M /boot /dev/ad2s1a UFS2+S
> 1024MB --- /dev/ad2s1b SWAP
> 15GB / /dev/ad2s1c UFS2
>
> I want to put /boot on its own partition, but somehow I dont have a lot o=
f luck.
> I can install the OS, but when I reboot the bootloader will not boot.
>
>
> No /boot/loader
> ...
> Default: 0:ad(0,a)/boot/kernel/kernel
> boot:
> No /boot/kernel/kernel

Because it instinctively (without the MBR boot manager)
looks for /boot/kernel/kernel in the first partition of the
first active slice on the first drive.

> ...
>
> 1) I wouldnt mind on which partition "/boot" or "/" sits or what its name=
d, but
> I would like to separate "/boot" on a different partition

Why you would want to do this is a bit unclear.

>
> 2) The part which I dont get is why is "/" always ad2s1a - even when I cr=
eate
> "/boot" first ? ("/boot" will become f.e. ad2s1d) and SWAP will become ad=
2s1b.
>
> So what I end up with is something like
>
> Size | Mountpoint | Device name | File system
> 15GB / /dev/ad2s1a UFS2
> 1024MB --- /dev/ad2s1b SWAP
> 100M /boot /dev/ad2s1d UFS2+S

That's a sysinstall thing.  If you were to muck about
and install your base system without sysinstall you
could place it wherever.  And it probably still won't
boot.

Part of the reason linux wants to make /boot its
own partition is their ugly habit of not seperating
anything else from root.

--
--



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