*BSD News Article 70575


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!testpattern.telstra.net!usenet
From: Wayne Farmer <wayne@telstra.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: How to boot single user with root partition writable ?
Date: Tue, 11 Jun 1996 10:39:28 +1000
Organization: Telstra Internet
Lines: 17
Message-ID: <31BCC040.41C67EA6@telstra.net>
NNTP-Posting-Host: pizza.telstra.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b4Gold (X11; I; FreeBSD 2.1.0-RELEASE i386)

I did a bit of disk re-organising recently and found myself in a
position where I had no /usr but I needed to make some changes in /etc
before putting /usr back.

I needed to re-label a disk while in this state so used the fixit
floppy.  disklabel -e sd0 could not be done without /usr/bin/vi so I
made /usr/bin and did a link to /mnt2/stand/vi
It worked but there must be a neater way.

1) Booting with the -s option seems to make the root partition
read-only.  How do you get around that ?

2) What is the best way to make a bootable floppy which has a reasonable
no. of maintenance commands available OR is the fixit floppy the best
way ?

Thanks