Re: Edit /boot/loader.conf
I just noticed that even after following Robert's directions below, when I go to edit the grub commands at the grub boot screen, the line "set kFreeBSD.kern.hz=100" does not seem to part of the commands. I have both kFreeBSD-8.2 and kFreeBSD-8.1 installed, giving me boot possibilities in grub (normal boot for each kernel + single-user mode boot for each kernel). And none of the boot commands for each boot possibility contain the kern.hz command. Why would this be so? How can I ensure that the kern.hz parameter is set and passed to the kernel upon boot?
On 3 October 2011 01:12, Robert Millan <email@example.com>
2011/10/3 David Watson <firstname.lastname@example.org>:
> I found a section in the FreeBSD handbook about installing FreeBSD as a vm guest, and it mentioned about editing /boot/loader.conf to include the line "kern.hz=100". (This was also mentioned in the other thread as a possible solution.) The only problem is that I checked and there is no loader.conf file in /boot! So should I create one? Or can I edit grub's config file?You can add "set kFreeBSD.kern.hz=100" to /etc/grub.d/40_custom, then
run update-grub to propagate this.