Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Feb 2009 23:55:28 +0300
From:      "Victor M. Blood" <freebsd@masm.elcom.ru>
To:        All <freebsd-current@freebsd.org>
Subject:   boot2 and ntldr on sata2
Message-ID:  <1977211221.20090207235528@masm.elcom.ru>

next in thread | raw e-mail | index | archive | help
Hi, All.

People, may be realy need to add compile in boot command line, souch
as /boot.config staticaly in boot2.c instead of dynamic load it at
bootstrap process.


I have sata2 disk with 4 primary partition:
[ntfs]
[bsd] (/var, /usr)
[bsd] (/, swap)
[ntfs]

then system bootup from ntldr with bootpart 2.6 support, I got an
error `Invalid Partition'

then try boot with command `0:ad(4,3,a)/boot/loader bootstrap process
finished succesful!

I tryed set in /sys/boot/i386/boot2/boot2.c
dsk.drive=0; // may be here must be 0x80 ??
dsk.unit=4;
dsk.slice=3;
dsk.part=0;
i had error 1 lba 0 ... may be i realy set wrong number to dsr.drive

I try to add at line 258, after
    if ((ino = lookup(PATH_CONFIG)))
        fsread(ino, cmd, sizeof(cmd));
line:
     memcpy(cmd, "0:ad(4,3,a)/boot/loader\0\0", 24);

after this system boot sucess!


ps: sorry for my english.
-- 
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?1977211221.20090207235528>