From owner-freebsd-bugs Wed Jul 24 07:44:12 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA23035 for bugs-outgoing; Wed, 24 Jul 1996 07:44:12 -0700 (PDT) Received: from hera.cwi.nl (hera.cwi.nl [192.16.191.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA23026; Wed, 24 Jul 1996 07:44:08 -0700 (PDT) Received: from zeus.cwi.nl by hera.cwi.nl with SMTP id ; Wed, 24 Jul 1996 16:43:53 +0200 Received: by zeus-184.cwi.nl id ; Wed, 24 Jul 1996 16:43:34 +0200 Date: Wed, 24 Jul 1996 16:43:34 +0200 From: Andries.Brouwer@cwi.nl Message-Id: <9607241443.AA04743=aeb@zeus-184.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 Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk < 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: 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 # 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.