1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

pc-sysinstall committed to HEAD

Discussion in 'Installing and Upgrading FreeBSD' started by phoenix, Jul 22, 2010.

  1. phoenix

    phoenix Moderator Staff Member Moderator

    Messages:
    3,422
    Thanks Received:
    753
    Hooray! Modern installer will be available in (hopefully) FreeBSD 9.0. :) With support for (a lot more) modern features of FreeBSD.

    From the latest FreeBSD Status Report:
    Code:
    New System Installer -- pc-sysinstall
    
      URL:
      http://lists.FreeBSD.org/pipermail/svn-src-all/2010-June/025660.html
      URL:
      http://www.BSDCan.org/2010/schedule/attachments/142_pc-sysinstall-kris-
      moore-2010.pdf
    
      Contact: Kris Moore <kris@pcbsd.org>
      Contact: M. Warner Losh <imp@FreeBSD.org>
    
      The new system installation backend, pc-sysinstall, was merged into
      HEAD recently and work is already underway to make it more functional
      and useful as a complete replacement to standard "sysinstall". It is
      written 100% in shell, not requiring any additional tools from what is
      standard to FreeBSD. The backend already supports a number of exciting
      features such as:
        * ZFS (Including support for raidz/mirror/multiple device pool
          setups).
        * Disk encryption via GELI(8).
        * Auto labeling of file systems with glabel(8).
        * Big disk support using GPT/EFI.
        * Full Installation Logging, which is saved to disk for post-install
          inspection.
    
      In addition to the features above, pc-sysinstall is unique, in that
      every install ends up being a scripted install. Front-ends, be it GUI-
      or text-based, simply generate the appropriate system configuration
      file, and pc-sysinstall does the grunt work of the actual installation.
      This is important for a couple of reasons. First, it makes the task of
      front-end development much easier by not needing to worry about a
      backend-driven program flow. Second it means that any front-end can be
      used to generate the installation configuration file, which can then be
      copied or modified to perform automated installs.
    
      While pc-sysinstall is still relatively new, it is already in use as
      the default backend for PC-BSD 8.0 and 8.1, and has been getting a very
      good reception and any bugs found are fixed quickly. A text-based
      front-end is already in the works which will allow installation media
      to be created without X11 support.
     
    ericturgeon, DutchDaemon, graudeejs and 2 others thank for this.
  2. fronclynne

    fronclynne New Member

    Messages:
    1,297
    Thanks Received:
    167
    My favourite part?

    "It is written 100% in shell, not requiring any additional tools from what is standard to FreeBSD."

    +2^64
     
  3. jumbotron

    jumbotron New Member

    Messages:
    39
    Thanks Received:
    0
    i like gui installations.PERIOD.!
     
  4. phoenix

    phoenix Moderator Staff Member Moderator

    Messages:
    3,422
    Thanks Received:
    753
    And you can have your GUI installer with pc-sysinstall working in the background. If you read the blurb, it mentions that every install works the same: installer builds an install script, pc-sysinstall executes the install script. IOW, anyone can go out and build a GUI installer. Or use the text installer. Or build a curses/dialog based installer (like sysinstall currently). Or ... whatever you want.
     
  5. Beastie

    Beastie Active Member

    Messages:
    1,927
    Thanks Received:
    339
    But who said anything about a GUI (as in "X+Qt-based"?) frontend? Will they really implement/reuse one? Will they find enough room for it when in 7.2 they had to remove software packages from disc1?

    Great news anyway. I particularly like the front-backend architecture and the fact it's coded in shell.
    I hope the text-based setup will be similar to OpenBSD's or they keep a sysinstall-like interface.
     
  6. fronclynne

    fronclynne New Member

    Messages:
    1,297
    Thanks Received:
    167
    This bit here
    Code:
    it is already in use as the default backend for PC-BSD 8.0 and 8.1
    seems to imply that there already is an Xorg+Qt front-end (unless PC-BSD has reverted overnight).

    I'm pretty happy with using a live/rescueCD, myself, but it might be a hilarious lark to patch up sysinstall to use the pc-sysinstall back-end.
     
  7. soup4you2

    soup4you2 New Member

    Messages:
    1
    Thanks Received:
    0
    I'm probably the only one that is going to miss sysinstall.. how obscure and weird some of the installation processes that I've had to accomplish in the past, sysinstall worked like a champ! it did it's job and it did it well.. Tonight I think that I will drink a nice frosty beer for sysinstall.

    I am interested in knowing how the new installer works over serial connections or PXE.
     
  8. sk8harddiefast

    sk8harddiefast Active Member

    Messages:
    2,024
    Thanks Received:
    158
    You are not the only one. I don't like it very much, as idea at least. Well, practical will be easier to install FreeBSD. But Gui on FreeBSD sounds bad on my ears. Even on installer. I am not against Gui installer. Just I prefer the classical way. Maybe harder way to install FreeBSD but if I wanted Gui, happy buttons and something easy to be even installed, probably I wouldn't be here :) . I believe that on deep waters you must learn to swim. Is harder but when you learn, you will be better swimmer. Well this is my opinion at least. I like sysinstall. If had the option that Solaris have (Choose ZFS or UFS), then it could be just perfect :)
     
  9. phoenix

    phoenix Moderator Staff Member Moderator

    Messages:
    3,422
    Thanks Received:
    753
    The beauty of pc-sysinstall is that every install is nothing more than a scripted install. The UI layer just builds the script, passes the script to the installer, and the installer just runs the script.

    Which means anyone can build any kind of UI on top that they want. Or just build a simple script and pass it manually to the installer.
     
  10. sk8harddiefast

    sk8harddiefast Active Member

    Messages:
    2,024
    Thanks Received:
    158
    From where I can download the source of Pc-sysinstall?
     
  11. da1

    da1 Member

    Messages:
    759
    Thanks Received:
    64
    I, on the other hand, would prefer something like RedHat has at the beginning of the install (2 options) so that you can choose for yourself GUI or not-GUI install mode.

    A GUI installer is something we should have had a loooong time ago, but IMHO, I think we should be able to choose GUI or non-GUI right at the beginning.
     
  12. danbi

    danbi New Member

    Messages:
    227
    Thanks Received:
    27
    What I find nice about the "script based installer" is that you should be able to reuse the script to install another system, which with the current sysinstall does not seem possible.

    Whether or not to use GUI is irrelevant -- FreeBSD must always have non-GUI interface available.