From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 22 21:37:09 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3704106566B for ; Thu, 22 Oct 2009 21:37:09 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id B34298FC08 for ; Thu, 22 Oct 2009 21:37:09 +0000 (UTC) Received: from eagle.syrec.org (c-24-6-221-126.hsd1.ca.comcast.net [24.6.221.126]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n9MLb9gr038332 for ; Thu, 22 Oct 2009 14:37:09 -0700 (PDT) Message-ID: <4AE0D084.7070108@rawbw.com> Date: Thu, 22 Oct 2009 14:37:08 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.23 (X11/20090824) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Failure to boot from HD formatted not by FreBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2009 21:37:09 -0000 I wonder what are the limitations of MBR (/boot/boot0)? I have the OEM-formatted harddrive (160MB), on which I want to add FreeBSD into the free space. I created the FreeBSD partition, set MBR (in 8.0-RC2), but when it displays the boot prompt and I hit some key I only see '#' character printed and nothing happens. When I took MBR from my older FreeBSD HD and placed it on that one, it doesn't print '#' characters but also doesn't boot. When I boot into the healthy system with this new OEM HD attached I also see dmesg messages like this: GEOM: ad4: partition 2 does not start on a track boundary. What could be wrong, why it doesn't boot? Yuri --- partitions in MBR --- Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 7 (0x07),(NTFS, OS/2 HPFS, QNX-2 (16 bit) or Advanced UNIX) start 2079, size 44039457 (21503 Meg), flag 80 (active) beg: cyl 0/ head 33/ sector 1; end: cyl 1023/ head 116/ sector 63 The data for partition 2 is: sysid 15 (0x0f),(Extended DOS (LBA)) start 220416000, size 61222912 (29894 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 53/ sector 58 The data for partition 3 is: sysid 18 (0x12),(Compaq diagnostics) start 281638912, size 30942896 (15108 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 80/ sector 63 The data for partition 4 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 44041536, size 176373792 (86120 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 55/ sector 63