misc/164950: new bsd installer,
pc-style partitions: no way to set 'bootable' ('active') flag
benamrun at yandex.ru
Fri Feb 10 11:40:08 UTC 2012
>Synopsis: new bsd installer, pc-style partitions: no way to set 'bootable' ('active') flag
>Arrival-Date: Fri Feb 10 11:40:07 UTC 2012
>Originator: Alexander Kirillov
After-install boot problem, so no 'uname -a' available.
New installer allows create more than one slices, but not allows to set 'active' or 'bootable' flag to any slice (see old sysinstall -> configure -> fdisk -> "(S)et bootable" option).
In case of single slice, probably, this bit is not needed. But multiple slices sometimes is also usable.
In case of multiple slices, if no slice with 'bootable' bit, "standard" mbr boot code will not be able to boot the system ("/boot/kernel/kernel not found"). "Boot manager" mbr code, i thing, will be stopped at the same point with message like "Press F1 to boot FreeBSD\nPress F2 to boot FreeBSD" (not good for server systems).
Please add ability to set this bit in new bsd installer.
In process of standard installation:
-- created 2 slices in master boot record of FreeBSD (type 165),
-- created bsd partitions: /, swap, /var, /tmp and /usr in 1st slice; /etc/nfsshare in 2nd slice with "standard" mbr boot code;
-- proceed installation process;
After reboot got the message "/boot/kernel/kernel not found" and can't go into installed system.
Run FreeBSD in LiveCD mode, run sysinstall and set "active partition" bit on the 1st slice.
More information about the freebsd-bugs