Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2002 16:41:08 +0100 (CET)
From:      Thorsten Trampisch <thorsten@trampisch.com>
To:        <freebsd-questions@freebsd.org>
Subject:   /sbin not on root partition, init_path does not work -> init not found
Message-ID:  <Pine.NEB.4.33.0202071638180.14774-100000@otaku.freeshell.org>

next in thread | raw e-mail | index | archive | help
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: <COMPAQ BB00921B91 3B07> 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: <COMPAQ BB00921B91 3B07> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.4.33.0202071638180.14774-100000>