Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2001 23:18:05 -0800
From:      David <davidd@datasphereweb.com>
To:        Bill Schoolcraft <bill@wiliweld.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: (partition table) FBSD table still remains.
Message-ID:  <20010105231805.A14031@datasphereweb.com>
In-Reply-To: <Pine.BSF.4.21.0101052219300.29171-100000@corten8.billschoolcraft.com>; from bill@wiliweld.com on Fri, Jan 05, 2001 at 10:55:45PM -0800
References:  <Pine.BSF.4.21.0101052219300.29171-100000@corten8.billschoolcraft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010105231805.A14031>