Exercise 4.2 Unattended install

Viewing 7 reply threads
  • Author
    Posts
    • #3645
      Hrothgar
      Participant

      Hey folks.
      If someone can explain to me what I’m doing wrong, I’d appreciate it.

      I am doing the unattended install (my first time ever) and what i’ve done was this:

      Boot the VirtualBox pointed to the kali.iso and then select install, hit tab and modify the contents by adding
      preseed/url=https://www.kali.org/dojo/preseed.cfg locale=en_US keymap=us hostname=host domain=domain.com
      I hit enter and it boots up and goes along for awhile all “unattended” but when the installation comes to the root password…it halts. I checked the preseed.cfg on kali.org and it has a root password set to toor etc. But it just doesn’t go.

      If i enter the password, the installation can progress a little more then comes to disk partitioning. Again it halts and needs my input. I checked the file on the website again and it indeed does provide auto-responses for this as well…but again, they don’t just auto insert.

      What am I doing wrong? How do I correct this?

      Thank you

    • #3646
      re4son
      Participant

      Hi Hrothgar,

      I’m not quite sure yet why that isn’t working but using “auto mode” definitely does, i.e. using

      auto url=https://www.kali.org/dojo/preseed.cfg locale=en_US keymap=us hostname=host domain=domain.com

      will get you there.

      Please let us know how you go,
      Re4son

    • #3649
      Hrothgar
      Participant

      Hey. Many thanks. Yeah I was looking the file and could not figure out what was wrong. I’m very glad it wasn’t on my end! 😉
      Thanks for the help.

    • #3667
      re4son
      Participant

      Fixed in 2018.1

      In 2017.3, simply dropping the “preseed” from “preseed/url=” would have been enough to make it work.

    • #3690
      Hrothgar
      Participant

      Huh, really good to know, thank you.

    • #17430
      Ed Johnson
      Participant

      I just had the same problem. Had a devil of a time figuring out how to get to the GRUB options. After finding this thread it was a piece of cake. Thank you very much! Installing this way was very cool! 🙂

    • #17460
      Sachin
      Participant

      i entered the parameters and started installation

      but the installer halts at “setup users and passwords”
      i entered the details and installation proceeded without anymore halts

      but the installation should completely be unattended
      so anybody can tell me what i could be doing wrong?

    • #17472
      deekl
      Participant

      I copied the preseed.cfg file to an onlinelocation from mine, changed a few things in the file and the unattended install is working, except, no matter what I do, it won’t install a graphical desktop, tried tasksel tasksel/first multiselect standard, desktop, gnome, xfce-desktop. Any ideas, what that could be?
      thx

Viewing 7 reply threads
  • You must be logged in to reply to this topic.