]> git.ipfire.org Git - thirdparty/grub.git/commit
2002-05-25 Yoshinori K. Okuji <okuji@enbug.org>
authorokuji <okuji@localhost>
Sat, 25 May 2002 11:33:47 +0000 (11:33 +0000)
committerokuji <okuji@localhost>
Sat, 25 May 2002 11:33:47 +0000 (11:33 +0000)
commitc65ae440c87eefc0da2a013fb254b8f8e4f7c154
tree18bd327706ad87a5b85f7ff4c0ed9bba2617f512
parent4339b22d7a6122c614afd3aed36e5ff1585b068c
2002-05-25  Yoshinori K. Okuji  <okuji@enbug.org>

* stage2/builtins.c (boot_func): Load the boot partition
information, only if the address of the boot partition entry is
set appropriately.
(real_root_func): If ATTEMPT_MOUNT is false, call open_partition
and if successful, call set_bootdev, to set the offset of the
boot partition and the address of the boot paetition entry.
IF ATTEMPT_MOUNT is false, don't set BOOTDEV. The BSD evil hack
is useless with the command "rootnoverify" anyway.
* stage2/disk_io.c (boot_part_addr): Initialized with zero
explicitly, to emphasize that it is invalid.
ChangeLog
stage2/builtins.c
stage2/disk_io.c