From owner-freebsd-questions Sun Jan 26 10:12:29 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F48937B401 for ; Sun, 26 Jan 2003 10:12:28 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 1347143F18 for ; Sun, 26 Jan 2003 10:12:22 -0800 (PST) (envelope-from mwm-dated-1044036740.608dca@mired.org) Received: (qmail 1269 invoked from network); 26 Jan 2003 18:12:20 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 26 Jan 2003 18:12:20 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15924.9476.198244.492305@guru.mired.org> Date: Sun, 26 Jan 2003 12:12:20 -0600 To: questions@freebsd.org Subject: Re: Boot loader failing? In-Reply-To: <15900.61276.547261.348182@guru.mired.org> References: <15900.61276.547261.348182@guru.mired.org> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.68 (Shut Out) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I know, it's poor form to followup to my own post, but I solved the problem and wanted to get the solution into the archives. In <15900.61276.547261.348182@guru.mired.org>, Mike Meyer typed: > I have a test machine that boots a number of things, FreeBSD -stable > and -current among them. I tried installing the latest 5.0 CDs, and > that failed miserably (the install process insist you have a swap, but > can't find the one I use on ad0s6c). So I rebooted the system to go > back to -stable. > > It failed to come up. Since this box runs a variety of OS's, including > two different FreeBSDs, I use grub to boot it. It loaded the grub > stage2 boot and then went to the grub command prompt. Trying to run > the boot by hand - via "root (hd0,1,a)" - gets the message "no such > partition". When I ask grub for a list of partitions, it lists the two > FreeBSD partitions, but says it can't find "sub-partitions" for them. > > I can boot FreeBSD-stable - I haven't tried -current - as if it were > Windows: make the FreeBSD partition the active partition and run the > standard MBR. > > I tried installing boot0. It lists the XP partition and the two > FreeBSD partitions (so much for Linux). Asking it to boot the two > FreeBSD partitions results in beeps. It boots XP just fine - which > means that entry is slightly more useful than the FreeBSD entries. > > I tried getting the latest version of grub, but that's a no go. I can > boot it off the floppy, but it doesn't see sub-partitions either. > > If I boot -stable from grub as described above, everything comes up > and works fine. I can even mount the -current partion and see that > everything is as it should be. But neither boot loader seems to work. > > Clues? Hints? Request for more information? Help? The 5.0 install process overwrote the disklabels. The only data it changed was the FS type on the partitions - they were all tagged as unused. So the various boot loaders can no longer find a partition that is in use. Fixing that with disklabel solved the problem. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message