From owner-freebsd-hackers Sun Sep 22 16:56:52 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA05405 for hackers-outgoing; Sun, 22 Sep 1996 16:56:52 -0700 (PDT) Received: from central.picker.com (central.picker.com [144.54.31.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id QAA05382 for ; Sun, 22 Sep 1996 16:56:49 -0700 (PDT) Received: from ct.picker.com by central.picker.com with smtp (Smail3.1.28.1 #3) id m0v4y6P-0004sbC; Sun, 22 Sep 96 19:38 EDT Received: from elmer.ct.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA20126; Sun, 22 Sep 96 19:36:36 EDT Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id TAA00676; Sun, 22 Sep 1996 19:30:34 -0400 From: rhh@ct.picker.com (Randall Hopper) Message-Id: <199609222330.TAA00676@elmer.ct.picker.com> Subject: Boot manager problems (was Re: fdisk changes, anyone?) To: karpen@ocean.campus.luth.se (Mikael Karpberg) Date: Sun, 22 Sep 1996 19:30:33 -0400 (EDT) Cc: hackers@freebsd.org In-Reply-To: <199609221638.SAA02381@ocean.campus.luth.se> from "Mikael Karpberg" at Sep 22, 96 06:38:29 pm Reply-To: rhh@ct.picker.com Organization: Picker International, CT Division X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Mikael Karpberg: |Umm... I got myself a Medalist 2GB HDD and installed FreeBSD over FTP, and |everything worked just fine. Althought I choose "Entire disk" and told it |to make it a "real partition", I installed booteasy, just because. :-) ... |etc... F5 would make it go to the second disk and fail boot, but that was |expected. I tried a complete reinstall with different things, and setting |the bios setting for the disk to different things. No such luck. |Finally, I got a tip from a friend, and booted a little win95-dos floppy |and started dos fdisk. Delete nondos partition. Create primary dos |partition. Reboot. Format c:. Reboot from FBSD floppy. Install everything |once more, this time first deleting the dos partition and then doing just |a *C*reate and hitting return to get biggest possible partition. Install |finnishes, I reboot, and viola! Works like a charm. I'm not sure I completely got what you did in both cases, but it sounds a lot like what I went through with my first installation. I was/am using OS/BS v2.0b8 as a boot manager, and it installs itself on the first few sectors of the hard drive (Booteasy just uses the first sector, I believe). Installed FreeBSD in its own slice which started at the second sector of the hard disk, and then installed OS/BS which wiped out the front of the FreeBSD partition (which I figured out later of course). I believe a similar scenario can occur if you tell FreeBSD to take up the whole disk as you did (i.e. don't use slices and not install within a slice), in which case FreeBSD should start at sector 1 of your hard drive. If you then install a boot manager, that overwrites at least sector 1 of the drive and maybe a few more after that, depending on the boot manager. This should effectively toast the front of your FreeBSD file system. One solution, which I believe is what you ended up with, is to fdisk with DOS, and put FreeBSD in a slice. DOS always leaves the first head (typically the first 63 sectors, on a respectable-size hard drive) free except for sector 1 which of course is the MBR, so all boot managers that install there should work fine, without stomping on your FreeBSD and other file systems. Another alternative is to fdisk with FreeBSD, still using slices, but make sure not to start the first partition before sector 64 (so you can use any boot manager). By the way, you might find: http://www.freebsd.org/tutorials/multios/multios.html useful. It gives some more details, assuming this was your problem. Randall Hopper rhh@ct.picker.com