On Wed, Jan 31, 2001 at 08:29:19AM +0200, Treutwein; Bernhard wrote:
> Torvald Riegel <[EMAIL PROTECTED]> wrote on Date: Tue, 30 Jan 2001 16:35:44 
>+0100
> > Subject: problems with savedefault
> [...]
> > Can someone help?
> 
> sorrily, I can't help, but I can confirm the problems.
> savedefault does not work for me either. 
> My grub is 0.5.97 checked out from the cvs tree on
> 22nd of Jan, 20001. I installed it with grub-install on 
> /dev/hda4 on a Caldera eDesktop 2.4

BTW, this works with a floppy, but doesn't seem to work with a hard disk
(mines are SCSI).

I had a quick look and the functions used by `install' (which work to write
sectors) and savedefault (which fails to write the modified sector of stage2 
if this is not a floppy) are not the same. Perhaps something to look.

PS : in shared.h, the address for the saved_entryno is given as 0xc for an
int, but in asm.S, this entry is defined as a long. Thus, if I'm not
mistaken, this will work only with little endian machines and we could 
perhaps add a remainder for possible futur ports to other architectures.
-- 
Thierry LARONDE, Centre de Ressources Informatiques, Archamps - France
http://www.cri74.org
PingOO, serveur de com sur distribution GNU/Linux: http://www.pingoo.org

_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to