Date: Tue, 28 Nov 1995 07:31:37 +0200 From: Heikki Suonsivu <hsu@clinet.fi> To: FreeBSD-gnats-submit@freebsd.org Subject: conf/846: 2.1R install disk tries to use sd0 even if not requested. Message-ID: <199511280531.HAA03920@katiska.clinet.fi> Resent-Message-ID: <199511280540.VAA04047@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 846 >Category: conf >Synopsis: 2.1R install disk tries to use sd0 even if not requested. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 27 21:40:03 PST 1995 >Last-Modified: >Originator: Heikki Suonsivu >Organization: Clinet, Espoo, Finland >Release: FreeBSD 2.2-CURRENT i386 >Environment: A system with SCSI disks, trying to add a new one. >Description: I tried to install second hard disk (actually recovering after a crash and reinstalling the driver after formatting). As the fdisk utility is mostly incomprehensible and disklabel clumsy, I tried to use the boot floppy to the job. I specified that I want to install only the sd1 and no other disks (tagged only the sd1 in the form, sd0 being the root disk and sd2 being another disk already in the system). fdisk went fine, but disklabel offered me both sd0 and sd1. I could create the partitions to sd1 but if I try W)rite, it asks if I'm sure I want to build the filesystems now, which I didn't quite find a nice idea for my root disk :-(. I bailed out, so I don't know whether it would really have newfs's my root disk if I had continued. >How-To-Repeat: I think you can repeat this by trying to do a FreeBSD installation on sd1 when there already is an existing FreeBSD installation on sd0, just specify that you only want to use sd1 and completely ignore sd0. Won't work. >Fix: Workaround: use only the fdisk part of the boot floppies and disklabel -e to take care of the rest. The boot diskette should not do anything to other disks than the one being installed? fdisk which comes with the system is very unhelpful (if you print an error message, you also print help for either what to do or how to find more information. disklabel is just clumsy, I kind of wish that I could install disks without playing with a calculator to find out that I got the offsets right. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511280531.HAA03920>