Date: Tue, 24 Nov 1998 09:39:46 +0800 From: Christopher Hall <hsw@acm.org> To: freebsd-current@FreeBSD.ORG Subject: /boot/loader what to set rootdev to? Message-ID: <199811240139.JAA09783@hsw.generalresources.com>
next in thread | raw e-mail | index | archive | help
>From a cvsup and make world at Sat 1998/11/21.
I made/installed new boot blocks and /boot/loader.
Made an ELF kernel, did not create a boot config file, just hit enter
at the timeoout prompt. Booted OK.
The system only had da0 and da1. wd0 was disconnected.
Problem occured when I reconnected wd0 (Primary IDE master).
This has OS/2 boot manager - boot goes to the boot prompt.
I can still boot properly with 1:sd(0,a)/kernel
However, 1:sd(0,a)/boot/loader at the 'boot:' cannot boot properly.
The loader prompts: "disk1s1a>" Which it lists as C: (IDE drive)
(SCSI drives are shown as disk2 and disk3)
Here are my boot attempts: (commands typed at loader prompt)
1)
set currdev=disk2s1a:
boot
-> Changing root device to da1s1a
error 22: panic: cannot mount root (2)
2)
set currdev=disk2s1a:
set rootdev=disk0s1a:
boot
-> 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: (press RETURN)
which: not found
which: not found
# mount
root_device on / (local, read-only)
# mount /
mount: /dev/da0s1a on /: specified device does not match mounted device
# reboot
3)
set currdev=disk2s1a:
set rootdev=disk2s1a:
boot
-> Same result as 1) above.
4)
set currdev=disk2s1a:
set rootdev=disk3s1a:
boot
-> Changing root device to da2s1a
Changing root device to da2a
error 6: panic: cannot mount root (2)
5)
tried leaving out ':' from rootdev and using 'da' instead of disk
got a register dump followed by system halted.
What should rootdev be set to when booting da0s1a with one IDE drive?
---
Christopher Hall <hsw@acm.org>
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?199811240139.JAA09783>
