Need help with boot loader.

From: Victor M. Blood <freebsd_at_masm.elcom.ru>
Date: Fri, 23 Nov 2007 13:51:31 +0300
Hi, All.

Expirements with /boot/boot2

I'm add to /sys/boot/i386/boot2/boot2.c
in function dskread(...) some `debug' output
when it search for needle slice in loop if dsk.slice==0
  printf("Found %u\n", dp[i].dp_typ);

then FreeBSD loadsup by pressing key F2 in boot0 menu
F1. dos
F2. FreeBSD

\<key pres>
boot: 0:ad(0,0,a)Found: 7
Found: 165
/\- normaly boot

else if BSD loadsup from ntldr boot file /boot/boot1, bootstrup
aborted by 'Invalid slice' and command
boot: 0:ad(0,0,a)Found 113
Found 102
Found 102
Found 112

No /boot/loader
... Failed !!!

why? Can any one help me to understand this !?

drvread in both bootstrap processes must read sector 0 on drv 0, or be
failed and report error! But it's seems to be work normaly.

-- 
With all regards, Victor M. Blood.     mailto: freebsd_at_masm.elcom.ru
FTN: 2:5024/1.95_at_Fidonet.org, ICQ#3567656
Received on Fri Nov 23 2007 - 09:51:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:22 UTC