Need help with boot loader.

Victor M. Blood freebsd at
Fri Nov 23 02:51:21 PST 2007

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

More information about the freebsd-current mailing list