[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Edit /boot/loader.conf



I edited /etc/grub.d/10_kfreebsd, and added the line to the end of the kfreebsd_entry() section after the "set kFreeBSD.vfs.root.mountfrom..." lines. I then ran update-grub, and everything works now. Seems that /etc/grub.d/40_custom is for custom menu entries.


------Original Message------
From: Robert Millan
Sender: rmh.aybabtu@gmail.com
To: David H. Watson
Cc: Mailing List - Debian GNU/*BSD
Subject: Re: Edit /boot/loader.conf
Sent: 5 Oct 2011 13:08

2011/10/5 David Watson <hiranwatson@gmail.com>:
> 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?

I'm not sure.  Try editting grub.cfg by hand and moving this sentence
to the beginning. Maybe the order matters.

-- 
Robert Millan


David 
e: hiranwatson@gmail.com

Reply to: