On Sun 26 Feb 2012 08:05:23 PM IST, Grant wrote: >>> I get "Unrecognized command" from savedefault in grub: >>> >>> grub> savedefault --default=1 --once >>> Error 27: Unrecognized command >> >> Strange. Maybe this is something inofficial, and not every Gurb >> understands this? The documentation does not mention the --default option >> I think. >> >>> I re-emerged grub with /boot mounted and ran grub-install but I get >>> the same error. Does anyone know how to fix this? I'm on >>> grub-0.97-r10. >> >> Have a look at 'info grub', 'Booting' -> 'Making your system robust', >> especially section 4.3.2 'Booting fallback systems'. That's what I used in >> order to test new kernels remotely. >> >> Wonko > > I like that better. Where do you execute 'grub-set-default 0'? > > I did notice this: > > "In some newer versions of GNU/Linux, there is no > /sbin/grub-set-default (eg. Debian 3.1, Fedora Core 4,5). While some > distributions like Gentoo still has /sbin/grub-set-default" > > http://sidvind.com/wiki/GRUB:_Boot_another_OS_once#Method_1_.28preferred.29 > > BTW, is there a way to tell which grub entry I'm booted into, or am I > best off examining the contents of /proc/config.gz? > > - Grant >
uname -r If the kernel version is same, add a version string in menuconfig. -- Nilesh Govindarajan http://nileshgr.com