Date: Mon, 19 Nov 2007 22:00:12 +0300 From: "Victor M. Blood" <root@masm.elcom.ru> To: All <freebsd-questions@freebsd.org> Subject: Need help with bootloader Message-ID: <279516922.20071119220012@masm.elcom.ru>
index | next in thread | raw e-mail
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@masm.elcom.ru
FTN: 2:5024/1.95@Fidonet.org, ICQ#3567656
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?279516922.20071119220012>
