From owner-freebsd-questions Thu Feb 7 7:41:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from otaku.freeshell.org (otaku.freeshell.org [207.202.214.131]) by hub.freebsd.org (Postfix) with ESMTP id 78B8137B41C for ; Thu, 7 Feb 2002 07:41:12 -0800 (PST) Received: by otaku.freeshell.org (8.11.3/8.11.6) id g17Ff8e15319; Thu, 7 Feb 2002 15:41:08 GMT Date: Thu, 7 Feb 2002 16:41:08 +0100 (CET) From: Thorsten Trampisch X-X-Sender: To: Subject: /sbin not on root partition, init_path does not work -> init not found Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I have the following problem: I had to upgrade a FreeBSD 4.3-RELEASE box to 4.5-STABLE. I did a "make buildworld" "make buildkernel" and "make installkernel". After the following reboot the machine came up with /stand/sysinstall The system was not set up by me: I found out that /sbin is linked to another partition: disk1s1a: Root Partition disk1s1e: Partition with sbin on it I tried to "set init_path=disk1s1e:/sbin/init" at the loader prompt but this does not work at all. Because I only have a serial console and cannot access the machine physically I have to try it remotely. I do have to get it work. Here some Output from the boot screen: ----- START - before init_path set -------- Waiting 15 seconds for SCSI devices to settle Mounting root from ufs:/dev/da0s1a da0 at sym0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C) /stand/sysinstall running as init on serial console ----- END - before init_path set -------- ----- START - after init_path set -------- Mounting root from ufs:/dev/da0s1a da0 at sym0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit), Tagged Queueing Enabled da0: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C) init: not found in path disk1s1e:/sbin/init panic: no init ----- END - after init_path set -------- If I try an "ls disk1s1e:/sbin" at the loader prompt I get the correct entries of the /sbin directory including "init"-program. It would be great if someone could help me with this problem. Thanks, Thorsten Trampisch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message