From nobody@FreeBSD.org  Tue Jan  6 19:53:27 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4BDDA16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  6 Jan 2004 19:53:27 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 83DD643D31
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  6 Jan 2004 19:53:26 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i073rQdL059201
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 6 Jan 2004 19:53:26 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i073rQ3H059200;
	Tue, 6 Jan 2004 19:53:26 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200401070353.i073rQ3H059200@www.freebsd.org>
Date: Tue, 6 Jan 2004 19:53:26 -0800 (PST)
From: Matthew <matthew@cnfug.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: The Boot Manager  in FreeBSD 5.2RC can't boot FreeBSD
X-Send-Pr-Version: www-2.0

>Number:         61005
>Category:       i386
>Synopsis:       [boot] The Boot Manager in FreeBSD 5.2RC can't boot FreeBSD from second partition
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 06 20:00:38 PST 2004
>Closed-Date:    Mon Nov 12 10:55:46 UTC 2007
>Last-Modified:  Mon Nov 12 10:55:46 UTC 2007
>Originator:     Matthew
>Release:        FreeBSD 5.2 RC
>Organization:
WWW.CNFUG.ORG
>Environment:
FreeBSD 5.2 RC i386

I install NetBSD 1.6GZ in the first partition using the default file system, FreeBSD 5.2RC in the second partition using UFS2 file system and RedHat Linux 9.0 in the third partition using EXT3 file systme.

Partition size:
NetBSD: 4G, FreeBSD: 5G, RedHat: 5G

>Description:
I use "boot0cfg -B -b /boot/boot0 /dev/ad0" to reinstall the boot manager in FreeBSD 5.2RC, after I reboot my box, the boot manager shows:
F1 BSD
F2 FreeBSD
F3 Linux

I press F1, the boot manager can load NetBSD correctly, and when I press F2 and F3 it can't load the operation system, and boot manager does't report any message about this.
>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:

From: "Jin Guojun [DSD]" <j_guojun@lbl.gov>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: i386/61005: The Boot Manager  in FreeBSD 5.2RC can't boot FreeBSD
Date: Wed, 25 Feb 2004 15:18:46 -0800

 ---------- original message -------------
 I use "boot0cfg -B -b /boot/boot0 /dev/ad0" to reinstall the boot manager in
 FreeBSD 5.2RC, after I reboot my box, the boot manager shows:
      F1 BSD
      F2 FreeBSD
      F3 Linux
 
      I press F1, the boot manager can load NetBSD correctly, and when I press F2
 and F3 it can't load the operation system, and boot manager doesn't report any
 message about this.
 ----------------------------------------------
 
 Similar problem exists in 5.2 and 5.2.1-RC2.
 Below is a list of disks in one of my system. During the installation,
 only da0 is selected for installation, and boot prompt shows:
      F1 FreeBSD
      F5 FreeBSD
 
 Press F1 key has error: "no /boot/kernel/kernel" found.
 Reinstalled it many times without success. So, tried to press F5 then F1.
 Same error. F5-F5-F1 made final boot. Well, what happened is that
 somehow, boot manager is installed on all three drives, but bootable
 block is on the third drive rather than on the first drive.
 
 da1 at sym0 bus 0 target 1 lun 0
 da1: <SEAGATE ST39173N 5698> Fixed Direct Access SCSI-2 device
 da1: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
 da1: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)
 da0 at sym0 bus 0 target 0 lun 0
 da0: <SEAGATE ST15230N 0498> Fixed Direct Access SCSI-2 device
 da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
 da0: 4095MB (8386733 512 byte sectors: 255H 63S/T 522C)
 SMP: AP CPU #1 Launched!
 cd0 at sym1 bus 0 target 4 lun 0
 cd0: <MATSHITA CD-ROM CR-504 ST22> Removable CD-ROM SCSI-2 device
 cd0: 5.000MB/s transfers (5.000MHz, offset 15)
 cd0: Attempt to query device size failed: NOT READY, Medium not present
 da2 at sym1 bus 0 target 0 lun 0
 da2: <SEAGATE ST39173N 5698> Fixed Direct Access SCSI-2 device
 da2: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
 da2: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)
 Mounting root from ufs:/dev/da0s1a
 
 --
 ------------ Jin Guojun ----------- v --- j_guojun@lbl.gov ---
 Distributed Systems Department          http://www.itg.lbl.gov/~jin
 M/S 50B-2239                            Ph#:(510) 486-7531 Fax: 486-6363
 Lawrence Berkeley National Laboratory,  Berkeley, CA 94720
 
 
 

From: "Dorr H. Clark" <dclark@applmath.scu.edu>
To: freebsd-gnats-submit@FreeBSD.org, matthew@cnfug.org
Cc:  
Subject: Re: i386/61005: [boot] The Boot Manager in FreeBSD 5.2RC can't boot
 FreeBSD from second partition
Date: Sat, 09 Apr 2005 13:43:42 -0700

 Our response to 61005 is that we believe this is not a bug,
 at least not a FreeBSD bug, although there may be interoperability
 issues between some Linux distros & FreeBSD when triple booting.
 We respond with a detailed procedure explaining how to achieve
 the desired functionality of triple booting NetBSD, FreeBSD,
 and Linux on the same hard drive.
 
 In this experiment, we intend to triple boot three OSes
 as listed.  For the purposes of illustration, we will use
 the example of a 20GB hard drive, allocated with 5G for NetBSD,
 5G for FreeBSD, and the remaining 10G for linux.
 
 We perform the following steps:
 
 1) We would first achieve dual boot with NetBSD and FreeBSD by
 installing from CDROM, first NetBSD, accepting the boot manager option.
 At time of creating partitions for NetBSD create slice for FreeBSD
 and also reserve 10GB of free space to be used for Linux later on.
 
 slice 2  h  freeBSD        5G
 
 2) After NetBSD is installed, install FreeBSD in the second slice,
 accepting the boot manager option for FreeBSD.  During these menu
 interactions, designate the 10GB free space as a slice with
 filesystem ID 131 (this is for Linux).
 
 After completing this step, reboot, and while booting the system
 should offer the following options at the first stage boot loader:
 
 F1 BSD
 F2 FreeBSD
 
 3) Now we install linux in the reserved third slice.  During the Linux
 install, we accept the grub or lilo loader.  After this install
 is complete, we configure the grub or lilo loader and make it aware
 of the first two operating systems.  Once this step is complete,
 upon reboot we will see the following menu options:
 
 
 BSD
 FreeBSD
 Linux
 
 So this will allow you to triple boot the three operating systems.
 
 Nainesh Nayudu, engineer
 Dorr H. Clark, advisor
 COEN 284 - Operating Systems Case Study
 Santa Clara University,
 Santa Clara CA.
 
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Mon Sep 11 12:33:14 UTC 2006 
State-Changed-Why:  
Hello, 

Can you tell me whether this is still a problem with more recent 
versions of FreeBSD? 


Responsible-Changed-From-To: freebsd-i386->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Mon Sep 11 12:33:14 UTC 2006 
Responsible-Changed-Why:  
grab the pr 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61005 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon Nov 12 10:55:45 UTC 2007 
State-Changed-Why:  
Feedback was never recieved, note well that a possible solution is in 
the audit-trail,if this is still a problem, please check whether the 
possible solution does meet up with your expectations, if not please let 
me know and I will reopen this ticket with additional information 

http://www.freebsd.org/cgi/query-pr.cgi?pr=61005 
>Unformatted:
