diff --git a/ChangeLog b/ChangeLog index 08a8e348a..ef0167e43 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-01-04 Jochen Hoenicke + + * stage2/builtins.c (embed_func): Call open_partition() even for + MBR, so that part_start is correct. This fixes a bug reported by + Matthias Granberry . + 2000-12-22 OKUJI Yoshinori * stage2/disk_io.c (make_saved_active): Change the variable name diff --git a/stage2/builtins.c b/stage2/builtins.c index c7dd846eb..d890d7740 100644 --- a/stage2/builtins.c +++ b/stage2/builtins.c @@ -971,6 +971,10 @@ embed_func (char *arg, int flags) char mbr[SECTOR_SIZE]; char ezbios_check[2*SECTOR_SIZE]; + /* Open the partition. */ + if (! open_partition ()) + return 1; + /* No floppy has MBR. */ if (! (current_drive & 0x80)) {