From owner-freebsd-questions Sat Dec 26 14:37:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA10894 for freebsd-questions-outgoing; Sat, 26 Dec 1998 14:37:18 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA10889 for ; Sat, 26 Dec 1998 14:37:16 -0800 (PST) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.8/8.8.8) id QAA19129; Sat, 26 Dec 1998 16:36:59 -0600 (CST) (envelope-from proot) From: "Paul T. Root" Message-Id: <199812262236.QAA19129@horton.iaces.com> Subject: Re: How can I mirror a FreeBSD hard drive? In-Reply-To: <199812241841.SAA20955@tssa.novanetworks.com> from Farzad Diba at "Dec 24, 98 04:09:27 pm" To: farzad@novanetworks.com Date: Sat, 26 Dec 1998 16:36:59 -0600 (CST) Cc: questions@FreeBSD.ORG (Questions FreeBSD) X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In a previous message, Farzad Diba said: > Hi Paul, > > I read your post about using dump/restore to create new freebsd- > bootable drives. I'm wondering how you prep the disk before you > mount it as a secondary drive and perform the dump/restore of the > filesystems. To be specific - > > when i mount the drive initially to /mnt and create the initial slice, it > is an 'e' slice. > > when i remove the primary and boot off the secondary the 'system' > is looking for an 'a' slice. > > how do i change the initial boot up process to look for the kernel at > > 0:wd(0,e)kernel rather than 0:wd(0,a)kernel? > > farzad diba I used the non-interactive features of disklabel and fdisk to create the partitions as I needed. You could also trick disklabel by having it do an automatic layout then change the partitions as needed. -- "It depends on your definition of asleep. They were not stretched out. They had their eyes closed. They were seated at their desks with their heads in a nodding position." -- John Hogan, Commonwealth Edison Supervisor of News Information, responding to a charge by a Nuclear Regulatory Commission inspector that two Dresden Nuclear Plant operators were sleeping on the job. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message