I hosed up with vi

Matthew Dillon dillon at apollo.backplane.com
Tue Jan 6 18:58:40 PST 2004

:Hi, all.  Attempting to install from CD, I apparently
:hosed up doing the "disklabel -e" probably because
:of my inexperience with vi.  The problem I created
:was a "disk full" error.  (I have 80MB RAM on that
:computer.)  I was not able to continue or quit from
:vi, and when I did ctrl-alt-del, there was a stream
:of "disk full" messages.  I had to hit the power
:button to reboot.  I realize I messed up, but I think
:the error handling is not doing what it should.

    You should be able to boot with the CD.  If the system
    is not booting the CD when you reboot get into the BIOS
    and change the boot try ordering so it tries the CD
    before the HD.

    Once you are able to boot from the CD again you should
    be able to fix up the hard drive issues.  There are a lot
    of things that can result in a disk-full problem.  When
    you say you only have 80MB of RAM do you mean that you
    only have 80MB of RAM or an 80MB hard disk?  80MB of ram
    should not be a problem, but an 80MB hard disk would be a

    We should probably include a sample disklabel on the CDRom.

    Disklabels will accept sizes in megabytes, and '*' for
    auto-calculation.  So, for example, you could do this:

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   256m         0    4.2BSD 
  b:  1024m   *      swap
  c: (keep this number intact) 0 unused
  d: 256m *    4.2BSD
  e:  256m  *    4.2BSD
  f:  8192m  *    4.2BSD
  g:  *  *    4.2BSD

    disklabel might get confused with so many wildcards.  If
    so, leave off the 'g' partition, save it, then run disklabel
    again to set up the 'g' partition.

    In this example I am assuming at least a 10G hard drive.

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Bugs mailing list