Re: Mount-probleme nach mainboard-wechsel

From: Joerg Wunsch <j(at)uriah.heep.sax.de>
Date: Sat, 2 Feb 2002 11:19:36 +0100

As Heiko J. Rintelen, Rintelen Systemhaus GmbH wrote:

> mounting root from ufs:/dev/ad4s1a
> Root mount failed : 6

> Danach soll ich selbst angeben, wie gemountet werden soll. Die
> Harware-Erkennung hat ein device ad0s1 mit a-b-e-f
> festgestellt.

Interessant, wo er die ad4 hernimmt.

> ufs:/dev/ad0s1

ufs:/dev/ad0s1a bitte

> wird auch was gemountet..er versucht dann wiederum ad4s1a zu mounten
> und meldet, das "device not configured"....

Nun, er arbeitet an dieser Stelle die /etc/fstab ab. Die mußt Du also
editieren.

mount -u /dev/ad0s1a /

Damit wird das root-FS read/write. Jetzt kannst Du entweder Dir die
Mühe machen herauszufinden, welche Partitions /var und /usr sind,
diese manuell fsck'en und mounten, dann kannst Du einen vi benutzen.
Oder Du nimmst Den Einzig Wahren UNIX-Editor :), ed(1) is your
friend...

User Commands ed(1)

NAME
     ed, red - text editor

SYNOPSIS
     /usr/bin/ed [ -s | - ] [ -p string ] [ -x ] [ -C ] [
     file ]
...

DESCRIPTION
     The ed utility is the standard text editor. If file is
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     specified, ed simulates an e command (see below) on the
     named file; that is to say, the file is read into ed's
     buffer so that it can be edited.

:-) OK, die stammt nicht vom FreeBSD...

ed /etc/fstab
g/ad4/s/ad4/ad0/
1,$p
w
q

Danach sollte es gehen.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL
http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 02 Feb 2002 - 11:20:11 CET

search this site