Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 1999 18:20:01 +1200 (NZST)
From:      henk van der knaap <henkvand@es.co.nz>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re:Making a rescue boot floppy
Message-ID:  <Pine.BSF.4.05.9905241755550.5530-100000@henk>
In-Reply-To: <Pine.LNX.4.10.9905201915590.492-100000@henk>

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

I am trying to make a rescue floppy for my FreeBSD 3.1 system. I have been
using the guidelines in the FreeBSD handbook. I used the example script as
given for creating a bootable floppy.


---------------------------------------------------------------------
      #!/bin/sh
      #
      # create a restore floppy
      #
      # format the floppy
      #
      PATH=/bin:/sbin:/usr/sbin:/usr/bin

      fdformat -q fd0
      if [ $? -ne 0 ]
      then
	   echo "Bad floppy, please use a new one"
	   exit 1
      fi

      # place boot blocks on the floppy
      #
      disklabel -w -B -b /usr/mdec/fdboot -s /usr/mdec/bootfd /dev/rfd0c
fd1440

      #
      # newfs the one and only partition
      #
      newfs -t 2 -u 18 -l 1 -c 40 -i 5120 -m 5 -o space /dev/rfd0a

etc. etc.
------------------------------------------------------------------------------

I have problems with the following line:
 

 disklabel -w -B -b /usr/mdec/fdboot -s /usr/mdec/bootfd /dev/rfd0c fd1440

I do not exactly understand what it means. I get an error messages that 
/usr/medec/fdboot cannot be found. What is fdboot or bootfd?

Could somebody please tell me what is going on here??

Many thanks.

Henk

Henk van der Knaap,
92 Halswell Junction Road,
Christchurch, New Zealand.
Phone/fax 64 3 3229185

Operating system is FreeBSD 3.1
===================================================
My e-mail address is as follows:  henkvand@es.co.nz
===================================================




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