Re: [gentoo-user] grub,sata,savedefault and error 27

2005-12-28 Thread Glenn Enright
On Wednesday 28 December 2005 10:15, capsel wrote:
 Have you read info grub ??
 fallback should be on top and it is, savedefault fallback can be in
 title section and means that I want to save as a default fallback
 which in my case is 0.

 I think it should be EOT for now... I've checked if savedefault works
 from command line of /sbin/grub on different machine (@home) and it
 doesn't, but it works in config file.

My bad. Furthur reading did prove enlightening. A thousand apologies...
-- 
Dprintk(oh dear, we are idle\n);
linux-2.6.6/drivers/net/ns83820.c
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] grub,sata,savedefault and error 27

2005-12-28 Thread Michael Kintzios

 -Original Message-
 From: capsel [mailto:[EMAIL PROTECTED] 
 Sent: 27 December 2005 21:16
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] grub,sata,savedefault and error 27
 
[snip...]
 I think it should be EOT for now... I've checked if savedefault works
 from command line of /sbin/grub on different machine (@home) and it
 doesn't, but it works in config file.

Indeed, savedefault is a grub.conf entry;  the /sbin/grub shell command
you could be looking for is grub-set-default.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] grub,sata,savedefault and error 27

2005-12-27 Thread capsel
Hi group
I tryed to make config file for grub to migrate from centos to gentoo,
and even once it booted with saved I think. Some how it booted fith
entry in config file...
   centos doesn't have grub-set-default so I ran grub, loaded
configfile and gave command savedefault 4... I don't remember what
else I have done but grub booted gentoo :D
   after I added:

default saved
fallback 0

   and to new, the only 'title'

title gentoo
  root (hd0,0)
  kernel /bzImage root=/dev/sdb2
  savedefault fallback

and it doesn't boot. I haven't got remote console so technicans had to
do something. They booted kernel from grub prompt. Then I ran grub
from bash

configfile (hd0,0)/grub/grub.conf

and I tryed to boot my kernel. GRUB showed

savedefault fallback

Error 27: Unrecognized command

...or something like that :)

 Is it related to SATA or is it a bug in GRUB?
Now after deleting all entrys related to save it does not boot either.

SATA chipset is ICH7

what can I do?
Will LILO handle SATA disk?
Offcourse (hd0,0) is /dev/sda1 and /boot.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub,sata,savedefault and error 27

2005-12-27 Thread capsel
2005/12/27, Richard Fish [EMAIL PROTECTED]:
 On 12/27/05, capsel [EMAIL PROTECTED] wrote:
  title gentoo
root (hd0,0)
kernel /bzImage root=/dev/sdb2
savedefault fallback

 Can you post the full contents of your grub.conf/menu.lst.  That might help...

  and it doesn't boot. I haven't got remote console so technicans had to
  do something. They booted kernel from grub prompt. Then I ran grub
  from bash
 
  configfile (hd0,0)/grub/grub.conf
 
  and I tryed to boot my kernel. GRUB showed
 
  savedefault fallback
 
  Error 27: Unrecognized command
 
  ...or something like that :)

 I don't understand...are you saying that after the system booted, you
 logged in, ran the grub program, and tried to boot your system??  If
 so, that won't work, because there is a difference between the
 configuration/setup program grub, and the bootloader that it
 installs.  The booloader that it installs understands the
 menu.lst/grub.conf commands, the program does not.

I'm using this /sbin/grub program as a tester of my config file... and
it does not recognize savedefault command but auto complete this
command. /sbin/grub does not boot anything but exits (I would have
much more problems if it could load another kernel and reboot).


   Is it related to SATA or is it a bug in GRUB?
  Now after deleting all entrys related to save it does not boot either.

 Not related to SATA.  All bootloaders work through the BIOS
 interfaces, so any drives that the BIOS can see can be accessed by the
 bootloader.

  Will LILO handle SATA disk?

 Yes. See previous answer.

 -Richard

 --
 gentoo-user@gentoo.org mailing list


I've found that not having symbolic link on /boot named boot and
pointing to . (dot) can cause not reading of my config file by grub -
that's my mistake, centos does not have it and it boots.
But I still don't know if the behaviour of /sbin/grub with savedefault
is normal. It worked with 0.95 GRUB on centos (or GRUB ignored this
command).

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub,sata,savedefault and error 27

2005-12-27 Thread Glenn Enright
On Wednesday 28 December 2005 08:13, capsel wrote:
 2005/12/27, Richard Fish [EMAIL PROTECTED]:
  On 12/27/05, capsel [EMAIL PROTECTED] wrote:
   title gentoo
 root (hd0,0)
 kernel /bzImage root=/dev/sdb2
 savedefault fallback

that last line does nothing in the configuration file. fall back is meant to 
be used as a top level config command with a entry number coresponding to 
your menu entry of choice. eg fallback 2 when your second entry is for 
memcheck or windows, etc. savedefault is meant to be used at the grub command 
line, not in the config file. enter grub and type 'help savedefault' for more 
info.

-- 
The Third Law of Photography:
If you did manage to get any good shots, they will be ruined
when someone inadvertently opens the darkroom door and all of
the dark leaks out.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub,sata,savedefault and error 27

2005-12-27 Thread capsel
2005/12/27, Glenn Enright [EMAIL PROTECTED]:
 On Wednesday 28 December 2005 08:13, capsel wrote:
  2005/12/27, Richard Fish [EMAIL PROTECTED]:
   On 12/27/05, capsel [EMAIL PROTECTED] wrote:
title gentoo
  root (hd0,0)
  kernel /bzImage root=/dev/sdb2
  savedefault fallback

 that last line does nothing in the configuration file. fall back is meant to
 be used as a top level config command with a entry number coresponding to
 your menu entry of choice. eg fallback 2 when your second entry is for
 memcheck or windows, etc. savedefault is meant to be used at the grub command
 line, not in the config file. enter grub and type 'help savedefault' for more
 info.

Have you read info grub ??
fallback should be on top and it is, savedefault fallback can be in
title section and means that I want to save as a default fallback
which in my case is 0.

I think it should be EOT for now... I've checked if savedefault works
from command line of /sbin/grub on different machine (@home) and it
doesn't, but it works in config file.

-- 
gentoo-user@gentoo.org mailing list