bugGNU GRUB - Bugs: bug #15288, savedefault (Error 27:...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #15288: savedefault (Error 27: Unrecognized command)

Submitted by:  Martin Fernau <cosh>
Submitted on:  Sun 25 Dec 2005 12:38:24 PM UTC  
Votes:  50  
 
Category: BootingSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 0.97
Release: NoneReproducibility: Every Time
Planned Release: None

(Jump to the original submission Jump to the original submission)

Sat 15 Dec 2007 09:08:14 PM UTC, comment #7:

We've moved to GRUB 2 as a development platform. Please can you check if this bug still applies there, and if it does, reopen it?

Thanks

Robert Millan <robertmh>
Project Administrator
Tue 03 Jan 2006 11:32:12 PM UTC, comment #6:

I re-tried on another machine since the original is in use and the savedefaults does not work in the grub shell under linux while it worked during boot - but i cannot reproduce it with the original machine at the moment. If you don't have physical access to your machine i'd do a dry-run on a testmachine.

Florian Gleixner <redflo>
Mon 02 Jan 2006 07:12:17 PM UTC, comment #5:

hmm...
I tried to reinstall grub with
grub-install /dev/hda

now, the 'grub-set-default' command works proper. But not the savedefault command in the grub-console.
You can type 'savedefault' at the grub-console while you are online with linux?

I mean:
$ grub
<loading...>

GNU GRUB version 0.97 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]

grub> savedefault <-enter

does this work for you?
I still have the same error. Unrecognized command :(

Martin Fernau <cosh>
Fri 30 Dec 2005 01:27:08 PM UTC, comment #4:

I got the "Error 27: Unrecognized command" too with 0.96. After installing 0.97 it was o.k. Try to remove the 0.96 grub completely and create a new mbr with a 0.97 grub-install. I'm not a grub developer but a grub user, so maybe you have hit another bug too.

Anonymous
Fri 30 Dec 2005 08:58:58 AM UTC, comment #3:

erm, the last comment was me :)
Forgot to login before...

Martin Fernau <cosh>
Fri 30 Dec 2005 08:56:48 AM UTC, comment #2:

although copying the file manually do not changed anything.
furthermore, the #12018 is about another error. I get:

-------------
GNU GRUB version 0.97 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]

grub> savedefault 1

Error 27: Unrecognized command
-------------

while in #12018 they're talking about some file-errors

what I want to do:
specifying a boot-entry for booting only the next time. For example: Just boot windows on next boot. After this, fall back to the default linux entry. AFAIK, lilo can do this with 'lilo -R <boot-entry>'. How does this work with grub since the savedefault command doesn't work?

Anonymous
Thu 29 Dec 2005 10:45:30 AM UTC, comment #1:

Had the same problem with 0.96. Should be fixed in 0.97. See artifact #12018 .
Did you copy the stage files from your 0.97 to /boot/grub? "make install" does not copy these files (should be in documentation).

Florian Gleixner <redflo>
Sun 25 Dec 2005 12:38:24 PM UTC, original submission:

This error applies on version 0.97, 0.96 and other earlier versions. I don't know why this command isn't working, but the help of grub contains imformation about this command which let me think, that this command should work - but it don't work.

I tried ths following command sequences:

- savedefault
- savedefault 3
- savedefault --stage2=/boot/grub/stage2 --default=3 --once

but ALL these commands produces the same error:
Error 27: Unrecognized command

Don't know whats wrong.

My System: Gentoo Linux
Kernel: 2.6.11-gentoo-r7
compiler: gcc-Version 3.4.4

grub.conf:

default saved
timeout 5
splashimage=(hd0,0)/grub/splash.xpm.gz

title Gentoo Linux
root (hd0,0)
kernel (hd0,0)/boot/vmlinuz root=/dev/hda7 elevator=cfq resume=/dev/hda6

title Gentoo Linux (initng)
root (hd0,0)
kernel (hd0,0)/boot/vmlinuz root=/dev/hda7 init=/sbin/initng

title Gentoo (sicherung)
root (hd0,0)
kernel (hd0,0)/boot/vmlinuz-bak root=/dev/hda7

title Windows 2000
rootnoverify (hd0,1)
chainloader +1
boot

Martin Fernau <cosh>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by robertmh (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 50 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Dec 2007 09:08:14 PM UTCrobertmhOpen/ClosedOpen=>Closed
    Wed 15 Feb 2006 06:28:13 PM UTCskroobCarbon-Copy-=>Added skroob
    Sun 25 Dec 2005 12:41:03 PM UTCcoshCarbon-Copy-=>Added cosh

    Back to the top


    Powered by Savane 3.1-cleanup