From owner-freebsd-current Wed Mar 5 8:56:46 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97F3C37B422 for ; Wed, 5 Mar 2003 08:56:44 -0800 (PST) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id E60A643FA3 for ; Wed, 5 Mar 2003 08:56:41 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 24395 invoked from network); 5 Mar 2003 16:56:45 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 5 Mar 2003 16:56:45 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h25Gs1hT048831; Wed, 5 Mar 2003 11:54:02 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 05 Mar 2003 11:56:55 -0500 (EST) From: John Baldwin To: Dimitar.Peikov@borg.de Subject: RE: boot0cfg Cc: freebsd-current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 05-Mar-2003 Dimitar.Peikov@borg.de wrote: > > Last weekend I had to reinstall Windows XP on my PC and certainly I lost > boot manager. After booting from CD and mounting as root ad0 device, I > replaced boot0 record > using the following command line : > ># boot0cfg -Bv -s 1 -t 91 ad0 > > On my PC I have 14G Windows XP partition(primary partition), 7G Linux (2 > extended partitions) and 7G FreeBSD 5.0 - Current (primary partition). On > second disk I have Windows 98. > > After installing I see something like this : > > F1 - ??? > F3 - FreeBSD > F5 - Disk 2 > > It is strange that only F1 works (start Windows XP), while F3 play some > sound. Pressing F5 starts Windows XP, but it could be because Windows on > my second disk. > > Yes I know that there are other boot managers like GRUB, but it is another > beer. You need to turn on 'packet' mode by hand. # boot0cfg -o packet ad0 should do the trick. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message