Date: Wed, 24 Feb 1999 19:08:45 +0100 (MET) From: Jean-Luc.Richier@imag.fr To: Jean-Luc.Richier@imag.fr Subject: i386/10235: Problem with boot disk chooser Message-ID: <199902241808.TAA00750@lagavulin.imag.fr>
next in thread | raw e-mail | index | archive | help
>Number: 10235
>Category: i386
>Synopsis: cannot select boot disk in FreeBSD 3.1 release
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 25 10:20:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator: Jean-Luc Richier
>Release: FreeBSD 3.1-RELEASE i386
>Organization:
IMAG - France
>Environment:
PC with on disk partitionned with Boot manager
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 ?
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*)
>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902241808.TAA00750>
