Hello, forum!
After the second day of reading and googling I finally gave up on this and must ask for assistance.
I have a GUID partition table on a SATA disk and a BIOS machine with this partitioning:
The two UFS slices are intended for placing root filesystems onto. What I am trying to do is to tell the bootstrapping code which slice to boot from.
I install the boot code by:
The problem is that the system always boots from the first freebsd-ufs slice (with a loader and kernel on it). Both freebsd-ufs slices do have a loader, a kernel and a complete FreeBSD installation.
How could I tell gptboot to go to the second (or another) slice when handing off to the loader?
Thanks in advance for each and every hint or solution!
After the second day of reading and googling I finally gave up on this and must ask for assistance.
I have a GUID partition table on a SATA disk and a BIOS machine with this partitioning:
# gpart show
Code:
ada0 GPT (40G)
1 freebsd-boot (64k)
2 freebsd-ufs (19G)
3 freebsd-ufs (19G)
4 freebsd-swap (2G)
...
The two UFS slices are intended for placing root filesystems onto. What I am trying to do is to tell the bootstrapping code which slice to boot from.
I install the boot code by:
# gpart bootcode -p /boot/gptboot -i 1 ada0
The problem is that the system always boots from the first freebsd-ufs slice (with a loader and kernel on it). Both freebsd-ufs slices do have a loader, a kernel and a complete FreeBSD installation.
How could I tell gptboot to go to the second (or another) slice when handing off to the loader?
Thanks in advance for each and every hint or solution!