Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 1998 23:39:23 +0900 (JST)
From:      Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
To:        freebsd-current@FreeBSD.ORG
Cc:        shige@kuis.kyoto-u.ac.jp
Subject:   mount root problem? on elf kernel
Message-ID:  <19981116233923X.shige@kuis.kyoto-u.ac.jp>

next in thread | raw e-mail | index | archive | help
Hello.

I have an error in booting ELF kernel and mounting root device.

I am using 3.0-current(Nov 15, 1998) and ELF kernel on that system.

I have the following disks on my pc:  wd0, da0.
Wd0 only includes DOS slices, and da0 only includes FreeBSD slices.
System BIOS probes IDE -> SCSI. Hence, wd0 is drive C, da0 is drive D.

BTX loader says:

Disk 0  Drive A
Disk 1  Drive C
Disk 2  Drive D


In my configurations:

* da0s1a:/boot.config

/boot/loader

* da0s1a:/boot/boot.conf

set rootdev=disk0s1a:

* da0s1a:/etc/fstab

# Device      Mountpoint  FStype   Options     Dump  Pass#
/dev/da0s1a   /           ufs      rw          1     1
(...snip...)



The BOOTBIAS problem(?) is solved on the above configurations.
# It is enable to change root device (da1s1a -> da0s1a).

But, I have an error as follows:

(...snip... device probing, changing root device, fsck report)
mount: /dev/da0s1a on /: specified device does not match mounted device
Filesystem mount failed, startup aborted
Enter full pathname of shell or RETURN for /bin/sh:


And, I modified da0s1a:/etc/fstab as follows:

# Device      Mountpoint  FStype   Options     Dump  Pass#
/dev/da0a     /           ufs      rw          1     1
(...snip...)

And reboot again.
Then, I have a properly system boot without mounting errors.

I should use da0a in /etc/fstab instead of da0s1a, right?
Or I have a some mistake in my configulations?


Thank you.

--- shige
Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
  Dept. of Information Science, Kyoto Univ., JAPAN
PGP Public Key:
http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0x56B99BF9

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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