>Number: 157933 >Category: kern >Synopsis: Install script fails when /root is mounted as its own partition >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 16 23:20:05 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Robert Simmons >Release: 8.2-RELEASE >Organization: >Environment: FreeBSD 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64 >Description: If you are installing using a fixit shell and the /dist/8.2-RELEASE/base/install.sh script it will fail if you have /root mounted as its own partition. I used gpart(8) to make GPT partitions, so it may be GPT related. I did not try this with MBR. >How-To-Repeat: Boot from install CD. Create partitions for the following mount points: / /usr /tmp /var /root
newfs / then newfs -U all the others. mount / then create directories for /usr /tmp /var and /root in it. mount each of these in their proper place. export DESTDIR=/mnt (if this is where you mounted /, otherwise replace /mnt with where you mounted /) run the install.sh script. it will fail when it gets to the point where it extracts the four dotfiles that belong in /root >Fix: The four dotfiles are very small, so you can just forgo mounting the /root partition and allow the install script to create this directory itself along with the appropriate files in / Then when the script completes successfully, you can mount the partition destined to be /root somewhere else and move the four dotfiles into it, unmount it then mount it where it needs to be at /root >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
