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

Ubuntu 11.04 distro that "just works" - Here's how

Scheduled Pinned Locked Moved
Tutorials
8
12
10.5k
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.
  • M
    MichaelDigital
    last edited by Jun 6, 2013, 5:10 PM

    Greetings all,

    I have been searching for months and trying different options with different Linux distros that are currently supported with FOG working on them. Well, perhaps it’s just me, but I have ALWAYS ran into one problem or another with getting FOG to work correctly. A few months ago, I finally found a distro that FOG works perfectly fine “out of the box” - Ubuntu 11.04. At the time I could still download repositories from archive.ubuntu.com no problem. Installed fog, didn’t have to modify not one file, it JUST WORKED. I go to create a new FOG machine for my company a few days ago, and i’m installing 11.04 and then i realize, Ubuntu can no longer download updates from the repo’s! The repo’s have been deleted! AAHH!!! Well i couldn’t figure out how to associate 11.04 with the 13.04 repo’s and it began to seem hopeless. Fortunately, one of my colleague’s found an old post about where Ubuntu moves their repo’s that are no longer supported or in archive. So again, I can use my tried and true distro of choice with fog! I would like to ease anyone new’s transition into the wonders of FOG by providing a guide and link to my Google Drive (where you can find the distro to download). PLEASE if someone else knows of a more current distro of Linux that “just works” or even with a little modification could work well, please let me know!!!

    Begin by downloading Ubuntu 11.04 and installing it:
    [url]https://docs.google.com/file/d/0B-VEy_R4sHtUaGlHSDY4VlhzQWs/edit?usp=sharing[/url]

    When don’t create an account with the name FOG. Use administrator.

    Now,
    After you installed 11.04, open a terminal
    type: sudo passwd root
    [I]it will ask for your admin password[/I]
    [I]enter new root password which i leave same as admin password[/I]
    [I]reenter it again[/I]

    Next, we need to tell Ubuntu where it can find the old repositories from.
    [SIZE=14px][FONT=Trebuchet MS][COLOR=#000000] edit your [/COLOR][/FONT][/SIZE][COLOR=#3366cc][FONT=Andale Mono][SIZE=14px]/etc/apt/sources.list[/SIZE][/FONT][/COLOR][SIZE=14px][FONT=Trebuchet MS][COLOR=#000000] and replace all instances of [/COLOR][/FONT][/SIZE][COLOR=#3366cc][FONT=Andale Mono][SIZE=14px]archive.ubuntu.com[/SIZE][/FONT][/COLOR][SIZE=14px][FONT=Trebuchet MS][COLOR=#000000] and [/COLOR][/FONT][/SIZE][COLOR=#3366cc][FONT=Andale Mono][SIZE=14px]security.ubuntu.com[/SIZE][/FONT][/COLOR][SIZE=14px][FONT=Trebuchet MS][COLOR=#000000] with [/COLOR][/FONT][/SIZE][COLOR=#3366cc][FONT=Andale Mono][SIZE=14px]old-releases.ubuntu.com/ubuntu[/SIZE][/FONT][/COLOR]
    (I prefer NANO as it is easier for me to use than VI to edit text with)
    ie.
    su
    nano /etc/apt/sources.list
    After that, apt-get update and watch the updates start to roll. You will notice that just a couple will fail, dont worry, unless it’s more than 2 - 4 (can’t remember).

    After apt repo has been updated, open Update Manager. Install all available updates. DO NOT UPGRADE TO 11.10!

    Now, follow the instructions here [url]http://www.fogproject.org/wiki/index.php/FOG_on_an_Isolated_Network[/url] if you are installing on an isolated network. If you are integrating it into an existing network, there are other guides you can use. Hope this helps. And if u got a newer distro that works well, let me know!!

    1 Reply Last reply Reply Quote 0
    • I
      ITSolutions Testers
      last edited by Jun 7, 2013, 2:15 PM

      I have set up 5 FOG .32 systems, all running Ubuntu 12.04. They all worked without an issue and I would recommend that you use 12.04 as it is a current LTS release of Ubuntu and will be supported for 5 yrs, so until 2017. This should avoid having to link to old repos. I personally have used the desktop version most of the time, simply due to the moderate requirement differences and sometimes easier when I am assisting a newbie configure the machine. But even with the server edition I had no troubles.

      1 Reply Last reply Reply Quote 0
      • M
        MichaelDigital
        last edited by Jun 10, 2013, 3:06 PM

        [quote=“ITSolutions, post: 12536, member: 4222”]I have set up 5 FOG .32 systems, all running Ubuntu 12.04. They all worked without an issue and I would recommend that you use 12.04 as it is a current LTS release of Ubuntu and will be supported for 5 yrs, so until 2017. This should avoid having to link to old repos. I personally have used the desktop version most of the time, simply due to the moderate requirement differences and sometimes easier when I am assisting a newbie configure the machine. But even with the server edition I had no troubles.[/quote]

        Friend,

        I tried your suggestion once more with using Ubuntu 12.04, but i am recieving an error PXE-E32 TFTP open timeout on the client screen. Can you tell me what might be causing this and how to fix this?

        1 Reply Last reply Reply Quote 0
        • J
          Jaymes Driver Developer
          last edited by Jun 10, 2013, 3:28 PM

          the problem is with the way that ubuntu loads the tftp client, it starts the service too early and an ip address is not assigned.

          This is a commonly known issue with that distribution, and a search would reveal a number of posts that have already been created for that specific problem, and the resolve we have is to delay the start of the service.

          you can either run a command to restart the service
          [B]sudo service tftpd-hpa restart[/B]
          or you can put a delay to start the service
          edit your /etc/rc.local and include
          /bin/sleep 30 && /etc/init.d/tftpd-hpa restart

          I found a resolve that I keep posting but no one ever tells me if it works or not…

          I am experiencing this problem in Ubuntu 12.04 Desktop (package: tftpd-5.2-1ubuntu1). The tftpd daemon does not start when the computer starts up, even though the tftpd-hpa job starts. As far as I can tell, the problem is that the tftpd service is starting before the network is properly configured. The problem seemed to go away when I changed the line
          start on runlevel [2345]
          in /etc/init/tftpd-hpa.conf to

          start on (local-filesystems and net-device-up IFACE!=lo)

          here is the post [url]http://fogproject.org/forum/threads/have-to-manually-start-dhcp-and-tftp-service-after-each-reboot.4232/[/url]
          and another
          [url]http://fogproject.org/forum/threads/pxe-e32-tftf-open-timeout.4146/#post-11644[/url]
          where I keep doing the good Samaritan thing and doing the searching for you, I don’t mind but this is getting a bit ridiculous.

          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
          • M
            MichaelDigital
            last edited by Jun 10, 2013, 7:03 PM

            [quote=“Jaymes Driver, post: 12571, member: 3582”]the problem is with the way that ubuntu loads the tftp client, it starts the service too early and an ip address is not assigned.

            This is a commonly known issue with that distribution, and a search would reveal a number of posts that have already been created for that specific problem, and the resolve we have is to delay the start of the service.

            you can either run a command to restart the service
            [B]sudo service tftpd-hpa restart[/B]
            or you can put a delay to start the service
            edit your /etc/rc.local and include
            /bin/sleep30 && /etc/init.d/tftpd-hpa restart

            I found a resolve that I keep posting but no one ever tells me if it works or not…

            I am experiencing this problem in Ubuntu 12.04 Desktop (package: tftpd-5.2-1ubuntu1). The tftpd daemon does not start when the computer starts up, even though the tftpd-hpa job starts. As far as I can tell, the problem is that the tftpd service is starting before the network is properly configured. The problem seemed to go away when I changed the line
            start on runlevel [2345]
            in /etc/init/tftpd-hpa.conf to

            start on (local-filesystems and net-device-up IFACE!=lo)

            here is the post [url]http://fogproject.org/forum/threads/have-to-manually-start-dhcp-and-tftp-service-after-each-reboot.4232/[/url]
            and another
            [url]http://fogproject.org/forum/threads/pxe-e32-tftf-open-timeout.4146/#post-11644[/url]
            where I keep doing the good Samaritan thing and doing the searching for you, I don’t mind but this is getting a bit ridiculous.[/quote]

            It works!!! THANKS!!!

            1 Reply Last reply Reply Quote 0
            • J
              Jaymes Driver Developer
              last edited by Jun 10, 2013, 7:06 PM

              What recommendation did you try?

              Did you add the delay to the init.d file or did you change the way the job starts? I would like to find out if the “[I][SIZE=12px]start on (local-filesystems and net-device-up IFACE!=lo)” [/SIZE][/I][SIZE=12px]works or not :)[/SIZE]

              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
              • M
                MichaelDigital
                last edited by Jun 10, 2013, 9:56 PM

                [quote=“Jaymes Driver, post: 12587, member: 3582”]What recommendation did you try?

                Did you add the delay to the init.d file or did you change the way the job starts? I would like to find out if the “[I][SIZE=12px]start on (local-filesystems and net-device-up IFACE!=lo)” [/SIZE][/I][SIZE=12px]works or not :)[/SIZE][/quote]

                I changed start on (local-filesystems and net-device-up IFACE!=lo)
                I suppose if i had done more digging i would have known to try it. Thanks again Jaymes!

                1 Reply Last reply Reply Quote 0
                • C
                  chad-bisd Moderator
                  last edited by Jun 11, 2013, 1:09 AM

                  There is a lot of interesting discussion in the Ubuntu bug reporting utility about TFTP not starting. The solution to change the start up to “start on (local-filesystems and net-device-up IFACE!=lo)” [I]I think[/I] works if you have only one interface other than “lo”. I may have misread the comments on the bug report. So as long as you don’t have multiple nics, that should be the solution.


                  If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                  1 Reply Last reply Reply Quote 0
                  • M
                    Matt Harding
                    last edited by Jun 11, 2013, 8:24 AM

                    What if you do? Could you just modify it to read “[I][SIZE=12px]start on (local-filesystems and net-device-up IFACE==eth0)” or am I way out?[/SIZE][/I]

                    I only ask as I’ve been using 10.04 server for ages and would like to use 12.04 but when I’ve tried in the past I had this exact tftp issue. That was some time ago now though[I][SIZE=12px].[/SIZE][/I]

                    1 Reply Last reply Reply Quote 0
                    • W
                      wolf_from_the_north
                      last edited by Jun 20, 2013, 6:07 AM

                      i tried to install a demo install yesterday on vmware workstation 9.
                      it seems that when you install the 12.04 ubuntu with the script indeed a few errors are made.
                      i needed to apply both solution above but this did not completly solved the issue.
                      i also had to set the static ip to my eth0 manualy in /etc/network/interfaces

                      afther that dhcp starts automaticly and clients can pxeboot.
                      so i can confirm that 12.04 is possible with fog.

                      kind regards

                      1 Reply Last reply Reply Quote 0
                      • S
                        Slipp3d
                        last edited by Jul 12, 2013, 4:29 PM

                        [quote=“Jaymes Driver, post: 12571, member: 3582”]the problem is with the way that ubuntu loads the tftp client, it starts the service too early and an ip address is not assigned.

                        [B]sudo service tftpd-hpa restart[/B]
                        or you can put a delay to start the service
                        edit your /etc/rc.local and include
                        /bin/sleep30 && /etc/init.d/tftpd-hpa restart

                        I found a resolve that I keep posting but no one ever tells me if it works or not…
                        [/quote]

                        Jaymes … I can say that it works …

                        1 Reply Last reply Reply Quote 0
                        • B
                          bloodshoteye
                          last edited by Dec 3, 2013, 10:19 AM

                          [quote=“Jaymes Driver, post: 12587, member: 3582”]What recommendation did you try?

                          Did you add the delay to the init.d file or did you change the way the job starts? I would like to find out if the “[I][SIZE=12px]start on (local-filesystems and net-device-up IFACE!=lo)” [/SIZE][/I][SIZE=12px]works or not :)[/SIZE][/quote]

                          Worked for me. I’m soo glad I found this thread. Using Xubuntu 12.04.3 LTS + FOG 0.32

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

                          181

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project