Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 1997 09:56:42 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        Leif Neland <leifn@swimsuit.roskildebc.dk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: root_device read-only, and not in dev or fstab
Message-ID:  <Pine.BSF.3.95.971027095554.897H-100000@current1.whistle.com>
In-Reply-To: <250_9710271355@swimsuit.roskildebc.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
boot from the boot floppy,
choose the 'fixit disk' option
put in the fixit disk
mount the root part
fix it


On 27 Oct 1997, Leif Neland wrote:

> 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?Pine.BSF.3.95.971027095554.897H-100000>