Every piece of pseudo-help I've read on this matter says:
"edit /etc/default/grub, and set GRUB_DEFAULT=saved" to save your default boot choice.
While this is true, its not complete. It's not what 90+% of the people are looking for. It's a question of semantics.
I want to save my default boot choice EVERY TIME I BOOT... i.e. save the last chosen entry every time I boot - for multi-OS systems, I believe this is fundamental.
For this to happen, you need to ADD to /etc/default/grub (it's missing altogether in the file) the entry:
GRUB_SAVEDEFAULT=true
This solves this issue. Without this line, /boot/grub/grubenv never gets updated when you choose you boot entry in grub boot menu.
This option is listed in 'info grub', but appears nowhere in the /etc/grub.d/* files.
Following the usual notation, the entry should be in the file, set as false and commented, indicating the default option if omitted:
#GRUB_SAVEDEFAULT=false
[ trackback ]
Configs or settings that were hard to find, or messy in getting to... for future personal reference.
Tuesday, October 26, 2010
Thursday, July 15, 2010
Disable IPv6 on Windows 7 ~ 8.1
Create
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\DisabledComponents = 0xffffffff (DWORD:32b)
[edit - it also works for Windows 8 and 8.1]
[ trackback ]
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\DisabledComponents = 0xffffffff (DWORD:32b)
[edit - it also works for Windows 8 and 8.1]
[ trackback ]
Monday, May 3, 2010
Disable IPv6 on Ubuntu 10.04 Lucid Lynx
Add to /etc/sysctl.conf
#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
and reboot... or for a quickie, 'echo 1 > /proc/sys/net...' as root
[ trackback ]
#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
and reboot... or for a quickie, 'echo 1 > /proc/sys/net...' as root
[ trackback ]
Saturday, March 20, 2010
Wireshark as non-root user
When in Windows, you get the NPF service... in Ubuntu/Debian, you get:
apt-get install libcap2-bin
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
[ backtrack ]
apt-get install libcap2-bin
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
[ backtrack ]
Subscribe to:
Comments (Atom)