Re: 5.x separate /boot slice?

From: Garance A Drosehn (gad_at_FreeBSD.org)
Date: 08/05/05

  • Next message: DeadMan Xia ....: "bge0: WatchDog Timedout -- resetting in FreeBSD 5.3"
    Date: Thu, 4 Aug 2005 19:35:44 -0400
    To: Michael Dexter <dexter@ambidexter.com>, freebsd-questions@FreeBSD.org
    
    

    At 12:56 AM +0300 8/5/05, Michael Dexter wrote:
    >>> I would like to try a separate /boot slice as permitted
    >>>by FreeBSD 5.x...

    I missed the beginning of this thread. Where did you get the
    impression that FreeBSD will work if you create /boot as a
    separate partition?

    >>Search the list. This comes up about once a month, and I've
    >>yet to see anyone succeed.

    It came up on this very mailing list back on July 19th, with
    the subject of: 'Re: /boot on a separate partition'

    >>Aside from "it's the way Linux does it", do you have any good
    >>reason for wanting this?
    >
    >All of my questions seem to generate that response. :) Trust me,
    >they are informed questions. In short:

    >I was thinking that previous and updated kernels could both coexist
    >in /boot and a second root slice (plus usr ... as appropriate) could
    >be mounted under /mnt and receive a fresh installation of the updated
    >OS, rather than a overlay that requires mergemastering. ....

    >In some respects this is a question of dual-booting FreeBSD and
    >FreeBSD and I was hoping to share some partitions that are not
    >affected by the update process, likely including var and tmp.

    But why does that shared partition have to be '/boot', and not '/'?
    FreeBSD tends to have a small-ish '/' partition, and then have
    separate partitions for /var and /usr, and often for /tmp.

    I do exactly what you'd like to do, but the partition I duplicate
    is '/'. I have a '/' partition and a '/xRoot' partition, and I
    use FreeBSD's snapshot feature (in 5.x and better) to duplicate
    that partition into /xRoot. This gives me a nice backup of
    /boot, /root, and /etc. I then upgrade the running system. It
    seems to work fine for me. This is where we get back to the
    question, "Why *must* your goal be done using a separate
    partition for '/boot'?".

    I do not mean that to be a hostile question. I'm just saying
    that I seem to be doing exactly what you want to do, and I've
    never needed a separate /boot partition to do it.

    The one trick involved is that you duplicate '/' to '/xRoot',
    and then you have to remember to change '/xRoot/etc/fstab' so
    that it points to itself as the '/' partition... I do that
    in a script, so that change is handled automatically...

    -- 
    Garance Alistair Drosehn     =      gad@gilead.netel.rpi.edu
    Senior Systems Programmer               or   gad@FreeBSD.org
    Rensselaer Polytechnic Institute;             Troy, NY;  USA
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: DeadMan Xia ....: "bge0: WatchDog Timedout -- resetting in FreeBSD 5.3"

    Relevant Pages

    • FreeBSD trashed after installing Win98SE in lower partition - what to do?
      ... After running the FreeBSD system for nearly a year, and loving it, ... Win98SE install, and my FreeBSD partition is now unbootable. ... Fail in installing FreeBSD 5.2.1 in the placeholder Windows ...
      (freebsd-questions)
    • Re: Moving existing FreeBSD system to a new harddisk...
      ... I have FreeBSD 6.2 installed on a Dell Latitude D400 laptop. ... from the old to the new hard disk. ... occupies the first slice (called primary partition) of each disk. ...
      (freebsd-questions)
    • Re: Question about FreeBSD installation procedure
      ... I have been interested in installing FreeBSD on my laptop (HP/Compaq ... NX5000, 2MB RAM), in a free 20MB partition. ... Generally, in MS, the terms partition and primary-partition often get ... space an unspecified primary partition and then install FreeBSD in to it. ...
      (freebsd-questions)
    • Re: Quality of FreeBSD
      ... > I dual boot between XP and FreeBSD and even use VMWare to boot FreeBSD ... I can then mount a partition from the drive: ... problems caused by wiggling the apparently very sensitive cable ...
      (freebsd-stable)
    • Re: Help with lost MBR on USB HDD
      ... I have a dual boot system going with WinXP and FreeBSD on my laptop. ... Just before I installed FreeBSD I bought a USB HDD to plug in so I could ... I decided I needed a native UFS2 slice instead of a FAT32 one and set to ... from existing in the logical partition to ...
      (freebsd-questions)