*BSD News Article 70669


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.ecn.uoknor.edu!news.wildstar.net!news.sdsmt.edu!news.mid.net!mr.net!chi-news.cic.net!newsxfer2.itd.umich.edu!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!jraynard.demon.co.uk!not-for-mail
From: james@jraynard.demon.co.uk (James Raynard)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to boot single user with root partition writable ?
Date: 11 Jun 1996 08:00:53 -0000
Organization: A FreeBSD Box
Lines: 33
Message-ID: <4pj93l$o8@jraynard.demon.co.uk>
References: <31BCC040.41C67EA6@telstra.net>
NNTP-Posting-Host: localhost.demon.co.uk
X-NNTP-Posting-Host: jraynard.demon.co.uk

In article <31BCC040.41C67EA6@telstra.net>,
Wayne Farmer  <wayne@telstra.net> wrote:
>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.

ed? It's in /bin for that very reason (statically linked so you don't
need /usr, line mode so you can use it even if the terminal's acting
strangely).

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

mount -u -w /

>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 ?

The fixit floppy is the best way. Unfortunately making a boot floppy
for FreeBSD is not a simple task, although I believe someone is
working on it.

-- 
James Raynard, Edinburgh, Scotland
james@jraynard.demon.co.uk
jraynard@FreeBSD.ORG