Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 09:41:25 +0100 (CET)
From:      roberto@redix.it
To:        "eechia" <eechia@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: #2 - Swapped disks and now stuck in the mountroot> prompt
Message-ID:  <39678.192.168.0.1.1077784885.squirrel@mail.redix.it>
In-Reply-To: <1045.192.168.0.77.1073926543.squirrel@mail.redix.it>
References:  <1045.192.168.0.77.1073926543.squirrel@mail.redix.it>

next in thread | previous in thread | raw e-mail | index | archive | help

>
> hello, i'm eechia.
> i've come across your "mountroot" problem on the web.
> i'm facing the similiar problem too.
> can you give me some guideline regarding it?
> thanks you
>
> -eechia-
>
> Date: 12 jan 2004
>
>
According to me, you have choice:
1) start the kernel with "-a" option (e.g. "boot -a" ): with this flag the
device "ufs:/dev/ad2s1a" (warning: type in your appropriate device) is
accepted by "mountroot> " and the boot proceed. Than I can change the
fstab
accordingly to make the change permanent.

2) boot with a rescue cdrom, get a shell prompt and change the /etc/fstab
accordingly (yes this file is red before booting the kernel, to instruct
the kernel itself to the right root device);

But I've an unanswered question from freebsd-questions people:
  - Why without the boot "-a" flag, why the kernel ask me a device and
even it is the correct one vfs_conf.c:vfs_mountroot_ask() give me the
error code 6?

Bye
Roberto



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39678.192.168.0.1.1077784885.squirrel>