From owner-freebsd-questions@FreeBSD.ORG Sat Nov 29 16:37:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C835106564A for ; Sat, 29 Nov 2008 16:37:17 +0000 (UTC) (envelope-from admin@azuni.net) Received: from mail.azuni.net (ns0.azuni.net [217.25.25.3]) by mx1.freebsd.org (Postfix) with ESMTP id 451CF8FC18 for ; Sat, 29 Nov 2008 16:37:15 +0000 (UTC) (envelope-from admin@azuni.net) Received: (qmail 48282 invoked by uid 1004); 29 Nov 2008 16:37:12 -0000 Received: from admin@azuni.net by mail.azuni.net by uid 89 with qmail-scanner-1.20 (clamscan: 0.65. spamassassin: 2.63. Clear:RC:1(127.0.0.1):. Processed in 0.00989 secs); 29 Nov 2008 16:37:12 -0000 Received: from unknown (HELO ns0.azuni.net) (127.0.0.1) by localhost.azuni.net with AES256-SHA encrypted SMTP; 29 Nov 2008 16:37:12 -0000 Received: (from vpopmail@localhost) by ns0.azuni.net (8.12.9p1/8.12.9/Submit) id mATGb9iR048266; Sat, 29 Nov 2008 20:37:09 +0400 (AZT) Message-Id: <200811291637.mATGb9iR048266@ns0.azuni.net> X-Authentication-Warning: ns0.azuni.net: vpopmail set sender to admin@azuni.net using -f From: "admin" To: freebsd-questions@freebsd.org Date: Sat, 29 Nov 2008 20:37:09 +0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: FreeBSD 4.8: can't load kernel after doing "cp -R /" to another disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Nov 2008 16:37:17 -0000 Hello, everyone. This is the problem: our SCSI disk with FreeBSD 4.8 on it has been failing recently, so I copied its root partition to a fresh IDE disk with cp -pR and tried to boot from that. Unfortunately, loader gives me this: can't load 'kernel' can't load 'kernel.old' and offers prompt. I tried almost any combination of the loader command (like 0:ad0(0,a)/boot/loader) but still the same. The kernels are right there: /kernel and /kernel.old. Can't the root partition be copied this way? Should their location on disk be hardcoded somewhere? Please help me with bootblocks etc. as I'm desperately running out of time.