Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Apr 2006 02:33:42 +0000
From:      valentin_nils@be-known-online.com
To:        freebsd-questions@freebsd.org
Subject:   Filesystem layout with sperated /boot partition
Message-ID:  <20060403023342.ioc7cb6koeww8o4s@www.be-known-online.com>

next in thread | raw e-mail | index | archive | help
Hello FreeBSD Fans,

I wanted to create a new system and was thinking about the following layout.

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 of 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
...

1) I wouldnt mind on which partition "/boot" or "/" sits or what its named, but
I would like to separate "/boot" on a different partition and it seems like it
wouldnt boot when I do this. Is this just a matter of updating the bootloader ?
Wouldnt the installer do that automatically ?

2) The part which I dont get is why is "/" always ad2s1a - even when I create
"/boot" first ? ("/boot" will become f.e. ad2s1d) and SWAP will become ad2s1b.

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


Any replies much appreciated.

Best regards

Nils Valentin
http://www.be-known-online.com





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