From owner-freebsd-questions Fri Jan 5 23:18: 8 2001 From owner-freebsd-questions@FreeBSD.ORG Fri Jan 5 23:18:06 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from datasphereweb.com (c182500-a.frndl1.wa.home.com [24.10.46.121]) by hub.freebsd.org (Postfix) with SMTP id 058A137B400 for ; Fri, 5 Jan 2001 23:18:06 -0800 (PST) Received: (qmail 14044 invoked by uid 1000); 6 Jan 2001 07:18:05 -0000 Date: Fri, 5 Jan 2001 23:18:05 -0800 From: David To: Bill Schoolcraft Cc: freebsd-questions@FreeBSD.ORG Subject: Re: (partition table) FBSD table still remains. Message-ID: <20010105231805.A14031@datasphereweb.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bill@wiliweld.com on Fri, Jan 05, 2001 at 10:55:45PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jan 05, 2001 at 10:55:45PM -0800, Bill Schoolcraft wrote: > > Hello, I had an old 20-gig hard drive that had been fully occupied > with FreeBSD-4.2 and decided to reinstall FBSD on it with linux > also, the usual deal and it worked fine except for the fact that > despite having newly created four primary partitions like this. > > (Linux fdisk output) > > /dev/hda1 /boot > /dev/hda2 SWAP > /dev/hda3 / > /dev/hda4 > (bsd slices) > > > Running (Linux) fdisk -l /dev/hda still shows the old single > partition setup from the FBSD which is the old layout when it was a > dedicated drive: > > a: > b: > c: > d: > e: > f: > > Running (Linux) /sbin/lilo to enter the new BSD stanza updated the > lilo menu but didn't flush the partiton table entry fully(?). Isn't > there a way to fully clean the first block of the drive and then > re-run lilo ? I'm thinking it's the following but can't recall if I > do a block size of 512 or 1024 ? > > dd if=/dev/zero of=/dev/hda count=1 bs= Isn't this frustrating? You'll need to run fdisk /mbr in order to rewrite the master boot record (that first block). Good luck. -- |> /\ \/ @ davidd@datasphereweb.com DataSphere - Back end web programming, site security, and networking david.daugherty@netmanage.com Software Engineer NetManage - The Bridge to E-Business http://www.wcug.wwu.edu/~doc ICQ: 21106703 "I like the dreams of the future better than the history of the past" -Thomas Jefferson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message