Date: Fri, 23 Nov 2007 13:51:31 +0300 From: "Victor M. Blood" <freebsd@masm.elcom.ru> To: All <freebsd-current@freebsd.org> Subject: Need help with boot loader. Message-ID: <172375325.20071123135131@masm.elcom.ru>
next in thread | raw e-mail | index | archive | help
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@masm.elcom.ru
FTN: 2:5024/1.95@Fidonet.org, ICQ#3567656
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?172375325.20071123135131>
