• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Unattended Debian iso install

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    15
    10.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SynRybaka
      last edited by

      I tried in another way…
      I ‘unpacked’ debian iso into /tftboot/fog/deb and added this code to my menu:
      [CODE]LABEL Debian
      kernel fog/deb/install.amd/vmlinuz
      append initrd=/fog/deb/install.amd/initrd.gz preseed/url=http://192.168.1.10/preseed.seed
      \n[/CODE]
      On the 192.168.1.10 server - there is preseed.seed file available - which is almost unmodified version of [url]https://www.debian.org/releases/wheezy/example-preseed.txt[/url]
      I only uncommented
      [CODE]d-i debian-installer/language string en
      d-i debian-installer/country string EN
      d-i debian-installer/locale string en_GB.UTF-8[/CODE]
      But when I boot up this from menu, installer is asking me again about keyboard, language etc…

      1 Reply Last reply Reply Quote 0
      • Jaymes DriverJ
        Jaymes Driver Developer
        last edited by

        [quote=“SynRybaka, post: 25105, member: 23400”]I tried in another way…
        I ‘unpacked’ debian iso into /tftboot/fog/deb and added this code to my menu:
        [CODE]LABEL Debian
        kernel fog/deb/install.amd/vmlinuz
        append initrd=/fog/deb/install.amd/initrd.gz preseed/url=http://192.168.1.10/preseed.seed
        \n[/CODE]
        On the 192.168.1.10 server - there is preseed.seed file available - which is almost unmodified version of [url]https://www.debian.org/releases/wheezy/example-preseed.txt[/url]
        I only uncommented
        [CODE]d-i debian-installer/language string en
        d-i debian-installer/country string EN
        d-i debian-installer/locale string en_GB.UTF-8[/CODE]
        But when I boot up this from menu, installer is asking me again about keyboard, language etc…[/quote]

        Well if there is a will I guess there is a way, keep us posted, I don’t think there is a write up on this on the forum or wiki. It will help others in the future.

        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          [quote=“SynRybaka, post: 25105, member: 23400”]I tried in another way…
          I ‘unpacked’ debian iso into /tftboot/fog/deb and added this code to my menu:
          [CODE]LABEL Debian
          kernel fog/deb/install.amd/vmlinuz
          append initrd=/fog/deb/install.amd/initrd.gz preseed/url=http://192.168.1.10/preseed.seed
          \n[/CODE]
          On the 192.168.1.10 server - there is preseed.seed file available - which is almost unmodified version of [url]https://www.debian.org/releases/wheezy/example-preseed.txt[/url]
          I only uncommented
          [CODE]d-i debian-installer/language string en
          d-i debian-installer/country string EN
          d-i debian-installer/locale string en_GB.UTF-8[/CODE]
          But when I boot up this from menu, installer is asking me again about keyboard, language etc…[/quote]

          I think you would need:
          [code]d-i localechooser/supported-locales multiselect en_US.UTF-8, en_GB.UTF-8[/code]

          I haven’t tested this myself, but I’d think, based on the naming, that the reason you’re still having to “choose” language and such is because you’ve not told the system what to use. If you set this field, I believe it will not require your entry for this part of the installer.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • S
            SynRybaka
            last edited by

            Unfortunately the [CODE]d-i localechooser/supported-locales multiselect en_US.UTF-8, en_GB.UTF-8[/CODE] didn’t work.
            I searched over the internet, and I found some commands, that are independent from preseed file. Now my bootmenu looks like this:
            [CODE]LABEL Debian
            kernel fog/deb/install.amd/vmlinuz
            append initrd=/fog/deb/install.amd/initrd.gz url=http://192.168.1.10/preseed.seed locale=en_US console-setup/ask_detect=false console-setup/layoutcode=en keyboard-configuration/xkb-keymap=us
            MENU LABEL Debian 7.4 64-bit[/CODE]
            And success! No question about language, keyboard etc.
            BUT i have another problem - when I boot up this - it tells, that “No common CD-ROM drive was detected”. I don’t want to use CD-ROM, all files for installation must be loaded from FOG server.

            1 Reply Last reply Reply Quote 0
            • S
              SynRybaka
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • S
                SynRybaka
                last edited by

                [B]Finally I found a solution.[/B]

                Maybe someone will have the same problem as me (for making an unattended debian or ubuntu installation in FOG :)) so I described steps below:

                1. After installing FOG on server, I’ve downloaded debian installation dvd ISO, and ‘unpacked’ it to /tftboot/fog/debian/. Also I’ve copied there configured preseed.cfg file for unattended installation.

                2. I’ve also downloaded Debian netboot.tar.gz. From this archive we need 2 files: linux (kernel) and initrd.gz. Both files are located in debian-installer/amd64. I’ve copied this 2 files into /tftboot/fog/netboot/

                3. Make an new entry in FOG menu (/tftboot/pxelinux.cfg/default). Mine looks like this:
                  [CODE]
                  LABEL Debian-netboot
                  KERNEL fog/netboot/linux
                  APPEND initrd=/fog/netboot/initrd.gz url=IP_OF_MY_FOG_SERVER/debian/preseed.cfg locale=pl_PL console-setup/ask-detect=false console-setup/layoutcode=pl keyboard-configuration/xkb-keyboard=pl
                  MENU LABEL Debian 7.5 64-bit
                  [/CODE]
                  Of course all commands after preseed.cfg are unnecessary.

                4. This is not everything - after this 3 steps you can boot up Debian installation properly, BUT it doesn’t find any disks/partitions. Unfortunatelly netboot version of initrd.gz doesn’t have any IDE/SATA/SAS drivers.
                  I found a great solution how to make an own netboot initrd.gz which include all necessary drivers: [url]http://unix.stackexchange.com/questions/68387/preseeding-debian-install-from-local-mirror-no-disks-detected[/url]
                  If someone will have problem with modifying initrd.gz - I have already modified version for Debian 7, so PM me, I`ll upload somewhere.

                5. Now when we have modified netboot version of initrd.gz, we can copy it into /tftboot/fog/netboot/ - everything should work fine.

                [B]Jaymes[/B] and [B]Tom[/B] - many thanks for helping 🙂

                1 Reply Last reply Reply Quote 0
                • Jaymes DriverJ
                  Jaymes Driver Developer
                  last edited by

                  No, THANK YOU for sticking with it and braving the unknown and DOCUMENTING so that others can learn from the experience, this is the essence of what this forum is for!

                  WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                  1 Reply Last reply Reply Quote 0
                  • A
                    alireza
                    last edited by

                    Is there any problem founded in two years ! ?
                    I have this problem now : https://forums.fogproject.org/topic/2596/unattended-debian-iso-install/9
                    Should i create a new topic for this specific subject ?

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman @alireza
                      last edited by

                      @alireza Are you trying to install Debian unattended?

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        alireza @Wayne Workman
                        last edited by

                        @Wayne-Workman said:

                        @alireza Are you trying to install Debian unattended?

                        yes, debian ,centos and other gnu/linux distro that do not have live mode.

                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @alireza
                          last edited by

                          @alireza
                          I suppose you’d mount the ISOs for those as read only using the DBAN example I mentioned in the other thread, and then locate the kernel and init, and just chain to it using the fog boot menu.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post

                          183

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project