Need help with bootloader

Victor M. Blood root at
Mon Nov 19 11:00:11 PST 2007

Hi, All.

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
FTN: 2:5024/1.95 at, ICQ#3567656

More information about the freebsd-questions mailing list