• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. SynRybaka
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    SynRybaka

    @SynRybaka

    3
    Reputation
    346
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    SynRybaka Unfollow Follow

    Latest posts made by SynRybaka

    • RE: Unattended Debian iso install

      [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 🙂

      posted in FOG Problems
      S
      SynRybaka
    • RE: Unattended Debian iso install

      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.

      posted in FOG Problems
      S
      SynRybaka
    • RE: Unattended Debian iso install

      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…

      posted in FOG Problems
      S
      SynRybaka
    • RE: Unattended Debian iso install

      Thanks for answer.
      I just wanted to have PXE Boot server - for installing via LAN OS like Debian or Ubuntu (or having some diagnostic tools) on several PC’s, from any place in building.

      Making own ISO (for unattended installation) is somehow OK, but if newer version of Debian / Ubuntu or CentOS will be available - I must prepare new ISO, instead of swapping ISO file on FOG server (of course if it will be possible to add this script for unattended system installation to the FOG menu).

      I’m totally newbie in topic of linux - I don’t even know how to write some scripts (in bash for e.g.) 🙂

      Reffering to your recomendation - you mean to install Debian for e.g. on VirtualBox, configure the system, and make a disk image? If yes - I thinked about this, but if I have several PC’s i must manually assign new username/password, ip configuration etc. on each computer.

      posted in FOG Problems
      S
      SynRybaka
    • Unattended Debian iso install

      Hello,
      I want to make PXE Boot server, which will have several linux installation images (Ubuntu, Debian, CentOS). I want to make an unattended debian installation via FOG. I know, that this is possible by making own iso file with modified preseed, but is it possible to have “clean” (unmodified) iso and add some code to FOG’s pxelinux.cfg/default to run ISO + load some CFG file for unattended system installation?

      2nd topic - now I’m testing my FOG server on virtualbox. I added a debian ISO to boot menu (raw image) - which is loading slowly. Boot menu entry for debian looks like this:
      [CODE]LABEL Debian
      kernel fog/debian/memdisk
      append iso initrd=fog/debian/debian.iso raw
      MENU LABEL Debian 7.4 64-bit
      \n[/CODE]

      Is is possible to tune up booting this debian installation? Maybe unpack this files from iso etc?

      posted in FOG Problems
      S
      SynRybaka