Professional Web Applications Themes

FreeBSD installation with single / partition - FreeBSD

Is this a serious no-no? I see this breaks make installworld... :\ Complains about / being read-only, and naturally there is no way for me to remount it r/w with the system being up... :( And a rescue CD kinda defeats the object of rebuilding from source... :( So, would I do best to reinstall this machine with a proper FS layout before putting it into production? -AL....

  1. #1

    Default FreeBSD installation with single / partition

    Is this a serious no-no?

    I see this breaks make installworld... :\ Complains about / being read-only, and naturally there is no way for me to remount it r/w with the system being up... :( And a rescue CD kinda defeats the object of rebuilding from source... :(

    So, would I do best to reinstall this machine with a proper FS layout before putting it into production?

    -AL.

    Andrew Guest

  2. #2

    Default Re: FreeBSD installation with single / partition

    On 2005-03-22 13:54, Andrew Lewis <co.za> wrote: 

    You are definitely doing something wrong. The root filesystem should be
    mounted as read-write *before* you run installworld. The UPDATING file
    in /usr/src contains the following:

    To rebuild everything and install it on the current system.
    -----------------------------------------------------------
    # Note: sometimes if you are running current you gotta do more than
    # is listed here if you are upgrading from a really old current.

    <make sure you have good level 0 dumps>
    <maybe fix /etc/fstab> [7]
    make buildworld
    make kernel KERNCONF=YOUR_KERNEL_HERE
    [1]
    <reboot in single user> [3]
    src/etc/rc.d/preseedrandom [10]
    mergemaster -p [5]
    make installworld
    mergemaster [4]
    <reboot>

    A few paragraphs below...

    [3] From the bootblocks, boot -s, and then do
    fsck -p
    mount -u /
    mount -a
    cd src
    adjkerntz -i # if CMOS is wall time
    Also, when doing a major release upgrade, it is required that
    you boot into single user mode to do the installworld.

    Note the ``mount -u'' and ``mount -a'' commands.
     

    A single, big root partition is definitely a "proper" FS layout, if
    that's what you like doing.

    Giorgos Guest

  3. #3

    Default Re: FreeBSD installation with single / partition

    On Tue, 22 Mar 2005 14:00:25 +0200
    Giorgos Keramidas <upatras.gr> wrote:
     

    Right you were, I was overlooking those extra instructions. ;) Working fine now. Thx for your help....

    -AL.

    Andrew Guest

  4. #4

    Default Re: FreeBSD installation with single / partition

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On 2005-03-22, Andrew Lewis scribbled these curious markings:
    [Please properly wrap your posts. 72 characters is the accepted
    maximum. I'm surprised that your Linux mailer doesn't do this for you.] 

    In my opinion, and that of the author of tuning(7), yes. I highly
    recommend that you read tuning(7), and carefully consider the points
    made therein as to whether your single slice setup is wise. Just because
    Gentoo or $OTHER_POPULAR_LINUX_DISTRIBUTION does something a certain way
    doesn't mean that it's right (of course, the same applies to the FreeBSD
    way of doing things, but often it is right :) ).

    Best Regards,
    Christopher Nehren
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.0 (FreeBSD)

    iD8DBQFCQH1Ak/lo7zvzJioRAqBYAJ4wkr0as3JvreUeOWM4Bz48YQAsHwCgsYl4
    mAcNN5MRslGSYdTd31pnDdE=
    =nEoh
    -----END PGP SIGNATURE-----

    --
    I abhor a system designed for the "user", if that word is a coded
    pejorative meaning "stupid and unsophisticated". -- Ken Thompson
    If you ask the wrong questions, you get answers like "42" and "God".
    Unix is user friendly. However, it isn't idiot friendly.

    Christopher Guest

Similar Threads

  1. single doent to cover an installation/upgrade?
    By Cinda in forum Coldfusion - Getting Started
    Replies: 2
    Last Post: September 8th, 08:35 PM
  2. Installation looping at Partition Hard Drive step (Debian)
    By Tom in forum Linux Setup, Configuration & Administration
    Replies: 3
    Last Post: November 6th, 09:06 PM
  3. Replies: 2
    Last Post: August 3rd, 03:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139