From Jean-Luc.Richier@imag.fr Thu Feb 25 08:17:55 1999
Return-Path: <Jean-Luc.Richier@imag.fr>
Received: from horus.imag.fr (horus.imag.fr [129.88.38.2])
	by hub.freebsd.org (Postfix) with ESMTP id C153314DE4
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Feb 1999 08:17:49 -0800 (PST)
	(envelope-from Jean-Luc.Richier@imag.fr)
Received: (from richier@localhost)
	by horus.imag.fr (8.8.5/8.8.5) id RAA20019
	for FreeBSD-gnats-submit@freebsd.org; Thu, 25 Feb 1999 17:17:29 +0100 (MET)
Message-Id: <199902251617.RAA20019@horus.imag.fr>
Date: Thu, 25 Feb 1999 17:17:29 +0100 (MET)
From: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
To: FreeBSD-gnats-submit@freebsd.org
In-Reply-To: Jean-Luc.Richier@imag.fr's message as of Feb 24, 19:08.
Subject: Re: Problem with boot disk chooser

>Number:         10263
>Category:       misc
>Synopsis:       Re: Problem with boot disk chooser
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 25 10:20:08 PST 1999
>Closed-Date:    Thu Mar 4 20:51:42 PST 1999
>Last-Modified:  Fri Sep 19 09:56:54 PDT 2003
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
>	1/ My machine was configured long ago, and the disk was partitionned
>	using sysinstall: There is 2 dos partitions (Windows and FreeBSD)
>	and the FreeBSD partition is spit into slices.
>	Up to (and not including) 3.1 Release I have reinstalled the system
>	when a new release appeared with the following procedure:
>	  - get the floppy from ftp
>	  - Use it to make sysinstall from ftp
>	    when the disk partition menu was asked, answer the defaults:
>	    no modifications of dos partition, write a Boot manager
>	  - install the system on one slice, keeping the others non modified.
>	  - After the installation and reboot I am asked to choose between
>	   the two partitions with F1 and F2:
>		F1 . . . Hpfs
>		F2 . . . FreeBSD
>		Default: F?
>	  - Once choosen, the choice is kept for the following reboots.
>
>	2/ When I installed FreeBSD3.1 Release I used the same procedure,
>	   but after the first reboot the menu was different. I am asked
>	   3 choices:
>		F1    ??
>		F2    FreeBSD
>
>		F5    Disk 0
>	   I must enter F5 (no possible default), and then a new menu appears:
>		F1    ??
>		F2    FreeBSD
>	   I must enter F2 (no possible default), and then the system boots.
>	   No configuration is saved. At the next reboot the same menus are
>	   proposed, without valid defaults.
>
>	   To correct the situation I must use a install floppy from
>	   a preceding release , call the Fdisk menu and 'W' write the
>	   boot sector.
>	   Then the Booteasy bootmanager is written and all is correct again.
>
>How-To-Repeat:
>
>	Install 3.1 Release from floppies
>
>Fix:
>	Unknown. I do not wish to reinstall all my disk.
>
>	Is there any solution to avoid this repairing pass ?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Thu Mar 4 20:51:42 PST 1999 
State-Changed-Why:  
Not a PR. 
>Unformatted:
 I sent yesterday a bug report (cf at the end)
 
 I tried to analyse the problem. It seems to come form the bios:
 On this particular machine,  boot0 starts with a received dl=0, even if the
 boot is read from an hard drive.
 On an other machine with SCSI disk, boot0 starts with dl=$80.
 
 Do you kwow if this is normal ?
 
 >
 >>Submitter-Id:   current-users
 >>Originator:     Jean-Luc Richier
 >>Organization:   IMAG - France
 >>Confidential:   no
 >>Synopsis:       cannot select boot disk in FreeBSD 3.1 release
 >>Severity:       serious
 >>Priority:       medium
 >>Category:       i386
 >>Release:        FreeBSD 3.1-RELEASE i386
 >>Class:          sw-bug
 >>Environment: 
 >	PC with on disk partitionned with Boot manager
 >
 >below is the Fdisk/ disklable of my disk (using 3.1 programs)
 >	
 >==================================
 >disk type (from /var/log/messages)
 >==================================
 >Feb 22 11:13:07 lagavulin /kernel: wdc0: unit 0 (wd0): <QUANTUM FIREBALL SE8.4A>
 >Feb 22 11:13:07 lagavulin /kernel: wd0: 8063MB 
 >Feb 22 11:13:07 lagavulin /kernel: (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S
 >
 >==================================
 >fdisk output:
 >=============
 >******* Working on device /dev/rwd0 *******
 >parameters extracted from in-core disklabel are:
 >cylinders=1027 heads=255 sectors/track=63 (16065 blks/cyl)
 >
 >Figures below won't work with BIOS for partitions not in cyl 1
 >parameters to be used for BIOS calculations are:
 >cylinders=1027 heads=255 sectors/track=63 (16065 blks/cyl)
 >
 >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,(OS/2 HPFS, NTFS, QNX or Advanced UNIX)
 >    start 63, size 4192902 (2047 Meg), flag 0
 >	beg: cyl 0/ sector 1/ head 1;
 >	end: cyl 260/ sector 63/ head 254
 >The data for partition 2 is:
 >sysid 165,(FreeBSD/NetBSD/386BSD)
 >    start 4192965, size 12305790 (6008 Meg), flag 80 (active)
 >	beg: cyl 261/ sector 1/ head 0;
 >	end: cyl 1023/ sector 63/ head 254
 >The data for partition 3 is:
 ><UNUSED>
 >The data for partition 4 is:
 ><UNUSED>
 >
 >
 >===========================================
 >disklabel wd0:
 >==============
 ># /dev/rwd0c:
 >type: ESDI
 >disk: wd0s2
 >label: 
 >flags:
 >bytes/sector: 512
 >sectors/track: 63
 >tracks/cylinder: 255
 >sectors/cylinder: 16065
 >cylinders: 766
 >sectors/unit: 12305790
 >rpm: 3600
 >interleave: 1
 >trackskew: 0
 >cylinderskew: 0
 >headswitch: 0		# milliseconds
 >track-to-track seek: 0	# milliseconds
 >drivedata: 0 
 >
 >8 partitions:
 >#        size   offset    fstype   [fsize bsize bps/cpg]
 >  a:  1228800        0    4.2BSD     1024  8192    16 	# (Cyl.    0 - 76*)
 >  b:   280576  1228800      swap                    	# (Cyl.   76*- 93*)
 >  c: 12305790        0    unused        0     0       	# (Cyl.    0 - 765)
 >  e:  1228800  1509376    4.2BSD        0     0     0 	# (Cyl.   93*- 170*)
 >  f:  2097152  2738176    4.2BSD        0     0     0 	# (Cyl.  170*- 300*)
 >  g:  7470462  4835328    4.2BSD        0     0     0 	# (Cyl.  300*- 765*)
 >
 
 
 -- 
 Jean-Luc RICHIER (Jean-Luc.Richier@Imag.Fr  richier@imag.fr)
 Laboratoire Logiciels, Systemes et Reseaux (LSR-IMAG)
 IMAG-CAMPUS, BP 72, F-38402 St Martin d'Heres Cedex
 Tel : +33 4 76 82 72 32 Fax : +33 4 76 82 72 87
 
