Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2001 14:43:07 +0200
From:      Christoph Sold <so@server.i-clue.de>
To:        Drew Tomlinson <drewt@writeme.com>
Cc:        "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: How to Make a Boot Floppy?
Message-ID:  <3B0518DB.E84FEB28@i-clue.de>
References:  <BA5D0CE1CBB2D411B6AA00A0CC3F02390AF9F5@ldcmsx01.lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help


Drew Tomlinson schrieb:
> 
> Can someone point me to a tutorial on creating a 4.3 boot floppy?
> Specifically, I want to boot from a floppy and be able to run disklabel
> from the same floppy to edit the partition table on my hard drive that
> includes my /usr partition.  I've tried doing this from a hard drive
> boot, even from single user mode, but the problem is that disklabel uses
> vi to edit the label.  vi and it's required libraries are on /usr and I
> can't edit the partition while it's mounted.  And when it's not mounted,
> disklabel doesn't work because vi doesn't work.
> 
> Or if anyone has any better ideas, I'm all ears.

boot singleuser, setenv editor=/bin/ed, disklabel.

HTH
-Christoph Sold

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B0518DB.E84FEB28>