Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jan 2009 10:40:51 -0800
From:      Mark Atkinson <atkin901@yahoo.com>
To:        freebsd-current@freebsd.org
Subject:   Re: FreeBSD 8: fails booting from slice ad8s1a
Message-ID:  <gk08jj$g31$1@ger.gmane.org>
References:  <4962A0D3.1010704@mail.zedat.fu-berlin.de> <CE8C8ECA-8F08-4CE5-994C-3950C8EDE8A6@mac.com> <gjvsrf$1ei$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Replying to myself, solution below:

Mark Atkinson wrote:
> Trying to mount root from ufs:/dev/ad6s1a
> 
> Manual root filesystem specification:
>   <fstype>:<device>  Mount <device> using filesystem <fstype>
>                        eg. ufs:da0s1a
>   ?                  List valid disk boot devices
>   <empty line>       Abort manual input
> 
> mountroot> ?
> 
> List of GEOM managed disk devices:
>   ad6b ad6a ad6 acd0
> 
> Manual root filesystem specification:
>   <fstype>:<device>  Mount <device> using filesystem <fstype>
>                        eg. ufs:da0s1a
>   ?                  List valid disk boot devices
>   <empty line>       Abort manual input
> 
> mountroot> ufs:ad6a
> Trying to mount root from ufs:ad6a
> WARNING: / was not properly dismounted
> /: mount pending error: blocks 8 files 1
> Lookup of /dev for devfs, error: 20
> exec /sbin/init: error 20
> exec /sbin/oinit: error 20
> exec /sbin/init.bak: error 20
> exec /rescue/init: error 20
> exec /stand/sysinstall: error 20
> init: not found in
> path /sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init:/stand/sysinstall
> panic: no init
> cpuid = 1
> KDB: enter: panic
> [thread pid 1 tid 100002 ]
> Stopped at      kdb_enter+0x3a: movl    $0,kdb_why
> db>

This is the 'stale label' problem described here:

http://lists.freebsd.org/pipermail/freebsd-current/2008-December/001750.html

with the solution here:

http://lists.freebsd.org/pipermail/freebsd-current/2009-January/001892.html

After erasing the 'non-slice' label on the disk, I'm able to mount root.

-- 
Mark Atkinson
atkin901@yahoo.com
(!wired)?(coffee++):(wired);




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gk08jj$g31$1>