From owner-freebsd-questions Mon Jul 17 21:17:14 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA07567 for questions-outgoing; Mon, 17 Jul 1995 21:17:14 -0700 Received: from mail.barrnet.net (mail.barrnet.net [131.119.246.7]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id VAA07550 for ; Mon, 17 Jul 1995 21:17:12 -0700 Received: from lin.wsl.sinica.edu.tw (lin.wsl.sinica.edu.tw [140.109.7.3]) by mail.barrnet.net (8.6.10/MAIL-RELAY-LEN) with SMTP id UAA14689 for ; Mon, 17 Jul 1995 20:30:42 -0700 Message-Id: <199507180330.UAA14689@mail.barrnet.net> Received: by lin.wsl.sinica.edu.tw (1.37.109.4/16.2) id AA28575; Tue, 18 Jul 95 11:17:54 +0800 From: Yen-Wei Liu Subject: Fail to mount root after recompiling kernel To: questions@freebsd.org Date: Tue, 18 Jul 95 11:17:54 EAT Mailer: Elm [revision: 70.85] Sender: questions-owner@freebsd.org Precedence: bulk Hi, I am using FreeBSD 2.05R. This happens to me twice, on different machines with different hardware configuration : I re-built a new kernel, copied it to root as kernel.1, rebooted the machine with kernel.1. After all the booting , first time on machine A, FreeBSD shows messages like "fail to mount swap on wd1s2(I don't quite remember the device name)". Changing to the original kernel didn't get my system back. I thought it was my fault , and rebuilt all the device names to save my system. Then the second time, I recompiled the kernel on machine B, copied it to root as kernel.1, and rebooted. FreeBSD shows : " cannot mounting root sd1a", and then system panic and rebooting. Changing back to boot with the original kernel didn't bring it back. What can go wrong with my re-compilation ? This was never the case back in FreeBSD 2.0R. Were device names changed when I first time rebooted with new kernels ? I hope somebody can help me. -- Yen-Wei Liu