Date: Wed, 6 Jun 2007 17:58:15 +0400 From: Yuri Pankov <yuri.pankov@gmail.com> To: freebsd-current@freebsd.org Subject: /boot/mbr miscompiled? Message-ID: <20070606135815.GA913@darklight.abyss>
next in thread | raw e-mail | index | archive | help
Hi, I've noticed lately that I can't install /boot/mbr using boot0cfg. [root@darklight:~]# boot0cfg -B -b /boot/mbr ad4 boot0cfg: /boot/mbr: unknown or incompatible boot code -r--r--r-- 1 root wheel - 512 Jun 6 17:45 /boot/mbr /boot/mbr: x86 boot sector That's how it's compiled here: [root@darklight:/usr/src/sys/boot/i386/mbr]# make as --defsym FLAGS=0x80 --32 -o mbr.o /usr/src/sys/boot/i386/mbr/mbr.s cc -O2 -fno-strict-aliasing -pipe -ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -m32 -march=i386 -N -e start -Ttext 0x600 -Wl,-S,--oformat,binary -nostdlib -m elf_i386_fbsd -o mbr mbr.o It's -CURRENT/amd64 updated today. Any hints? Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070606135815.GA913>