From owner-freebsd-questions@FreeBSD.ORG Sun Mar 15 16:30:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54B2C106566C for ; Sun, 15 Mar 2009 16:30:38 +0000 (UTC) (envelope-from ptkrisada@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id 1F7468FC0A for ; Sun, 15 Mar 2009 16:30:37 +0000 (UTC) (envelope-from ptkrisada@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so2672307rvb.43 for ; Sun, 15 Mar 2009 09:30:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Yj+CEIoUdE8mejXFG2Bg99piUVrQ6Tp8aoQ8K6HcPiY=; b=l4GBlgIo/BuiVrlOA9uavL9PX90EICo6sU9CEvaqPzBJgDexRe0JBujMv8A5CL+P56 1jww53lSk1twG+pKk14XNGOxLhElmiT5SQ4+q0+kQ2FEQ0sVN8gbdQlo6pjOhWujfkBU fCaxB3i0Hcs1fjOO+BVluQZiRj7uYplPbD6Vw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=ck61cKLgJUgtiUZjyro2muEj0rGu8Bfm2WVufx+LAD8BDv2dzol1sQWluw3GMNWXrf vQHSlTPatofHfHfyHny79wva6PfE4ghs8uOQg8cYo/Kl5heN020XR3HAmnJwBeMv0BPy NnuVV9RPME26Y+biZWxDUHOtyU/xnRAJLYrKE= MIME-Version: 1.0 Received: by 10.140.165.17 with SMTP id n17mr149888rve.46.1237134637711; Sun, 15 Mar 2009 09:30:37 -0700 (PDT) Date: Sun, 15 Mar 2009 23:30:37 +0700 Message-ID: From: Pongthep Kulkrisada To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Problem with boot0cfg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 16:30:38 -0000 Hi All, Last week my harddisk was broken and wiped out the slice of FreeBSD 7.1R. I decided to bring back my old harddisk with 3 partitions i.e. Windows ME, Windows 2000 and a free partition. It has a menu for selecting which Windows to boot and I have tested booting them. Then I installed FreeBSD-7.1R (from CD) on the free partition and selected boot manager while installing. After completion and reboot the following options presented. F1 DOS F2 DOS F3 FreeBSD But only F3 (FreeBSD) can boot, both Windows can't boot and just hanged. The following is diagnostic. # boot0cfg -v ad0 # flag start chs type end chs offset size 1 0x00 0: 1: 1 0x0b 1023: 9:63 63 4208967 2 0x00 1023:255:63 0x07 1023: 12:63 4209030 10490445 3 0x80 1023:255:63 0xa5 1023: 15:63 14699475 18983853 version=1.0 drive=0x80 mask=0x7 ticks=182 options=packet,update,nosetdrv default_selection=F3 (Slice 3) Any suggestion would be highly appreciated. Please note that previously I used LILO for boot manager. Now I want to use only FBSD tool but I know very little about boot0cfg. Thanks,