Bug 766752

Summary: grubonce gives unknown command
Product: [openSUSE] openSUSE 12.1 Reporter: Andi N Kleen <andi-nbz>
Component: BasesystemAssignee: Torsten Duwe <duwe>
Status: VERIFIED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: suse-beta
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andi N Kleen 2012-06-12 21:54:21 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686 on x86_64; rv:13.0) Gecko/20100101 Firefox/13.0

Running grubonce 0 on 12.1 gives

grub> savedefault --default=0 --once

Error 27: Unrecognized command


Did the --once patch get lost?

This is with grub1



Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Torsten Duwe 2012-06-20 12:40:28 UTC
Worksforme :-/

# grubonce 0
Using entry #0: Desktop -- openSUSE 12.1 - 3.1.10-1.9
# cat /etc/SuSE-release 
openSUSE 12.1 (x86_64)
VERSION = 12.1
CODENAME = Asparagus
# rpm -qa | grep -i grub
grub-0.97-177.4.1.x86_64

Maybe grub2 at work?
Comment 2 Andi N Kleen 2012-06-20 17:45:09 UTC
Hmm, now it works on that system

Not sure what went wrong earlier. Sorry for the noise.

ak@trent:~> sudo /usr/sbin/grubonce 0
Using entry #0: Desktop -- openSUSE 12.1 - 3.1.10-1.
ak@trent:~> rpm -q grub
grub-0.97-177.4.1.x86_64
ak@trent:~> rpm -q grub^C
ak@trent:~> rpm -qf /usr/sbin/grubonce
grub-0.97-177.4.1.x86_64
ak@trent:~> rpm -V grub
ak@trent:~> strings /usr/sbin/grub | grep once
ak@trent:~>