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 ]
Monday, November 30, 2009
TomTom maps - latest version
Determine which version is the latest for your TomTom device:
[ trackback ]
- Go to tomtom.com/products/maps and select map (for ex. - Europe-840 for x50 devices)
- right click on map's picture and get properties - you'll see ....tomtom.com/lib/img/mapshop/maps/map14477.gif - here 14477 - is map ID in TomTom store.
- create url-path with this ID: http://num1.id.tomtom.com/14477
- put this link to your browser - voila! Now you got almost all map's info including region, build, IQ Routes™ supporting, supported devices
[ trackback ]
Thursday, October 29, 2009
Ubuntu & NVidia :: Dual screen setup and gnome-panel
Dual monitors, set up with nVidia TwinView in a way that the gnome-panel does not stretch across the whole desktop but is only on one monitor.
Now I want to add another panel on the second monitor, but if I create a new one, I can only add it to the primary display.
Solution:
[ trackback ]
Now I want to add another panel on the second monitor, but if I create a new one, I can only add it to the primary display.
Solution:
- add a new panel as usual
- run gconf-editor and go to apps/panel/toplevels/panel_
- set the variable "monitor" from 0 to 1
[ trackback ]
Tuesday, August 25, 2009
Jumbo Frames on VMware ESX
From the Service Console:
- Change the MTU on the vSwitch "esxcfg-vswitch -m 9000
" - Do an "esxcfg-vswitch -l" and a "esxcfg-nics -l" to make sure the vSwitch and the physical NICs associated with it are now set to an MTU of 9000.
- Create the port group and add it to the vSwitch "esxcfg-vswitch -a
" - Create a VMkernel interface and associated port group "esxcfg-vmknic -a -i
-n -m 9000 " - Test it "vmkping -s 9000
"
Subscribe to:
Posts (Atom)