Date: 27 Oct 97 09:42:03 +0100 From: leifn@swimsuit.roskildebc.dk (Leif Neland) To: freebsd-questions@freebsd.org Subject: root_device read-only, and not in dev or fstab Message-ID: <250_9710271355@swimsuit.roskildebc.dk>
next in thread | raw e-mail | index | archive | help
I put a 3rd scsi drive in a machine running fbsd, and created root, swap, var and usr on it. Then I mounted the root on /newroot, the new var and usr also, and extracted the bin-distribution on these system. Then I compiled a kernel with root on /dev/sd2s1a, put this kernel and the scsi in a dos-machine (where it is also the 3rd drive), and booted FBSDBOOT -r -D arnold.ker I got to the single-user mode, with mount saying: root_device: on / (local, readonly) I couldn't mount / rw, appearently because there wasn't a /etc/fstab, and no /dev/sd2s1a. And because of that, I couldn't create /etc/fstab and /dev/sd2s1a! Chicken and egg... So I put the scsi back[1] in machine 1, and created fstab and the proper devices. (It seems I also need to make /dev/rsd2s1a for fsck to work?) So now machine 2 works also. But was there another way of making the root writable, when it's not in /dev or fstab? [1] I don't believe in screws before the darn thing works, and even then often not... Leif Neland leifn@image.dk --- |Fidonet: Leif Neland 2:234/49 |Internet: leifn@image.dk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?250_9710271355>