Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 1998 22:57:17 +0200 (MET DST)
From:      Sascha Schumann <sas@schell.de>
To:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   MAKEDEV on ro wd
Message-ID:  <Pine.LNX.4.00.9807242242310.513-100000@guerilla.foo.bar>

next in thread | raw e-mail | index | archive | help
Hi all,

I've installed FreeBSD from the net some days ago on a PC with the
following IDE layout:

wd0: normal disk
wd1: cdrom
wd2: freebsd installed here

Everything is working there.

Now I wanted to use the wd2 disk in another computer, which has the
following config:

wd0: win/linux partitions (slices, eh ;) (lilo as booter)
wd1: freebsd installed here
wd2: linux only
wd3: cdrom

What's the problem now? I can boot from the wd1 disk, the kernel is
loading fine, but it stucks on mounting the standard partitions. This is
caused by

o  I forgot to change /etc/fstab (still pointing to wd2*)
o  /dev/wd1s1[a-f] does not exists (and I cannot get rw access to the
   system to use MAKEDEV)

So, when booting in FreeBSD, I get this kind of rescue shell where the
root fs /dev/wd1s1 is mounted read only. How do I get around this? mount
doesn't know a "-o remount" option and a "mount root_device /" bumps on me
with a "cannot remount read-writable...run fsck manually".

Is there any way I can avoid playing with the hds again? 

Thanks for your help,

Sascha


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.LNX.4.00.9807242242310.513-100000>