Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 1996 16:43:34 +0200
From:      Andries.Brouwer@cwi.nl
To:        bde@zeta.org.au, dwhite@riley-net170-164.uoregon.edu, freebsd-bugs@FreeBSD.org, j@uriah.heep.sax.de, jkh@time.cdrom.com, questions@FreeBSD.org
Subject:   Re: installation fails
Message-ID:  <9607241443.AA04743=aeb@zeus-184.cwi.nl>

next in thread | raw e-mail | index | archive | help
<
 It took me some time to figure things out, but at least
 the bootflop part functions well now.  Have still to figure out
 why my small boot partition doesn't work.
 Now that I spent four or five hours to get to this point
 (and wasted the time of several helpful people), it may be
 a good idea to save this information somewhere in the handbook
 or elsewhere, so that other newbies can overcome this first hurdle
 somewhat more quickly.

 Andries
>

Problem: I have an `Install' and a `Fixit' floppy but cannot
	boot my FreeBSD system. How do I construct a boot floppy?

Solution:
	<The example assumes that the system is on sd1,
	 with default partitions.>

	Boot the Install floppy. Choose Fixit in the menu.
	# mount /dev/sd1a /mnt
	# cp /mnt2/stand/chroot /mnt/stand
	# /mnt/sbin/umount /mnt2
	# /mnt/stand/chroot /mnt
	# mount /dev/sd1f /usr; mount /dev/sd1e /var

	<Now you have a working FreeBSD system. Compile a kernel,
	 if required. Read manuals and look in /etc/disktab.>

	# disklabel -B -r -w fd0 fd1440
	# newfs -t2 -u18 -l1 -i65536 fd0
	# mount /dev/fd0 /mnt2
	# cp kernel /mnt2
	# umount /mnt2

Discussion:
	One cannot write to fd0 (not even to rfd0) as long as the
	Fixit floppy is mounted.
	"umount /mnt2" fails with "Device busy" because the umount
	binary itself is read from the floppy.
	The system chroot (/usr/sbin/chroot) cannot be used
	because it requires /usr/libexec/ld.so, which is found
	only after the chroot.
	The floppy chroot cannot be used either, because after
	the "chroot" the floppy cannot be unmounted anymore.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9607241443.AA04743=aeb>