From owner-freebsd-questions Wed May 9 21:20:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 1405E37B43C for ; Wed, 9 May 2001 21:20:32 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 27703 invoked by uid 100); 10 May 2001 04:20:31 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15098.5903.17572.979355@guru.mired.org> Date: Wed, 9 May 2001 23:20:31 -0500 To: Jan Pfeifer Cc: questions@freebsd.org Subject: Re: how to make a hd bootable In-Reply-To: <120763852@toto.iv> X-Mailer: VM 6.90 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\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jan Pfeifer types: > Hi, > > i'm having physical problems with an hd, so i decided to copy its contents to a new hd and, after that, simply swap the hds. > > The new hd is bigger, so I installed it in /dev/ad1, repartitioned it, copied all the contents from /dev/ad0 to /dev/ad1 (with gcp --archive to preserve everything). And what i want to do next is to take out the old hd, install the new one in /dev/ad0 and be happy :) > > the problem is that the new hd is still not bootable. How do i do this, while it is installed in /dev/hda1 ? BTW, I don't have any windows partition/dos disk ... But I have a bootable 4.1 FreeBSD CD, if necessary ... Please insert newlines into your mail every 70 characters or so - it makes reading it saner for mail agents that obey the RFCs. Anyway, you can install either a standard MBR with fdisk, or a boot manager with boot0cfg. See the man pages for those two commands for details. http://www.mired.org/home/mwm/ 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